0

I have Jenkins Jobs with a lot of parameters that varies depending on environment**(DEV, PRE-PROD, PROD)**. Can I pass parameters by storing them in GitHub?

For example, if I select DEV and start build, pipeline should go and fetch parameters from GitHub and do its Job. Is this possible? If yes how? Please help.

ram n
  • 49
  • 6
  • 1
    Unclear what exactly you're trying to do. Why not define one parameter named "Environment" and code the relevant values in Jenkinsfile? – MaratC Jun 07 '20 at 08:42
  • You can pass parameter and based on parameter, checkout required file(s) from Github, which has other parameters. – saurabh14292 Jun 08 '20 at 05:29

0 Answers0