4.3.1、按照4.2配置gitlab自动提交流水线
4.3.2、优化
{按照4.2的报文增加描述信息便可}
Post content parameters | |
---|---|
branch
$.ref
userName
$.user_username
ssh_url
$.project.ssh_url
Contributing variables:
branch = refs/heads/master
runOpts = GitlanPush
runOpts_0 = GitlanPush
ssh_url = git@39.105.58.61:root/jenkinslib.git
userName = root
使用test01分支进行提交测试
Contributing variables:
branch = refs/heads/test01
runOpts = GitlanPush
runOpts_0 = GitlanPush
ssh_url = git@39.105.58.61:root/demo-maven-service.git
userName = root
========================================================================