I have a multi-branch job configured correctly. It takes no arguments by default
I altered the Jenkinsfile to take 1 parameter. But obviously by default this will never be set because this job is called on CI.
I created a manual hook job which just takes a manual input (2 params, text string and choice option).
This manual job "should" then call the multi-branch job I require, with the other param being passed into the job - and being set from the parameters DSL option
When I do this, the first parameter is working, because it's calling the correct sub-job i.e. jenkins_url/multi-branch-job/sub-job. But the second param is being lost - and when I dump it to the console it's an empty string.
When I do this, the first parameter is working, because it's calling the correct sub-job i.e.
jenkins_url/multi-branch-job/sub-job
. But the second param is being lost - and when I dump it to the console it's an empty string.