Chelsea Greger
1 min readJan 18, 2018

--

Hi Tom!

Thank you for the great tutorial. It helped me a lot, even in 2018!

You mentioned your only issue is that you cannot rebuild a project with the “Build Now” button.

There is actually an option to fix this:

In the job configuration, in the General section, there is an option called “This project is parameterized”. It gives you the option to add parameters to a build. Add a String Parameter and name it gitLabSourceBranch (or whatever variable you need in your build) and save the job config. Then you will see that your “Build Now” button has changed to “Build with Parameters”. This will let you set the values and run the build!

I am not sure how long Jenkins has had this functionality, so it very well may not have been an option when this article was written. I figured I’d post this information here anyway, for anyone who may find it useful. :)

--

--