You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 14, 2023. It is now read-only.
|`$GWBT_COMMIT_BEFORE`|`before` commit id as sha1 hash from Webhook Payload, specifying the commit revision the repository was in before the event happened. |`3be1cb4b6b86533b5dab2b0083fa9fb8b401b430` or <br> `0000000000000000000` if push event was a tag |
85
+
|`$GWBT_COMMIT_AFTER`|`after` commit id as sha1 hash from Webhook Payload, specifying the commit revision the repository is now in. Meaning the current revision. |`2c9522c9618864808eaaede8353dbeafb996c605`|
86
+
|`$GWBT_REF`|`ref` from Webhook Payload representing the branch or tag that was pushed |`refs/heads/{branchname}` or <br> `refs/tags/{tagname}`|
87
+
|`$GWBT_TAG`| short tag name derived from `ref` and stripped of clutter. | When `ref` is `refs/tags/1.0.0` then it is `1.0.0`. <br>When `ref` is not a tag, it is empty! |
88
+
|`$GWBT_BRANCH`| short branch name derived from `ref` and stripped of clutter. | When `ref` is `refs/heads/master` then it is `master`. <br>When `ref` is not a branch, it is empty! |
89
+
|`$GWBT_REPO_CLONE_URL`| GitHub repository clone url. |`https://github.com/{repoOwner}/{repoName}.git` <br> e.g. `https://github.com/codeclou/jenkins-github-webhook-build-trigger-plugin.git`|
90
+
|`$GWBT_REPO_HTML_URL`| GitHub repository browser url. |`https://github.com/{repoOwner}/{repoName}` <br> e.g. `https://github.com/codeclou/jenkins-github-webhook-build-trigger-plugin`|
91
+
|`$GWBT_REPO_FULL_NAME`| GitHub repository full name |`{repoOwner}/{repoName}` <br> e.g. `codeclou/jenkins-github-webhook-build-trigger-plugin`|
92
+
|`$GWBT_REPO_NAME`| GitHub repository full name |`{repoName}` <br> e.g. `jenkins-github-webhook-build-trigger-plugin`|
0 commit comments