From 5ac515cc3aa753d0881e1edf0c4035b88ea103e8 Mon Sep 17 00:00:00 2001 From: Kris De Volder Date: Wed, 1 May 2019 15:45:14 -0700 Subject: [PATCH] Publist to artefactory directly after maven build --- concourse/pipeline.yml | 60 +++++++++++++++++++++++++----------------- 1 file changed, 36 insertions(+), 24 deletions(-) diff --git a/concourse/pipeline.yml b/concourse/pipeline.yml index 2dd2d95e0..e09d5a13a 100644 --- a/concourse/pipeline.yml +++ b/concourse/pipeline.yml @@ -1300,29 +1300,41 @@ jobs: params: file: out/spring-boot-language-server-*.jar acl: public-read -- name: publish-headless-snapshots - plan: - - aggregate: - - get: s3-headless-maven-out - passed: - - build-fatjars - - get: sts4 - - task: unpack - file: sts4/concourse/tasks/unpack.yml - input_mapping: - in: s3-headless-maven-out - - put: artifactory - params: - debug: true - disable_checksum_uploads: true - build_uri: "https://ci.spring.io/teams/${BUILD_TEAM_NAME}/pipelines/${BUILD_PIPELINE_NAME}/jobs/${BUILD_JOB_NAME}/builds/${BUILD_ID}" - build_number: "${BUILD_PIPELINE_NAME}-${BUILD_JOB_NAME}-${BUILD_NAME}" - repo: libs-snapshot-local - folder: out - exclude: - - "**/_remote.repositories" - #Can't publish org.json jar because its got a 'release' version number, and artifactory rejects publishing it in snapshot repo. - - "**/org.json*" + - put: artifactory + params: + debug: true + disable_checksum_uploads: true + build_uri: "https://ci.spring.io/teams/${BUILD_TEAM_NAME}/pipelines/${BUILD_PIPELINE_NAME}/jobs/${BUILD_JOB_NAME}/builds/${BUILD_ID}" + build_number: "${BUILD_PIPELINE_NAME}-${BUILD_JOB_NAME}-${BUILD_NAME}" + repo: libs-snapshot-local + folder: maven-out + exclude: + - "**/_remote.repositories" + #Can't publish org.json jar because its got a 'release' version number, and artifactory rejects publishing it in snapshot repo. + - "**/org.json*" +# - name: publish-headless-snapshots +# plan: +# - aggregate: +# - get: s3-headless-maven-out +# passed: +# - build-fatjars +# - get: sts4 +# - task: unpack +# file: sts4/concourse/tasks/unpack.yml +# input_mapping: +# in: s3-headless-maven-out +# - put: artifactory +# params: +# debug: true +# disable_checksum_uploads: true +# build_uri: "https://ci.spring.io/teams/${BUILD_TEAM_NAME}/pipelines/${BUILD_PIPELINE_NAME}/jobs/${BUILD_JOB_NAME}/builds/${BUILD_ID}" +# build_number: "${BUILD_PIPELINE_NAME}-${BUILD_JOB_NAME}-${BUILD_NAME}" +# repo: libs-snapshot-local +# folder: out +# exclude: +# - "**/_remote.repositories" +# #Can't publish org.json jar because its got a 'release' version number, and artifactory rejects publishing it in snapshot repo. +# - "**/org.json*" - name: build-manifest-yaml-atom-package serial: true plan: @@ -1532,7 +1544,7 @@ groups: - name: artifactory jobs: - build-fatjars - - publish-headless-snapshots +# - publish-headless-snapshots - name: npm-packages jobs: - publish-jvm-launch-utils