You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by sr...@apache.org on 2018/02/27 14:54:19 UTC

[incubator-plc4x] branch master updated: add a site:deploy on git-websites node

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

sruehl pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-plc4x.git


The following commit(s) were added to refs/heads/master by this push:
     new b5779a3  add a site:deploy on git-websites node
b5779a3 is described below

commit b5779a33a53c8eec10927fb97a7f0a3c0e73292b
Author: Sebastian Rühl <sr...@apache.org>
AuthorDate: Tue Feb 27 15:54:16 2018 +0100

    add a site:deploy on git-websites node
---
 Jenkinsfile | 19 +++++++++++++++++--
 1 file changed, 17 insertions(+), 2 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index afaffe9..a868539 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -127,13 +127,28 @@ pipeline {
             }
         }
 
-        stage('Stage Site') {
+        stage('Stage site') {
             when {
                 branch 'master'
             }
             steps {
                 echo 'Staging Site'
-                sh 'mvn -P${JENKINS_PROFILE} ${MVN_LOCAL_REPO_OPT} site:stage'
+                sh 'mvn -P${JENKINS_PROFILE} site:stage'
+            }
+        }
+
+        stage('Deploy site') {
+            when {
+                branch 'master'
+            }
+            agent {
+                node {
+                    label 'git-websites'
+                }
+            }
+            steps {
+                echo 'Deploy Site'
+                sh 'mvn -P${JENKINS_PROFILE} site:deploy'
             }
         }
 

-- 
To stop receiving notification emails like this one, please contact
sruehl@apache.org.