官方说明:https://wiki.jenkins.io/display/JENKINS/Parameterized+Build
1、添加参数传递
参数类型解析:
2、在 Execute shell 中,用 $变量名称引用,如下图: