Skip to content

Commit

Permalink
hide Maven download status in logs
Browse files Browse the repository at this point in the history
  • Loading branch information
davgordo committed Jan 17, 2019
1 parent 1d42606 commit 1723a78
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions basic-spring-boot/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,14 @@ pipeline {
// Run Maven build, skipping tests
stage('Build'){
steps {
sh "mvn clean install -DskipTests=true -f ${POM_FILE}"
sh "mvn -B clean install -DskipTests=true -f ${POM_FILE}"
}
}

// Run Maven unit tests
stage('Unit Test'){
steps {
sh "mvn test -f ${POM_FILE}"
sh "mvn -B test -f ${POM_FILE}"
}
}

Expand Down
4 changes: 2 additions & 2 deletions basic-tomcat/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ pipeline {

stage('Build') {
steps {
sh "mvn clean install -DskipTests=true -f ${POM_FILE}"
sh "mvn -B clean install -DskipTests=true -f ${POM_FILE}"
}
}

stage('Unit Test') {
steps {
sh "mvn test -f ${POM_FILE}"
sh "mvn -B test -f ${POM_FILE}"
}
}

Expand Down
4 changes: 2 additions & 2 deletions blue-green-spring/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,13 @@ pipeline {

stage('Build') {
steps {
sh "mvn clean install -DskipTests=true -f ${pom_file}"
sh "mvn -B clean install -DskipTests=true -f ${pom_file}"
}
}

stage('Unit Test') {
steps {
sh "mvn test -f ${pom_file}"
sh "mvn -B test -f ${pom_file}"
}
}

Expand Down
2 changes: 1 addition & 1 deletion multi-cluster-spring-boot/image-mirror-example/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pipeline {
stage('Code Build') {
steps {
git url: "${SOURCE_CODE_URL}"
sh "mvn clean install -q"
sh "mvn -B clean install -q"
}
}

Expand Down
2 changes: 1 addition & 1 deletion multi-cluster-spring-boot/skopeo-example/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ pipeline {
stage('Code Build') {
steps {
git url: "${SOURCE_CODE_URL}"
sh "mvn clean install -q"
sh "mvn -B clean install -q"
}
}

Expand Down

0 comments on commit 1723a78

Please sign in to comment.