Jenkins 参数集成
1.新建项目
2.添加选项
#!/bin/sh echo "Current deploy environment is $deploy_env" echo "The build is $version" echo "The paasword is $pass" if $bool then echo "Request is approved" else echo "Request is rejected" fi
3.Build with Parameters
4.查看构建日志
原文地址:https://www.cnblogs.com/bk770466199/p/12324233.html
时间: 2024-10-06 18:17:10