t;>>>> build(job: 'job', parameters: [string(name: 'value2', value:
>>>>> setting)])
>>>>> }
>>>>> ----
>>>>> The prompted value in input step is "predicted value" as I exected.
>>>>&
>>> def value1 = 'initial value'
>>>> pipeline {
>>>> agent none
>>>> stages {
>>>> stage('prediction') {
>>>> agent {
>>>> label 'mas
7;,
>>> returnStdout: true).trim()
>>> }
>>> }
>>> }
>>> stage('execution') {
>>> input {
>>> message 'setting'
>>> pa
string(name: 'value2', defaultValue: value1)
>> }
>> }
>> steps {
>> build(job: 'job', parameters: [string(name: 'value2',
>> value: value2)])
>> }
>>
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
}
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