struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lukaszlen...@apache.org
Subject [struts] branch master updated: Stops clean goal
Date Tue, 11 Feb 2020 19:15:37 GMT
This is an automated email from the ASF dual-hosted git repository.

lukaszlenart pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/struts.git


The following commit(s) were added to refs/heads/master by this push:
     new 7e0dadb  Stops clean goal
7e0dadb is described below

commit 7e0dadb90efacf3f2464a31e79f7f5e6b1f8cc7b
Author: Lukasz Lenart <lukaszlenart@apache.org>
AuthorDate: Tue Feb 11 20:15:31 2020 +0100

    Stops clean goal
---
 Jenkinsfile | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 55d013e..51b66b5 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -1,6 +1,6 @@
 #!groovy
 
-dockerArgs = '-v $HOME/.m2:/root/.m2 -e MAVEN_OPTS="-Xmx1024m" -e USER=root -u root'
+dockerArgs = '-v $HOME/.m2:/root/.m2 -e MAVEN_OPTS="-Xmx1024m" -e USER=$USER'
 
 pipeline {
   agent none
@@ -26,7 +26,7 @@ pipeline {
       stages {
         stage('Build') {
           steps {
-            sh 'mvn -B clean package -DskipTests -DskipAssembly'
+            sh 'mvn -B package -DskipTests -DskipAssembly'
           }
         }
         stage('Test') {
@@ -54,7 +54,7 @@ pipeline {
       stages {
         stage('Build') {
           steps {
-            sh 'mvn -B clean package -DskipTests -DskipAssembly'
+            sh 'mvn -B package -DskipTests -DskipAssembly'
           }
         }
         stage('Test') {
@@ -82,7 +82,7 @@ pipeline {
       stages {
         stage('Build') {
           steps {
-            sh 'mvn -B clean package -DskipTests -DskipAssembly'
+            sh 'mvn -B package -DskipTests -DskipAssembly'
           }
         }
         stage('Test') {


Mime
View raw message