diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 6567a38f..8260849b 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -45,6 +45,7 @@ jobs: distribution: "zulu" - name: Wait for Artifactory + shell: bash run: | for i in {1..30}; do if curl -sf http://localhost:8081/artifactory/api/system/ping; then diff --git a/release/pipelines.release.yml b/release/pipelines.release.yml index db0b35fa..2a76d4b6 100644 --- a/release/pipelines.release.yml +++ b/release/pipelines.release.yml @@ -12,6 +12,7 @@ pipelines: readOnly: NEXT_VERSION: 0.0.0 NEXT_DEVELOPMENT_VERSION: 0.0.x-SNAPSHOT + AUDIT_FAIL: false steps: - name: Release @@ -54,7 +55,7 @@ pipelines: - git merge origin/dev # Run audit - - jf audit + - jf audit --fail=${AUDIT_FAIL:-false} # Update version - sed -i "s/\(currentVersion=\).*\$/\1${NEXT_VERSION}/" gradle.properties