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 2020/04/05 09:20:48 UTC

[jspwiki] 03/03: (Hopefully) generate Translation status page - No version bump

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 a829052814acb7c4c805091d3ddd37045a4f2966
Author: juanpablo <ju...@apache.org>
AuthorDate: Sun Apr 5 11:20:15 2020 +0200

    (Hopefully) generate Translation status page - No version bump
---
 Jenkinsfile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Jenkinsfile b/Jenkinsfile
index 8e21904..80fabbb 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -45,6 +45,7 @@ try {
                     writeFile file: 'target/classes/apidocs.txt', text: 'file created in order to allow aggregated javadoc generation, target/classes is needed for all modules'
                     writeFile file: 'jspwiki-it-tests/target/classes/apidocs.txt', text: 'file created in order to allow aggregated javadoc generation, target/classes is needed for all modules'
                     sh 'mvn package javadoc:aggregate-no-fork -DskipTests -pl !jspwiki-portable'
+                    sh 'java -cp jspwiki-main/target/classes org.apache.wiki.TranslationsCheck site'
                 }
             }
         }
@@ -54,7 +55,9 @@ try {
                 dir( jbake ) {
                     git branch: jbake, url: siteRepo, credentialsId: creds, poll: false
                     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=' + pom.version
                 }
                 stash name: 'jbake-website'