Reputation: 16803
I have the following to trigger a downstream job in Jenkins
build job: "some-downstream-job",
parameters: [
string(name: "BUILD_NODE", value: buildNode)
],
wait: true
and since some-downstream-job
's BUILD_NODE
parameter is set to editableChoice
, I get the following warning
The parameter 'BUILD_NODE' did not have the type expected by some-downstream-job. Converting to Editable choice.
However, there is no editableChoice
option when using the build step, meaning this fails
build job: "some-downstream-job",
parameters: [
editableChoice(name: "BUILD_NODE", value: buildNode)
],
wait: true
So what's the correct parameter type?
I know I can leave it the way it is, but it just bothers me.
Upvotes: 0
Views: 34