Jenkins+Ansible+Gitlab自动化部署三剑客(五)--Jenkins 参数集成
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.查看构建日志

人生短短数十载,经不起几次重头再来
浙公网安备 33010602011771号