devtron
devtron copied to clipboard
Plugin variables are not used if pipeline not updated through UI
Checklist:
- [ ] I've included steps to reproduce the bug.
Describe the bug
If a new variable is added to a plugin and that plugin is not updated in ci pipelines where it is not already being used, the variable does not gets used when running the execution in ci runner.
To Reproduce
[ordered list the process to finding and recreating the issue, example below]
- Use a plugin in ci pipeline.
- Add a new variable to a plugin and update the script with inclusion of use of this variable.
- Without updating the pipeline configurations, trigger it.
Expected behaviour
The additional added variable should be used in the execution.
Current behaviour
The variable is not being used by ci runner.
Note
The variable is passed to ci-runner along with other plugin variables but it gets ignored in the execution since its not included in the variables list of pipeline step.
AB#341