aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2018-04-18 14:11:53 +1000
committerGitHub <noreply@github.com>2018-04-18 14:11:53 +1000
commit042fd992bc9a05fc1c836a0b4dbc2a19f037d5b5 (patch)
tree67b8df0c91c4be6705f5edccbb239a5848655083
parent81a4493a4afee773d54b74d1a1ba0a10227d9323 (diff)
downloadarchiva-042fd992bc9a05fc1c836a0b4dbc2a19f037d5b5.tar.gz
archiva-042fd992bc9a05fc1c836a0b4dbc2a19f037d5b5.zip
fix this
-rw-r--r--Jenkinsfile12
1 files changed, 6 insertions, 6 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index 31c2d5551..5c897c542 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}"
)