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 84d9b15628 - Show all commits

10
Jenkinsfile vendored
View File

@ -16,11 +16,11 @@ pipeline {
stages { stages {
stage('Checkout') { stage('Checkout') {
steps{ steps{
cleanWs() //cleanWs()
checkout scm checkout scm
} }
}/* }
stage('Clean'){ /*stage('Clean') {
steps { steps {
withEnv(["PATH+RUST=$HOME/.cargo/bin"]) { // Cargo needs to be installed for the jenkins user withEnv(["PATH+RUST=$HOME/.cargo/bin"]) { // Cargo needs to be installed for the jenkins user
sh 'cargo clean' sh 'cargo clean'
@ -36,10 +36,9 @@ pipeline {
} }
} }
} }
/*
stage('SonarQube Analysis') { stage('SonarQube Analysis') {
steps { steps {
withSonarQubeEnv('grover.local:9000') { withSonarQubeEnv(installationName: 'SQ Bib Watcher', envOnly: true) {
sh """ sh """
printenv printenv
cargo clippy --message-format=json &> clippy-output.json cargo clippy --message-format=json &> clippy-output.json
@ -48,6 +47,5 @@ pipeline {
} }
} }
} }
*/
} }
} }