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

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


The following commit(s) were added to refs/heads/master by this push:
     new 042fd99  fix this
042fd99 is described below

commit 042fd992bc9a05fc1c836a0b4dbc2a19f037d5b5
Author: Olivier Lamy <[email protected]>
AuthorDate: Wed Apr 18 14:11:53 2018 +1000

    fix this
---
 Jenkinsfile | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 31c2d55..5c897c5 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -1,9 +1,9 @@
-node ("ubuntu") {
-  // System Dependent Locations
-  def mvn = 'Maven 3.5.2'
-  def jdk ='JDK 1.8 (latest)'
-  def deploySettings = 'DefaultMavenSettingsProvider.1331204114925'
 
+  def labels = 'ubuntu'
+  def buildJdk = 'JDK 1.8 (latest)'
+  def buildMvn = 'Maven 3.5.2'  
+
+node (labels) {
   try
   {
     stage ('Checkout') {
@@ -18,7 +18,7 @@ node ("ubuntu") {
   {
     stage ('Build') {
       timeout(120) {
-        withMaven(maven: mvntool.name, jdk: jdktool.name,
+        withMaven(maven: buildMvn, jdk: buildJdk,
                       globalMavenSettingsConfig: deploySettings,
                       mavenLocalRepo: 
"${env.JENKINS_HOME}/${env.EXECUTOR_NUMBER}"                  
                  )

-- 
To stop receiving notification emails like this one, please contact
[email protected].

Reply via email to