문제

I have a parametrized Jenkins task. After the task execution I can see the parameters used for the execution.

I want to reuse parameters of any previous build of the task for following launches.

Brief googling did not help me.

Could you please advise me some solutions for my task?

도움이 되었습니까?

해결책

Use the Rebuild Plugin -
It allows you to rerun any previous run of a job,
with the same parameters that were used in that run.
You can even change some of the parameters, if needed.

다른 팁

You could do the following:

  1. Save the parameters to a file in properties file format (e.g. using some of the script execution builders)
  2. Save this file to a known location within the job
  3. Use the Parameterized Trigger Plugin to reuse the parameters
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top