fixed pipeline

gos_tech_4.4.3
kjubybot 3 years ago
parent d35fa26eb8
commit 2797a10fcb

@ -20,6 +20,7 @@ spec:
DEPCHECKDB = credentials('depcheck-postgres') DEPCHECKDB = credentials('depcheck-postgres')
} }
steps { steps {
container('alpine') {
sh 'apk update && apk add openjdk11 java-postgresql-jdbc go' sh 'apk update && apk add openjdk11 java-postgresql-jdbc go'
dependencyCheck additionalArguments: '-f JSON -f HTML -n --enableExperimental \ dependencyCheck additionalArguments: '-f JSON -f HTML -n --enableExperimental \
-l deplog \ -l deplog \
@ -31,6 +32,7 @@ spec:
sh 'cat deplog' sh 'cat deplog'
} }
} }
}
stage('SonarQube analysis') { stage('SonarQube analysis') {
environment { environment {
SONARSCANNER_HOME = tool 'sonarscanner' SONARSCANNER_HOME = tool 'sonarscanner'

Loading…
Cancel
Save