Apex: fix groovy build result update 45/38645/1
authorTim Rozet <trozet@redhat.com>
Wed, 2 Aug 2017 18:55:51 +0000 (14:55 -0400)
committerTim Rozet <trozet@redhat.com>
Wed, 2 Aug 2017 18:55:51 +0000 (14:55 -0400)
commit2b13f8ee486f4f8ae1c66ac3b95148d9a423318b
tree01720a7c4b50fda297a484187c6c256e9c1a18de
parenteeec59f7b8d501a62c9a89a34300047fd45c69cd
Apex: fix groovy build result update

The groovy script is working, but it is changing the 'apex test suite'
phase to unstable and we really want it to change the 'scenario' job
result to unstable if deploy passed but tests failed.  Therefore this
patch moves the groovy plugin to execute on the scenario job, and looks
for deploy successful before changing the build result.

Change-Id: I1b6907f4fb2647e644c4a627be6e481fff32f195
Signed-off-by: Tim Rozet <trozet@redhat.com>
jjb/apex/apex.yml
jjb/apex/apex.yml.j2
jjb/apex/update-build-result.groovy