Может быть, выстрел в темноте, но сработает ли это для вас?
pipeline {
agent any
parameters {
//your file param handling
}
stages {
stage("Interactive_Input") {
steps {
script {
def userInput = input(
id: 'userInput', message: 'Testing',
parameters: [
[$class: 'TextParameterDefinition', defaultValue: $fileContents, description: 'modify please', name: 'contents']
])
echo ("The modified contents: "+userInput['contents'])
}
}
}
}
}
Есть старая открытая ошибка , которая могла бы быть здесь проблемой.