Gil Shinar has submitted this change and it was merged.
Change subject: Preventing unneeded check-patch jobs execution
......................................................................
Preventing unneeded check-patch jobs execution
When many patches are being pushed together, the
Jenkins queue becomes long and developers cannot
always waitfor the continous-integration +1 flag.
In that case, they are merging the patch before the
check-patch job runs.
In order to be efficient, I have added a short
bash script that checks if this execution is indeed
check-patch and not check-merged and if it is
it checks whether this patch had already been merged.
If it is, job with exit(0)
Change-Id: If9509e7280066327f0cca19a51555c4bee6a5dfa
Signed-off-by: Gil Shinar <gshinar(a)redhat.com>
---
M jobs/confs/yaml/templates/standard-stage.yaml
1 file changed, 8 insertions(+), 0 deletions(-)
Approvals:
Gil Shinar: Verified; Looks good to me; Ready for merge
Jenkins CI: Passed CI tests
--
To view, visit
https://gerrit.ovirt.org/65275
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: If9509e7280066327f0cca19a51555c4bee6a5dfa
Gerrit-PatchSet: 2
Gerrit-Project: jenkins
Gerrit-Branch: master
Gerrit-Owner: Gil Shinar <gshinar(a)redhat.com>
Gerrit-Reviewer: Anton Marchukov <amarchuk(a)redhat.com>
Gerrit-Reviewer: Barak Korren <bkorren(a)redhat.com>
Gerrit-Reviewer: Evgheni Dereveanchin <ederevea(a)redhat.com>
Gerrit-Reviewer: Eyal Edri <eedri(a)redhat.com>
Gerrit-Reviewer: Gil Shinar <gshinar(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Nadav Goldin <ngoldin(a)redhat.com>
Gerrit-Reviewer: Pavel Zhukov <pavel(a)zhukoff.net>
Gerrit-Reviewer: Shlomo Ben David <sbendavi(a)redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation(a)ovirt.org>