You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@training.apache.org by cd...@apache.org on 2019/04/26 10:36:31 UTC

[incubator-training] 17/26: - Updated the maven commands to run in the site sub-dir

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

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

commit 83f00322a091c2717919b8fc80a309472d853c5f
Author: Christofer Dutz <ch...@c-ware.de>
AuthorDate: Fri Apr 26 11:50:03 2019 +0200

    - Updated the maven commands to run in the site sub-dir
---
 site/Jenkinsfile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/site/Jenkinsfile b/site/Jenkinsfile
index c90d695..64ee766 100644
--- a/site/Jenkinsfile
+++ b/site/Jenkinsfile
@@ -69,7 +69,7 @@ pipeline {
         stage('Build site') {
             steps {
                 echo 'Building Site'
-                sh 'mvn site'
+                sh 'mvn -f site/pom.xml site'
             }
         }
 
@@ -77,7 +77,7 @@ pipeline {
             steps {
                 echo 'Staging Site'
                 // Build a directory containing the aggregated website.
-                sh 'mvn site:stage'
+                sh 'mvn -f site/pom.xml site:stage'
 
                 /* Enable this as soon as we have multiple modules
                 // Make sure the script is executable.
@@ -95,7 +95,7 @@ pipeline {
             steps {
                 echo 'Deploying Site'
                 // Publish the site with the scm-publish plugin.
-                sh 'mvn scm-publish:publish-scm'
+                sh 'mvn -f site/pom.xml scm-publish:publish-scm'
             }
         }
     }