Jenkinsfile set parameters
Scripted Pipeline
node(){
properties([
parameters([
string(defaultValue: 'trigger build', name: 'trigger build'),
])
])
}
Declarative Pipeline
pipeline {
parameters{
string(defaultValue: 'trigger build1', name: 'trigger build1')
}
}