maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From steph...@apache.org
Subject [maven-jenkins-lib] branch master updated: dir hack
Date Sun, 26 Nov 2017 23:14:40 GMT
This is an automated email from the ASF dual-hosted git repository.

stephenc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-jenkins-lib.git


The following commit(s) were added to refs/heads/master by this push:
     new d446d5d  dir hack
d446d5d is described below

commit d446d5d7c88f06dec0b3bce59aacecf694b625c1
Author: Stephen Connolly <stephen.alan.connolly@gmail.com>
AuthorDate: Sun Nov 26 23:14:35 2017 +0000

    dir hack
---
 vars/asfMavenTlpStdBuild.groovy | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

diff --git a/vars/asfMavenTlpStdBuild.groovy b/vars/asfMavenTlpStdBuild.groovy
index 8a2bce8..94036fc 100644
--- a/vars/asfMavenTlpStdBuild.groovy
+++ b/vars/asfMavenTlpStdBuild.groovy
@@ -19,14 +19,18 @@ def call(Map params = [:]) {
       tasks[stageId] = {
         node(label) {
           stage("Checkout ${stageId}") {
-            checkout scm
+            dir('m') {
+              checkout scm
+            }
           }
           stage("Build ${stageId}") {
             withMaven(jdk:jdkName, maven:mvnName, mavenLocalRepo:'.repository') {
-              if (isUnix()) {
-                sh 'mvn clean verify'
-              } else {
-                bat 'mvn clean verify'
+              dir ('m') {
+                if (isUnix()) {
+                  sh 'mvn clean verify'
+                } else {
+                  bat 'mvn clean verify'
+                }
               }
             }
           }

-- 
To stop receiving notification emails like this one, please contact
['"commits@maven.apache.org" <commits@maven.apache.org>'].

Mime
View raw message