简体   繁体   中英

Gerrit trigger build on different jenkins

We have gerrit setup for our project. we trigger one jenkins job which compiles the code and runs unit test. It gives +1 verified if successful and -1 if not. What I was trying to do is on the same change another job is triggered which is present in different jenkins this will run the integration test. This should also give a +1 on successful and -1 if not.

The submission should only be merged if it receives successful from both the build on both the jenkins. Is this possible if yes how ? Any help is much appreciated Thanks

Yes, you can have multiple jobs trigged by the same Gerrit change. The result will be presented like the following example:

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM