Gerrit+Jenkins: communicate results of non-blocking jobs? -


i have 2 jobs , b. job triggering job b, not wait result. how can make job b communicate gerrit that has been done?

do have use api?

either use api: ssh -p 29418 review.example.com gerrit review --message "job b ran extremely well" <sha1>

note 1: quotes may needed around actual gerrit call

note 2: depending on branch strategy project might want include <change_id> after <sha1>, since 1 sha1 may present in different branches

or make job wait job b's completion (one way turn on block until other projects complete ).

the latter easier use , gives more possibilities reduced effort cost. former, however, has advantage of better customization.


Comments

Popular posts from this blog

java - Date formats difference between yyyy-MM-dd'T'HH:mm:ss and yyyy-MM-dd'T'HH:mm:ssXXX -

c# - Get rid of xmlns attribute when adding node to existing xml -