[英]Gerrit & Jenkins pipeline newest changes
I have a Jenkins and a Gerrit running to validate my code. 我有一个Jenkins和一个Gerrit在运行以验证我的代码。 Jenkins has the gerrit trigger plugin. Jenkins具有gerrit触发器插件。 Gerrit should trigger a declarative pipeline which gets the newest changes and build it. Gerrit应该触发一个声明性管道,该管道将获取最新的更改并进行构建。
this works: git fetch http://localhost:8081/PipelinePart1 refs/changes/87/387/1 && git checkout FETCH_HEAD 这有效:git fetch http:// localhost:8081 / PipelinePart1 refs / changes / 87/387/1 && git checkout FETCH_HEAD
but is there a way to get always the newest changes? 但是有没有办法总是获得最新的变化?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.