File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ pipelines:
14
14
NEXT_DEVELOPMENT_VERSION : 2.0.x-SNAPSHOT
15
15
NEXT_GRADLE_VERSION : 4.0.0
16
16
NEXT_GRADLE_DEVELOPMENT_VERSION : 4.0.x-SNAPSHOT
17
+ SKIP_AUDIT_CHECK : " false"
17
18
18
19
steps :
19
20
- name : Release
@@ -54,7 +55,14 @@ pipelines:
54
55
- jf gradlec --use-wrapper --uses-plugin --repo-resolve ecosys-maven-remote --repo-deploy ecosys-oss-release-local
55
56
56
57
# Run audit
57
- - jf audit --fail=false
58
+ - |
59
+ if [[ $SKIP_AUDIT_CHECK == "true" ]]; then
60
+ echo "Skipping audit check"
61
+ else
62
+ echo "Running audit check"
63
+ jf audit --fail=false
64
+ fi
65
+
58
66
59
67
# Update version
60
68
- sed -i -e "/build-info-version=/ s/=.*/=$NEXT_VERSION/" -e "/build-info-extractor-gradle-version=/ s/=.*/=$NEXT_GRADLE_VERSION/" gradle.properties
You can’t perform that action at this time.
0 commit comments