From 7b4faf2a2ae8294e1f17f10dd345bb798095ec4d Mon Sep 17 00:00:00 2001 From: Vanessa Rene Valderrama Date: Tue, 2 Oct 2018 12:19:45 -0500 Subject: 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 --- jjb/global-macros.yaml | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) (limited to 'jjb/global-macros.yaml') diff --git a/jjb/global-macros.yaml b/jjb/global-macros.yaml index 92c881fb9..ab7bf5b54 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 -- cgit 1.2.3-korg