Skipping 7,792 KB..
Full LogTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTest
Uploading: https://appng.org/nexus/repository/appng-stable/org/appng/appng-standalone/1.18.0-RC4/appng-standalone-1.18.0-RC4-sources.jar
Progress (1): 2.0/7.8 kB
Progress (1): 4.1/7.8 kB
Progress (1): 6.1/7.8 kB
Progress (1): 7.8 kB
Uploaded: https://appng.org/nexus/repository/appng-stable/org/appng/appng-standalone/1.18.0-RC4/appng-standalone-1.18.0-RC4-sources.jar (7.8 kB at 118 kB/s)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 15.497 s
[INFO] Finished at: 2018-12-11T11:07:32+01:00
[INFO] Final Memory: 29M/406M
[INFO] ------------------------------------------------------------------------
[Pipeline] sh
+ cp target/appng-standalone-1.18.0-RC4.zip /tmp/jenkins_artifacts/release/
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Results)
[Pipeline] junit
Recording test results
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Stash the Build)
[Pipeline] dir
Running in /tmp/jenkins_artifacts/release
[Pipeline] {
[Pipeline] stash
Stashed 42 file(s)
[Pipeline] }
[Pipeline] // dir
[Pipeline] dir
Running in /var/lib/jenkins/workspace/appNG_Release/appng/target/site/apidocs
[Pipeline] {
[Pipeline] stash
Stashed 1892 file(s)
[Pipeline] }
[Pipeline] // dir
[Pipeline] dir
Running in /var/lib/jenkins/workspace/appNG_Release/appng/appng-documentation/target/generated-docs/html
[Pipeline] {
[Pipeline] stash
Stashed 10 file(s)
[Pipeline] }
[Pipeline] // dir
[Pipeline] dir
Running in /var/lib/jenkins/workspace/appNG_Release/appng/appng-documentation/target/generated-docs/pdf
[Pipeline] {
[Pipeline] stash
Stashed 10 file(s)
[Pipeline] }
[Pipeline] // dir
[Pipeline] dir
Running in /var/lib/jenkins/workspace/appNG_Release/appng/appng-appngizer/target/generated-docs/pdf
[Pipeline] {
[Pipeline] stash
Stashed 50 file(s)
[Pipeline] }
[Pipeline] // dir
[Pipeline] dir
Running in /var/lib/jenkins/workspace/appNG_Release/appng/appng-appngizer/target/generated-docs/html
[Pipeline] {
[Pipeline] stash
Stashed 51 file(s)
[Pipeline] }
[Pipeline] // dir
[Pipeline] dir
Running in /var/lib/jenkins/workspace/appNG_Release/appng/appng-xmlapi/target/classes
[Pipeline] {
[Pipeline] stash
Stashed 1 file(s)
[Pipeline] }
[Pipeline] // dir
[Pipeline] dir
Running in /var/lib/jenkins/workspace/appNG_Release/appng/appng-xmlapi/target/classes
[Pipeline] {
[Pipeline] stash
Stashed 1 file(s)
[Pipeline] }
[Pipeline] // dir
[Pipeline] dir
Running in /var/lib/jenkins/workspace/appNG_Release/appng/appng-appngizer-jaxb/target/classes
[Pipeline] {
[Pipeline] stash
Stashed 1 file(s)
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // node
[Pipeline] node
Running on Jenkins in /var/lib/jenkins/workspace/appNG_Release
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Prepare doc folder)
[Pipeline] sh
+ rm -rf /srv/www/appng.org/appng/docs/1.18.0-RC4
[Pipeline] sh
+ mkdir --parents /srv/www/appng.org/appng/docs/1.18.0-RC4/javadoc
[Pipeline] sh
+ mkdir --parents /srv/www/appng.org/appng/docs/1.18.0-RC4/reference
[Pipeline] sh
+ mkdir --parents /srv/www/appng.org/appng/docs/1.18.0-RC4/appngizer/html
[Pipeline] sh
+ mkdir --parents /srv/www/appng.org/appng/docs/1.18.0-RC4/appngizer/pdf
[Pipeline] sh
+ ln -sfn /srv/www/appng.org/appng/docs/1.18.0-RC4 /srv/www/appng.org/appng/docs/current
[Pipeline] sh
+ rm -rf /srv/www/appng.org/appng/docs/1.18.0-RC4/appngizer/html/parts
[Pipeline] sh
+ rm -rf /srv/www/appng.org/appng/docs/1.18.0-RC4/appngizer/html/xml
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Unstash Build and Docs)
[Pipeline] dir
Running in /srv/www/appng.org/appng/builds/stable
[Pipeline] {
[Pipeline] unstash
[Pipeline] }
[Pipeline] // dir
[Pipeline] dir
Running in /srv/www/appng.org/appng/docs/1.18.0-RC4/javadoc
[Pipeline] {
[Pipeline] unstash
[Pipeline] }
[Pipeline] // dir
[Pipeline] dir
Running in /srv/www/appng.org/appng/docs/1.18.0-RC4/reference/html
[Pipeline] {
[Pipeline] unstash
[Pipeline] }
[Pipeline] // dir
[Pipeline] dir
Running in /srv/www/appng.org/appng/docs/1.18.0-RC4/reference/pdf
[Pipeline] {
[Pipeline] unstash
[Pipeline] }
[Pipeline] // dir
[Pipeline] dir
Running in /srv/www/appng.org/appng/docs/1.18.0-RC4/appngizer/pdf
[Pipeline] {
[Pipeline] unstash
[Pipeline] }
[Pipeline] // dir
[Pipeline] dir
Running in /srv/www/appng.org/appng/docs/1.18.0-RC4/appngizer/html
[Pipeline] {
[Pipeline] unstash
[Pipeline] }
[Pipeline] // dir
[Pipeline] dir
Running in /srv/www/appng.org/schema/application
[Pipeline] {
[Pipeline] unstash
[Pipeline] sh
+ cp -av appng-application.xsd appng-application-1.18.0-RC4.xsd
‘appng-application.xsd’ -> ‘appng-application-1.18.0-RC4.xsd’
[Pipeline] }
[Pipeline] // dir
[Pipeline] dir
Running in /srv/www/appng.org/schema/platform
[Pipeline] {
[Pipeline] unstash
[Pipeline] sh
+ cp -av appng-platform.xsd appng-platform-1.18.0-RC4.xsd
‘appng-platform.xsd’ -> ‘appng-platform-1.18.0-RC4.xsd’
[Pipeline] }
[Pipeline] // dir
[Pipeline] dir
Running in /srv/www/appng.org/schema/appngizer
[Pipeline] {
[Pipeline] unstash
[Pipeline] sh
+ cp -av appngizer.xsd appngizer-1.18.0-RC4.xsd
‘appngizer.xsd’ -> ‘appngizer-1.18.0-RC4.xsd’
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (checkout master)
[Pipeline] sh
+ git clone git@github.com:appNG/appng.git
Cloning into 'appng'...
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (merge to master and tag)
[Pipeline] dir
Running in /var/lib/jenkins/workspace/appNG_Release/appng
[Pipeline] {
[Pipeline] sh
+ git merge --ff origin/appng-1.18.x --strategy-option theirs
Merge made by the 'recursive' strategy.
Jenkinsfile | 5 +-
.../src/main/java/org/appng/api/ScheduledJob.java | 13 ++
.../java/org/appng/api/ScheduledJobResult.java | 70 +++++++++
.../org/appng/api/support/SiteClassLoader.java | 7 +-
appng-application-bom/pom.xml | 6 +-
.../java/org/appng/appngizer/controller/Home.java | 4 +-
.../test/resources/xml/database-init-managed.xml | 69 ++++-----
.../src/test/resources/xml/database-init.xml | 69 ++++-----
.../test/resources/xml/database-root-update.xml | 28 ++--
.../appng/cli/commands/heartbeat/HeartBeat.java | 2 +-
.../java/org/appng/core/controller/Controller.java | 22 ++-
.../appng/core/controller/RepositoryWatcher.java | 12 +-
.../core/controller/rest/RestDataSourceBase.java | 38 ++++-
.../org/appng/core/service/InitializerService.java | 52 +++++--
.../hsql/V4_0_0__add_job_execution_record.sql | 15 ++
.../mssql/V4_0_0__add_job_execution_record.sql | 15 ++
.../mysql/V4_0_0__add_job_execution_record.sql | 15 ++
.../appng/core/service/DatabaseServiceTest.java | 6 +-
.../core/service/SiteClassLoaderBuilderTest.java | 44 ++++++
.../src/test/resources/rest/datasource-result.json | 3 +-
.../src/main/asciidoc/developerguide.adoc | 6 +-
.../src/main/asciidoc/parts/actions.adoc | 4 +-
.../src/main/asciidoc/parts/api.adoc | 4 +-
.../src/main/asciidoc/parts/application.adoc | 36 +++--
.../src/main/asciidoc/parts/jpa.adoc | 167 ++++++++++++++-------
appng-tools/pom.xml | 4 +-
.../java/org/appng/tools/file/MagicByteCheck.java | 14 +-
.../org/appng/tools/file/MagicByteCheckTest.java | 4 +-
pom.xml | 6 +-
29 files changed, 530 insertions(+), 210 deletions(-)
create mode 100644 appng-api/src/main/java/org/appng/api/ScheduledJobResult.java
create mode 100644 appng-core/src/main/resources/db/migration/hsql/V4_0_0__add_job_execution_record.sql
create mode 100644 appng-core/src/main/resources/db/migration/mssql/V4_0_0__add_job_execution_record.sql
create mode 100644 appng-core/src/main/resources/db/migration/mysql/V4_0_0__add_job_execution_record.sql
create mode 100644 appng-core/src/test/java/org/appng/core/service/SiteClassLoaderBuilderTest.java
[Pipeline] sh
+ git tag appng-1.18.0-RC4
[Pipeline] sh
+ git push origin appng-1.18.0-RC4
To github.com:appNG/appng.git
* [new tag] appng-1.18.0-RC4 -> appng-1.18.0-RC4
[Pipeline] sh
+ git push
To github.com:appNG/appng.git
e454b8c..dc935c9 master -> master
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (prepare next version)
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
Finished: SUCCESS