This is an automated email from the ASF dual-hosted git repository.
cdutz pushed a commit to branch feature/changed-directory-structure
in repository https://gitbox.apache.org/repos/asf/incubator-training.git
The following commit(s) were added to
refs/heads/feature/changed-directory-structure by this push:
new 83f0032 - Updated the maven commands to run in the site sub-dir
83f0032 is described below
commit 83f00322a091c2717919b8fc80a309472d853c5f
Author: Christofer Dutz <[email protected]>
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'
}
}
}