Skip to content

Commit 01f4caa

Browse files
committed
"Introduce AUDIT_FAIL environment variable for jf audit"
1 parent e26d917 commit 01f4caa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

release/pipelines.release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ pipelines:
1212
readOnly:
1313
NEXT_VERSION: 0.0.0
1414
NEXT_DEVELOPMENT_VERSION: 0.0.x-SNAPSHOT
15-
SKIP_AUDIT: false
15+
AUDIT_FAIL: false
1616

1717
steps:
1818
- name: Release
@@ -55,7 +55,7 @@ pipelines:
5555
- git merge origin/dev
5656

5757
# Run audit
58-
- if [ "$SKIP_AUDIT" != "true" ]; then jf audit; fi
58+
- jf audit --fail=${AUDIT_FAIL:-false}
5959

6060
# Update version
6161
- sed -i "s/\(currentVersion=\).*\$/\1${NEXT_VERSION}/" gradle.properties

0 commit comments

Comments
 (0)