Jenkins global variables

亡梦爱人 提交于 2019-12-03 09:40:06

from https://wiki.jenkins-ci.org/display/JENKINS/Surround+SCM+Plugin

Troubleshooting

Please contact Seapine support with questions about the integration or to report bugs or feature requests.

brianolive
  1. Set your Jenkins project to be parameterized. Create a string parameter GIT_BRANCH that will be your branch variable (for example).

  1. Under Source Control Management, use your branch variable in the form $GIT_BRANCH

That’s it. When you run your project, you will be prompted to enter a value for your GIT_BRANCH parameter.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!