GitHub commit status updater
Project description
GitHub commit status notifier CLI
Options
These options can be automatically set from env variables or dotenv (.env) file in working dir.
-u: GITHUB_USERNAME
-p: GITHUB_PASSWORD
–base-url: GITHUB_URL
–repo: GITHUB_REPO
–sha: GITHUB_SHA
–target-url: TARGET_URL
These options can be set automatically in Jenkins context (JENKINS_URL is set).
–target-url: BUILD_URL
If not set by either CLI args or env variables, these options can be automatically detected from git repository in current working dir.
–repo: inferred from .git/config
–sha: inferred by executing git rev-parse HEAD internally
Sample commands
get all statuses
ghstatus get
set status
ghstatus set success --context=unit-test --description='All tests pass!' \ --target-url=https://example.com/my-test/1
set status dynamically based on command exit code
ghstatus exec --context=unit-test -- ./gradlew test
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for ghstatus-0.3.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a73c4bcc3c892230dacbc5f7ed8b7be8204c172bd59af1840fefbabf8c51cdd6 |
|
MD5 | e9aff5e4cb2c780e57a4ad78889e5a21 |
|
BLAKE2b-256 | a268320da5231ec1885af7dc8afae0a29d3859641314e3ead39006975a250c9d |