fixed pipeline

This commit is contained in:
kjubybot
2022-05-17 15:00:51 +03:00
parent d35fa26eb8
commit 2797a10fcb

View File

@@ -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'