From 84d9b15628219674a682bb84d21f680fbdc377b2 Mon Sep 17 00:00:00 2001 From: Max Nuding Date: Fri, 10 Nov 2023 19:23:45 +0100 Subject: [PATCH] Formatting --- Jenkinsfile | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 0da2395..95dba03 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -14,20 +14,20 @@ pipeline { SONAR_SCANNER_OPTS="-server" } stages { - stage('Checkout'){ + stage('Checkout') { steps{ - cleanWs() + //cleanWs() checkout scm - } - }/* - stage('Clean'){ + } + } + /*stage('Clean') { steps { withEnv(["PATH+RUST=$HOME/.cargo/bin"]) { // Cargo needs to be installed for the jenkins user sh 'cargo clean' } } }*/ - stage('Build'){ + stage('Build') { steps { withSonarQubeEnv(installationName: 'SQ Bib Watcher', envOnly: true) { withEnv(["PATH+RUST=$HOME/.cargo/bin"]) { @@ -36,10 +36,9 @@ pipeline { } } } - /* stage('SonarQube Analysis') { steps { - withSonarQubeEnv('grover.local:9000') { + withSonarQubeEnv(installationName: 'SQ Bib Watcher', envOnly: true) { sh """ printenv cargo clippy --message-format=json &> clippy-output.json @@ -48,6 +47,5 @@ pipeline { } } } - */ } } \ No newline at end of file