devtron icon indicating copy to clipboard operation
devtron copied to clipboard

Plugin variables are not used if pipeline not updated through UI

Open kartik-579 opened this issue 3 years ago • 0 comments

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]

  1. Use a plugin in ci pipeline.
  2. Add a new variable to a plugin and update the script with inclusion of use of this variable.
  3. 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

kartik-579 avatar Jun 22 '22 19:06 kartik-579