This is an automated email from the ASF dual-hosted git repository.
juanpablo pushed a commit to branch jbake
in repository https://gitbox.apache.org/repos/asf/jspwiki-site.git
The following commit(s) were added to refs/heads/jbake by this push:
new 9e42c78 copy static site and japicmp in their proper paths
9e42c78 is described below
commit 9e42c78a705c276ebe47b6f369bac7e32f249a40
Author: Juan Pablo Santos RodrÃguez <[email protected]>
AuthorDate: Tue Nov 23 18:46:55 2021 +0100
copy static site and japicmp in their proper paths
---
Jenkinsfile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 0b3c20b..f8bae24 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -88,7 +88,8 @@ try {
unstash 'build'
dir( asfsite ) {
git branch: asfsite, url: repo, credentialsId: creds
- sh "mkdir -p ./japicmp/$docsVersion && cp -rf
../$jbake/target/content/* ./japicmp/$docsVersion"
+ sh "cp -rf ../$jbake/target/content/* ./"
+ sh "mkdir -p ./japicmp/$docsVersion && cp -rf
../$jbake/target/japicmp/* ./japicmp/$docsVersion"
sh "mkdir -p ./apidocs/$docsVersion && cp -rf
../$build/target/site/apidocs/* ./apidocs/$docsVersion"
timeout( 15 ) { // 15 minutes
sh 'git add .'