Re: How to change defaultValue of input in case of declarative pipeline script?

2021-03-07 Thread Kiyoshi Ohgishi
t;>>>> build(job: 'job', parameters: [string(name: 'value2', value: >>>>> setting)]) >>>>> } >>>>> ---- >>>>> The prompted value in input step is "predicted value" as I exected. >>>>&

Re: How to change defaultValue of input in case of declarative pipeline script?

2020-12-06 Thread Kiyoshi Ohgishi
>>> def value1 = 'initial value' >>>> pipeline { >>>> agent none >>>> stages { >>>> stage('prediction') { >>>> agent { >>>> label 'mas

Re: How to change defaultValue of input in case of declarative pipeline script?

2020-11-29 Thread Yannick Lacaute
7;, >>> returnStdout: true).trim() >>> } >>> } >>> } >>> stage('execution') { >>> input { >>> message 'setting' >>> pa

Re: How to change defaultValue of input in case of declarative pipeline script?

2020-11-29 Thread Kiyoshi Ohgishi
string(name: 'value2', defaultValue: value1) >> } >> } >> steps { >> build(job: 'job', parameters: [string(name: 'value2', >> value: value2)]) >> } >>

Re: How to change defaultValue of input in case of declarative pipeline script?

2020-11-26 Thread Victor Martinez
gt; value: value2)]) > } > } > } > } > > The prompted value is "initial value" as I don't expect. > > What I want to make with a script is the following three steps. > 1. get "predicted value" using shell script in the git

How to change defaultValue of input in case of declarative pipeline script?

2020-11-25 Thread Kiyoshi Ohgishi
} steps { build(job: 'job', parameters: [string(name: 'value2', value: value2)]) } } } } The prompted value is "initial value" as I don't expect. What I want to make with a script is the following thr