You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by se...@apache.org on 2019/04/20 13:14:15 UTC

[directory-server] branch jenkinsfile2 updated: Force update of snapshots

This is an automated email from the ASF dual-hosted git repository.

seelmann pushed a commit to branch jenkinsfile2
in repository https://gitbox.apache.org/repos/asf/directory-server.git


The following commit(s) were added to refs/heads/jenkinsfile2 by this push:
     new cc8a22e  Force update of snapshots
cc8a22e is described below

commit cc8a22e3e048fd4f59547b96fabd16c635d6a55e
Author: Stefan Seelmann <ma...@stefan-seelmann.de>
AuthorDate: Sat Apr 20 15:14:04 2019 +0200

    Force update of snapshots
---
 Jenkinsfile | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index ce5c74f..38f3c6a 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -62,7 +62,7 @@ pipeline {
           }
           steps {
             sh '''
-            mvn -V clean verify
+            mvn -V -U clean verify
             '''
           }
           post {
@@ -84,7 +84,7 @@ pipeline {
             }
           }
           steps {
-            sh 'mvn -V clean verify'
+            sh 'mvn -V -U clean verify'
           }
           post {
             always {
@@ -104,7 +104,7 @@ pipeline {
             }
           }
           steps {
-            sh 'mvn -V clean verify'
+            sh 'mvn -V -U clean verify'
           }
           post {
             always {
@@ -124,7 +124,7 @@ pipeline {
             bat '''
             set JAVA_HOME=F:\\jenkins\\tools\\java\\latest1.8
             set MAVEN_OPTS="-Xmx512m"
-            F:\\jenkins\\tools\\maven\\latest3\\bin\\mvn -V clean verify -DskipTests
+            F:\\jenkins\\tools\\maven\\latest3\\bin\\mvn -V -U clean verify -DskipTests
             '''
           }
           post {
@@ -149,8 +149,8 @@ pipeline {
         sh '''
         export JAVA_HOME=/home/jenkins/tools/java/latest1.8
         export MAVEN_OPTS="-Xmx512m"
-        #/home/jenkins/tools/maven/latest3/bin/mvn -V clean install source:jar deploy
-        /home/jenkins/tools/maven/latest3/bin/mvn -V clean install source:jar -DskipTests
+        #/home/jenkins/tools/maven/latest3/bin/mvn -V -U clean install source:jar deploy
+        /home/jenkins/tools/maven/latest3/bin/mvn -V -U clean install source:jar -DskipTests
         '''
       }
       post {
@@ -172,7 +172,7 @@ pipeline {
         }
       }
       steps {
-        sh 'mvn -V clean install -DskipTests'
+        sh 'mvn -V -U clean install -DskipTests'
         sh 'cd installers && mvn -V clean package -Pinstallers -Pdocker'
         stash name: 'deb', includes: 'installers/target/installers/*.deb,installers/target/docker/*deb*'
         stash name: 'rpm', includes: 'installers/target/installers/*.rpm,installers/target/docker/*rpm*'