You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by sk...@apache.org on 2018/11/02 15:58:58 UTC
[incubator-netbeans-mavenutils] branch master updated: change build
script to new folder
This is an automated email from the ASF dual-hosted git repository.
skygo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-netbeans-mavenutils.git
The following commit(s) were added to refs/heads/master by this push:
new 482dbf9 change build script to new folder
482dbf9 is described below
commit 482dbf9a40050eee21bf2fd18422b51ad72cc397
Author: Eric Barboni <sk...@apache.org>
AuthorDate: Fri Nov 2 16:58:39 2018 +0100
change build script to new folder
change folder in the script to prepare migration to docs
---
Jenkinsfile-site.groovy | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/Jenkinsfile-site.groovy b/Jenkinsfile-site.groovy
index e2e2995..780bdca 100644
--- a/Jenkinsfile-site.groovy
+++ b/Jenkinsfile-site.groovy
@@ -44,6 +44,7 @@ pipeline {
sh 'git checkout asf-site'
sh 'git fetch origin asf-site'
sh 'git pull origin asf-site'
+ sh "rm -rf content/mavenutils/"
}
}
}
@@ -68,8 +69,7 @@ pipeline {
for (String mvnproject in mvnfoldersforsite) {
dir('master-branch/'+mvnproject) {
sh "mvn clean install site -Dmaven.repo.local=${BASEDIR}/.repository"
- sh "rm -rf ${BASEDIR}/asf-site-branch/${mvnproject}"
- sh "mv target/site ${BASEDIR}/asf-site-branch/${mvnproject}/"
+ sh "mv target/site ${BASEDIR}/asf-site-branch/content/mavenutils/${mvnproject}/"
}
}
}
@@ -84,7 +84,7 @@ pipeline {
echo 'Adding content...'
sshagent (credentials: ['9b041bd0-aea9-4498-a576-9eeb771411dd']) {
sh 'git add -v .'
- sh 'git commit -v -m "Automated site publishing by Jenkins build ${BUILD_NUMBER}"'
+ sh 'git commit -v -m "Automated site publishing by Jenkins build by mavenutils-${BUILD_NUMBER}"'
sh 'git push -v origin asf-site'
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists