私はジェンキンスさんパイプラインthrouth私の仕事を構築し、このように私のコードを作成するスニペットジェネレータをuseing:前述したようにjenkinsのパイプラインのステップからユーザーの入力を取得する構文は何ですか?
node {
stage 'input'
input id: 'Tt', message: 'your password:', ok: 'ok', parameters: [string(defaultValue: 'mb', description: 'vbn', name: 'PARAM'), string(defaultValue: 'hj', description: 'kkkk', name: 'PARAM2')]
// here I need get the text user input , like `PARAM` or `PARAM2`
}
を、GETパラメータの構文は何ですか?
お返事ありがとうございます。私はあなたのコードをコピーすると、それはエラーで解析されます。しかし、それは私にアイデアを与え、私は以下のコードを使用し、それは動作します。ノード ' ステージ'入力 def userPasswordInput =入力( id: 'パスワード'、メッセージ: 'パスワードを入力:'、OK: 'ok'、パラメータ:[文字列(defaultValue: 'マスター'、説明: ') (パスワードは: "+ userPasswordInput) } – jims