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 2019/10/14 22:10:01 UTC

[jspwiki] 02/02: generate changelog on static build site

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

juanpablo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jspwiki.git

commit b7aebe3e5a9e3c7d2ec98f302a93cd441e3695cb
Author: juanpablo <ju...@apache.org>
AuthorDate: Tue Oct 15 00:09:30 2019 +0200

    generate changelog on static build site
---
 Jenkinsfile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Jenkinsfile b/Jenkinsfile
index 82c0424..3563795 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -53,6 +53,8 @@ try {
             withMaven(jdk: 'JDK 1.8 (latest)', maven: 'Maven 3 (latest)' ) {
                 dir( jbake ) {
                     git branch: jbake, url: siteRepo, credentialsId: creds, poll: false
+                    sh "cp ../$build/ChangeLog.md ./src/main/config/changelog.md"
+                    sh "cat ./src/main/config/changelog-header.txt ./src/main/config/changelog.md > ./src/main/jbake/content/development/changelog.md"
                     sh 'mvn clean process-resources -Dplugin.japicmp.jspwiki-new=' + pom.version
                 }
                 stash name: 'jbake-website'