通过UI创建
pipeline 脚本创建
pipeline{agent anyparameters {string(name: \'userName\', defaultValue: \'Anthony\', description: \'please give a name\')choice(name: \'version\', choices: [\'1.1\', \'1.2\', \'1.3\'], description: \'select the version to test\')booleanParam(name: \'is_boy\', defaultValue: true, description: \'you is boy or not\')}stages {stage(\'test\') {steps{script {sh \"echo 111111\"sh \"echo $version -mmmmmmmmmmmmmmmmmmm\"}}}}}