[英]How best to commit build changes back to GIT branch in Jenkins during build
Here's my current process: 这是我当前的流程:
git add -A && git commit -m "blahblahblah"
运行exec shell构建步骤git add -A && git commit -m "blahblahblah"
Step #3 doesn't seem right. 步骤3似乎不正确。 My hunch is the git plugin should have a way to run add/del/commit commands, but can't find a way in the build steps or the post build steps. 我的直觉是git插件应该可以运行add / del / commit命令,但是在构建步骤或后期构建步骤中找不到方法。
Am I doing this the only way possible? 我是否只能这样做?
从注释链和我自己的搜索来看,在显式exec shell构建步骤中执行此操作似乎是唯一有效的方法。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.