Jenkins Blueocean - same Jenkinsfile across multiple environments while passing different values of environment variables

廉价感情. 提交于 2019-12-11 07:39:24

问题


I do not want to put my environment variables in the source code, i know we can add variables in Jenkinsfile.

How can i pass environment variable via the Jenkins job/UI while using Jenkins Blueocean?

This needs to be done in a way so that I can use same Jenkinsfile across multiple environments while passing different values of environment variables.

来源:https://stackoverflow.com/questions/46291750/jenkins-blueocean-same-jenkinsfile-across-multiple-environments-while-passing

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