Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

and CHANGE_ID seems actually pull request id


Example

...

output

...

- small test script

...

Code Block
>>>>>>>>>>>>>>>>>>>>>BRANCH_NAME: PR-5
[Pipeline] echo
>>>>>>>>>>>>>>>>>>>>>CHANGE_ID: 5
[Pipeline] echo
>>>>>>>>>>>>>>>>>>>>>CHANGE_TARGET: master
[Pipeline] echo
>>>>>>>>>>>>>>>>>>>>>CHANGE_BRANCH: PR-5
[Pipeline] echo
>>>>>>>>>>>>>>>>>>>>>CHANGE_FORK: null
[Pipeline] echo
>>>>>>>>>>>>>>>>>>>>>CHANGE_URL: http://localhost:7990/bitbucket/projects/PROJECT_1/repos/rep_1/pull-requests/5/overview
[Pipeline] echo
>>>>>>>>>>>>>>>>>>>>>CHANGE_TITLE: feature-2 change #1
[Pipeline] echo
>>>>>>>>>>>>>>>>>>>>>CHANGE_AUTHOR: Administrator
[Pipeline] echo
>>>>>>>>>>>>>>>>>>>>>CHANGE_AUTHOR_DISPLAY_NAME: null
[Pipeline] echo
>>>>>>>>>>>>>>>>>>>>>CHANGE_AUTHOR_EMAIL: null

...