summaryrefslogtreecommitdiffstats
path: root/jjb/global-macros.yaml
diff options
context:
space:
mode:
authorVanessa Rene Valderrama <vvalderrama@linuxfoundation.org>2018-10-02 12:19:45 -0500
committerVanessa Rene Valderrama <vvalderrama@linuxfoundation.org>2018-10-18 12:15:27 -0500
commit7b4faf2a2ae8294e1f17f10dd345bb798095ec4d (patch)
tree1f332fecd28bb9634d809b816739aef10eca5e83 /jjb/global-macros.yaml
parent13fe64a2cbfdb851f81b6a29e20dfe00f1091656 (diff)
Fix publisher macro causing JJB 2.5.0 errors
Fixing postbuildscripts publisher to resolve JJB 2.5.0 errors Change-Id: Iab07fe7a419b2084591b4f386340accf9ec47064 Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
Diffstat (limited to 'jjb/global-macros.yaml')
-rw-r--r--jjb/global-macros.yaml23
1 files changed, 10 insertions, 13 deletions
diff --git a/jjb/global-macros.yaml b/jjb/global-macros.yaml
index 92c881fb..ab7bf5b5 100644
--- a/jjb/global-macros.yaml
+++ b/jjb/global-macros.yaml
@@ -452,19 +452,16 @@
publishers:
- postbuildscript:
builders:
- - shell: !include-raw: include-raw-deploy-archives.sh
- - maven-target:
- maven-version: '{maven-version}'
- pom: '.archives/deploy-archives.xml'
- goals: 'clean deploy -V -B -q -Dmaven.repo.local=/tmp/r'
- settings: 'jenkins-log-archives-settings'
- settings-type: cfp
- global-settings: 'global-settings'
- global-settings-type: cfp
- - description-setter:
- regexp: '^Build logs: .*'
- script-only-if-succeeded: false
- script-only-if-failed: false
+ - role: BOTH
+ build-on:
+ - ABORTED
+ - FAILURE
+ - NOT_BUILT
+ - SUCCESS
+ - UNSTABLE
+ build-steps:
+ - lf-infra-sysstat
+ - lf-infra-ship-logs
mark-unstable-if-failed: true
- workspace-cleanup:
fail-build: false