Jenkins Blueocean - same Jenkinsfile across multip

2019-08-01 01:29发布

问题:

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.