X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=jjb%2Fglobal-macros.yaml;h=f3171a9a91579e29aead310b78a8fc192022b127;hb=48976ee8d33d53d1c2dc54cf266f96261cf0546c;hp=ba0d1a59659428455d35925f03c080544f6d0dca;hpb=82086ef901b1e5ab790d61f0fd171464d6f0d27e;p=ci-management.git diff --git a/jjb/global-macros.yaml b/jjb/global-macros.yaml index ba0d1a596..f3171a9a9 100644 --- a/jjb/global-macros.yaml +++ b/jjb/global-macros.yaml @@ -141,6 +141,8 @@ - 'jenkins-gerrit-credentials' - jclouds: single-use: True + - openstack: + single-use: True - wrapper: # This wrapper is required for all jobs as it configures the wrappers @@ -158,6 +160,8 @@ - 'jenkins-gerrit-credentials' - jclouds: single-use: True + - openstack: + single-use: True ###### TRIGGERS - trigger: @@ -278,6 +282,37 @@ output-path: '{output-path}' other-files: '' +- publisher: + name: fdio-infra-shiplogs + # To archive things, the job will need to create an "archives" directory in + # the workspace and this macro will handle copying the contents of the + # archives directory. + # + # Uses the build parameter ARCHIVE_ARTIFACTS if not empty to find files to + # archive. You can pass globstar patterns for example "**/*.xml **/*.log" as + # the archive pattern. This is a space separated list of files to archive. + # + # Also ensure that the workspace is cleaned up at the end of the build. + 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 + mark-unstable-if-failed: true + - workspace-cleanup: + fail-build: false + ###### BUILDERS - builder: name: ci-management-check-unicode