Jenkins: saving parameterized assembly parameters for reuse

I have a parameterized Jenkins task. After completing the task, I can see the parameters used to complete it.

I want to reuse the parameters of any previous task build for future runs.

A brief search engine did not help me.

Could you advise me some solutions for my task?

+4
source share
2 answers

Use Rebuild Plugin -
This allows you to restart any previous job run,
with the same parameters that were used in this run.
You can even change some parameters if necessary.

+3
source

You can do the following:

  • Save the parameters in a file as a properties file (for example, using some of the script execution constructors)
  • Save this file in a known place in the task
  • Use the Parameterized Trigger Plugin to Reuse Parameters
+1
source

Source: https://habr.com/ru/post/1485548/


All Articles