We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 53fe8ea commit eadff74Copy full SHA for eadff74
codecov/__init__.py
@@ -338,6 +338,19 @@ def main(*argv, **kwargs):
338
commit=os.getenv('REVISION')))
339
write(' Semaphore Detected')
340
341
+ # ----------
342
+ # Greenhouse
343
344
+ elif os.getenv('GREENHOUSE') == 'true':
345
+ # http://docs.greenhouseci.com/docs/environment-variables-files
346
+ query.update(dict(branch=os.getenv('GREENHOUSE_BRANCH'),
347
+ service='greenhouse',
348
+ build=os.getenv('GREENHOUSE_BUILD_NUMBER'),
349
+ build_url=os.getenv('GREENHOUSE_BUILD_URL'),
350
+ pr=os.getenv('GREENHOUSE_PULL_REQUEST'),
351
+ commit=os.getenv('GREENHOUSE_COMMIT')))
352
+ write(' Greenhouse Detected')
353
+
354
# --------
355
# drone.io
356
0 commit comments