You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jspwiki.apache.org by ju...@apache.org on 2021/11/23 15:47:22 UTC
[jspwiki-site] 02/02: Brin changelog and i18n into jbake build
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
commit be062193f6bbcadd831d0c5e2eb79e4d2e69934b
Author: Juan Pablo Santos RodrÃguez <ju...@gmail.com>
AuthorDate: Tue Nov 23 16:46:57 2021 +0100
Brin changelog and i18n into jbake build
---
Jenkinsfile | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Jenkinsfile b/Jenkinsfile
index 2e7841b..2fc76fe 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -69,6 +69,10 @@ try {
def jbakeVersion = version != 'master' ? version : pom.version
dir( jbake ) {
git branch: jbake, url: repo, credentialsId: creds, poll: true
+ sh "cp ../$build/ChangeLog.md ./src/main/config/changelog.md"
+ sh "cp ../$build/i18n-table.txt ./src/main/config/i18n-table.md"
+ sh "cat ./src/main/config/changelog-header.txt ./src/main/config/changelog.md > ./src/main/jbake/content/development/changelog.md"
+ sh "cat ./src/main/config/i18n-header.txt ./src/main/config/i18n-table.md > ./src/main/jbake/content/development/i18n.md"
sh "mvn clean process-resources -Dplugin.japicmp.jspwiki-new=$jbakeVersion"
}
stash name: 'jbake-website'