gitness
gitness copied to clipboard
Override drone build restart parameters
drone build restart
never override the custom parameters set by cli if they are already present in the build:
I.E.
$ drone build restart org/myrepo -p DOWNSTREAM_IMAGE_VER=test1 1
Number: 2
Status: pending
Event: push
[...]
In this case it works: DOWNSTREAM_IMAGE_VER=test1
$ drone build restart org/myrepo -p DOWNSTREAM_IMAGE_VER=test2 2
Number: 3
Status: pending
Event: push
[...]
In this case the variable test2 is ignored: DOWNSTREAM_IMAGE_VER=test1
More detail about the issue: https://discourse.drone.io/t/issue-with-params-using-downstream-plugin/10418
Hi @asosso
Can you please add a unit test for this?
Cheers, Eoin
What is the state of this PR? Can we expect a merge? We are also affected by this and could deliver an example where the downstream trigger does not behaves as expected.
{"version":"2.11.1"}
Any updates on this?
This PR has been automatically closed due to inactivity.