From a6b15214c18b09b29b7d9d75c6cb8e90dad547af Mon Sep 17 00:00:00 2001 From: attiasas Date: Thu, 13 Jul 2023 11:33:33 +0300 Subject: [PATCH] Update release pipeline --- .jfrog-pipelines/release/pipelines.release.yml | 8 ++++---- .jfrog-pipelines/release/pipelines.snapshot.yml | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.jfrog-pipelines/release/pipelines.release.yml b/.jfrog-pipelines/release/pipelines.release.yml index ffe646c..18a47e8 100644 --- a/.jfrog-pipelines/release/pipelines.release.yml +++ b/.jfrog-pipelines/release/pipelines.release.yml @@ -57,15 +57,15 @@ pipelines: - git commit -am "[artifactory-release] Release version ${NEXT_VERSION} [skipRun]" --allow-empty - git tag ${NEXT_VERSION} - # Run build and publish + # Run validations, build and publish - > - jf gradle clean build artifactoryPublish -x test -x functionalTest + jf gradle clean validatePlugins build artifactoryPublish -x test -x functionalTest - jf rt bag && jf rt bce - jf rt bp # Distribute release bundle - #- jf ds rbc ecosystem-artifactory-gradle-plugin $NEXT_VERSION --spec=./.jfrog-pipelines/release/specs/prod-rbc-filespec.json --spec-vars="version=$NEXT_VERSION" --sign - #- jf ds rbd ecosystem-artifactory-gradle-plugin $NEXT_VERSION --site="releases.jfrog.io" --sync + - jf ds rbc ecosystem-artifactory-gradle-plugin $NEXT_VERSION --spec=./.jfrog-pipelines/release/specs/prod-rbc-filespec.json --spec-vars="version=$NEXT_VERSION" --sign + - jf ds rbd ecosystem-artifactory-gradle-plugin $NEXT_VERSION --site="releases.jfrog.io" --sync # Publish to Maven Central - > diff --git a/.jfrog-pipelines/release/pipelines.snapshot.yml b/.jfrog-pipelines/release/pipelines.snapshot.yml index 4ca972b..0535eba 100644 --- a/.jfrog-pipelines/release/pipelines.snapshot.yml +++ b/.jfrog-pipelines/release/pipelines.snapshot.yml @@ -42,13 +42,13 @@ pipelines: # Delete former snapshots to make sure the release bundle will not contain the same artifacts - jf rt del "ecosys-oss-snapshot-local/com/jfrog/buildinfo/build-info-extractor-gradle/*" --quiet - # Run test, build and publish snapshot + # Build and publish snapshot - > env -i PATH=$PATH HOME=$HOME JFROG_CLI_BUILD_NAME=$JFROG_CLI_BUILD_NAME JFROG_CLI_BUILD_NUMBER=$JFROG_CLI_BUILD_NUMBER JFROG_CLI_BUILD_PROJECT=$JFROG_CLI_BUILD_PROJECT - jf gradle clean build artifactoryPublish -x functionalTest + jf gradle clean build artifactoryPublish -x test -x functionalTest - jf rt bag && jf rt bce - jf rt bp