Add jenkins build #1

Merged
phlaym merged 11 commits from jenkins into main 2023-11-30 17:33:12 +00:00
Showing only changes of commit fbeb1b31d9 - Show all commits

4
Jenkinsfile vendored
View File

@ -39,8 +39,9 @@ pipeline {
stage('SonarQube Analysis') {
steps {
withSonarQubeEnv(installationName: 'SQ Bib Watcher', envOnly: true) {
withEnv(["PATH+RUST=$HOME/.cargo/bin"]) {
sh """
printenv
SONAR_TOKEN="$SONAR_AUTH_TOKEN"
cargo clippy --message-format=json &> clippy-output.json
sonar-scanner -Dsonar.projectKey=bib-watcher -Dsonar.sources=. -Dsonar.host.url=http://grover.local:9000
"""
@ -48,4 +49,5 @@ pipeline {
}
}
}
}
}