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