Skipping 7,321 KB..
Full LogTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTest
Uploading: https://appng.org/nexus/repository/appng-stable/org/appng/appng-standalone/1.17.1/appng-standalone-1.17.1-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.17.1/appng-standalone-1.17.1-sources.jar (7.8 kB at 20 kB/s)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 24.268 s
[INFO] Finished at: 2018-05-14T09:48:41+02:00
[INFO] Final Memory: 29M/406M
[INFO] ------------------------------------------------------------------------
[Pipeline] sh
[appng-standalone] Running shell script
+ cp target/appng-standalone-1.17.1.zip /srv/www/appng.org/appng/builds/stable
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Results)
[Pipeline] junit
Recording test results
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Docs)
[Pipeline] dir
Running in /var/lib/jenkins/workspace/appNG_Release/appng
[Pipeline] {
[Pipeline] sh
[appng] Running shell script
+ rm -rf /srv/www/appng.org/appng/docs/1.17.1
[Pipeline] sh
[appng] Running shell script
+ mkdir --parents /srv/www/appng.org/appng/docs/1.17.1/javadoc
[Pipeline] sh
[appng] Running shell script
+ mkdir --parents /srv/www/appng.org/appng/docs/1.17.1/reference
[Pipeline] sh
[appng] Running shell script
+ mkdir --parents /srv/www/appng.org/appng/docs/1.17.1/appngizer/html
[Pipeline] sh
[appng] Running shell script
+ mkdir --parents /srv/www/appng.org/appng/docs/1.17.1/appngizer/pdf
[Pipeline] sh
[appng] Running shell script
+ mv -f target/site/apidocs/allclasses-frame.html target/site/apidocs/allclasses-noframe.html target/site/apidocs/appng-javadoc.css target/site/apidocs/constant-values.html target/site/apidocs/deprecated-list.html target/site/apidocs/help-doc.html target/site/apidocs/index-all.html target/site/apidocs/index.html target/site/apidocs/org target/site/apidocs/overview-frame.html target/site/apidocs/overview-summary.html target/site/apidocs/overview-tree.html target/site/apidocs/package-list target/site/apidocs/resources target/site/apidocs/script.js target/site/apidocs/serialized-form.html /srv/www/appng.org/appng/docs/1.17.1/javadoc
[Pipeline] sh
[appng] Running shell script
+ mv -f appng-documentation/target/generated-docs/html /srv/www/appng.org/appng/docs/1.17.1/reference
[Pipeline] sh
[appng] Running shell script
+ mv -f appng-documentation/target/generated-docs/pdf /srv/www/appng.org/appng/docs/1.17.1/reference
[Pipeline] sh
[appng] Running shell script
+ mv -f appng-appngizer/target/generated-docs/pdf/appngizer-platform-installation-guide.pdf appng-appngizer/target/generated-docs/pdf/appngizer-setup-guide.pdf appng-appngizer/target/generated-docs/pdf/appngizer-user-manual.pdf /srv/www/appng.org/appng/docs/1.17.1/appngizer/pdf/
[Pipeline] sh
[appng] Running shell script
+ mv -f appng-appngizer/target/generated-docs/html/appng.css appng-appngizer/target/generated-docs/html/appngizer-platform-installation-guide.html appng-appngizer/target/generated-docs/html/appngizer-setup-guide.html appng-appngizer/target/generated-docs/html/appngizer-user-manual.html appng-appngizer/target/generated-docs/html/coderay-asciidoctor.css appng-appngizer/target/generated-docs/html/images appng-appngizer/target/generated-docs/html/parts appng-appngizer/target/generated-docs/html/xml /srv/www/appng.org/appng/docs/1.17.1/appngizer/html/
[Pipeline] sh
[appng] Running shell script
+ ln -sfn /srv/www/appng.org/appng/docs/1.17.1 /srv/www/appng.org/appng/docs/current
[Pipeline] sh
[appng] Running shell script
+ rm -rf /srv/www/appng.org/appng/docs/1.17.1/appngizer/html/parts
[Pipeline] sh
[appng] Running shell script
+ rm -rf /srv/www/appng.org/appng/docs/1.17.1/appngizer/html/xml
[Pipeline] sh
[appng] Running shell script
+ cp appng-xmlapi/target/classes/appng-application.xsd /srv/www/appng.org/schema/application/appng-application-1.17.1.xsd
[Pipeline] sh
[appng] Running shell script
+ cp appng-xmlapi/target/classes/appng-platform.xsd /srv/www/appng.org/schema/platform/appng-platform-1.17.1.xsd
[Pipeline] sh
[appng] Running shell script
+ cp appng-appngizer-jaxb/target/classes/appngizer.xsd /srv/www/appng.org/schema/appngizer/appngizer-1.17.1.xsd
[Pipeline] sh
[appng] Running shell script
+ cp appng-xmlapi/target/classes/appng-application.xsd /srv/www/appng.org/schema/application/appng-application.xsd
[Pipeline] sh
[appng] Running shell script
+ cp appng-xmlapi/target/classes/appng-platform.xsd /srv/www/appng.org/schema/platform/appng-platform.xsd
[Pipeline] sh
[appng] Running shell script
+ cp appng-appngizer-jaxb/target/classes/appngizer.xsd /srv/www/appng.org/schema/appngizer/appngizer.xsd
[Pipeline] }
[Pipeline] // dir
[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
[appng] Running shell script
+ git checkout master
Switched to branch 'master'
Your branch is up-to-date with 'origin/master'.
[Pipeline] sh
[appng] Running shell script
+ git merge --ff appng-1.17.x --strategy-option theirs
Updating ff78552..0e39aac
Fast-forward
CONTRIBUTING.adoc | 2 +-
Jenkinsfile | 59 +++++++
README.adoc | 11 +-
appng-api/pom.xml | 2 +-
.../src/main/java/org/appng/api/Platform.java | 15 +-
appng-api/src/main/java/org/appng/api/Request.java | 8 +
.../src/main/java/org/appng/api/Webservice.java | 12 +-
.../java/org/appng/api/messaging/Messaging.java | 10 +-
.../java/org/appng/api/messaging/Serializer.java | 12 +-
.../api/support/ApplicationConfigProviderImpl.java | 30 +---
.../org/appng/api/support/ApplicationRequest.java | 12 +-
.../api/support/ApplicationResourceHolder.java | 24 +--
.../org/appng/api/support/HttpHeaderUtils.java | 135 ++++++++++++++-
.../java/org/appng/api/support/OptionImpl.java | 2 +-
.../java/org/appng/api/support/OptionImplTest.java | 9 +
.../org/appng/api/support/OptionsImplTest.java | 1 +
appng-application-assembly/pom.xml | 2 +-
appng-application-bom/pom.xml | 40 +++--
appng-application-camunda/README.adoc | 4 +-
appng-application-camunda/pom.xml | 2 +-
appng-application-parent/pom.xml | 12 +-
appng-application/README.adoc | 4 +-
appng-application/pom.xml | 2 +-
appng-appngizer-jaxb/pom.xml | 2 +-
appng-appngizer-maven-plugin/pom.xml | 12 +-
appng-appngizer/pom.xml | 5 +-
appng-appngizer/src/main/asciidoc/appng.css | 4 +-
.../src/main/webapp/WEB-INF/appNGizer-servlet.xml | 3 +-
.../controller/PlatformPropertyControllerTest.java | 8 +-
.../test/resources/xml/platform-property-list.xml | 6 +
appng-archetype-application/pom.xml | 2 +-
appng-archetype-application/readme.txt | 2 +-
.../src/main/resources/archetype-resources/pom.xml | 2 +-
appng-camunda/pom.xml | 2 +-
appng-cli/pom.xml | 2 +-
.../main/java/org/appng/cli/CliEventProvider.java | 7 +-
.../appng/cli/commands/site/CheckSiteRunning.java | 12 +-
.../appng/cli/commands/subject/CreateSubject.java | 56 ++++---
.../org/appng/cli/CliCoreDBNotInitializedTest.java | 5 +-
.../src/test/java/org/appng/cli/CliCoreTest.java | 5 +-
.../appng/cli/commands/AbstractCommandTest.java | 9 +-
.../property/CommandListPropertiesTest.java | 4 +-
.../commands/subject/CommandCreateSubjectTest.java | 100 +++++++++--
appng-cli/src/test/resources/cliContext-test.xml | 8 +-
appng-cli/src/test/resources/log4j.properties | 8 +-
appng-core/pom.xml | 2 +-
.../org/appng/core/controller/PlatformStartup.java | 16 +-
.../org/appng/core/controller/SessionListener.java | 7 +
.../core/controller/handler/ErrorPageHandler.java | 40 +++--
.../appng/core/controller/handler/RestService.java | 46 +++--
.../controller/handler/ServiceRequestHandler.java | 26 +--
.../core/controller/messaging/TribesSender.java | 6 +-
.../org/appng/core/domain/DatabaseConnection.java | 45 +++--
.../appng/core/domain/PlatformEventListener.java | 95 ++++++-----
.../java/org/appng/core/domain/ResourceImpl.java | 5 +-
.../main/java/org/appng/core/model/JarInfo.java | 15 +-
.../org/appng/core/model/RepositoryCacheSoap.java | 6 +-
.../org/appng/core/model/ThymeleafProcessor.java | 21 ++-
.../config/ApplicationPostProcessor.java | 17 +-
.../core/security/signing/CertChainValidator.java | 7 +-
.../org/appng/core/security/signing/CertTools.java | 7 +-
.../java/org/appng/core/service/CoreService.java | 22 +--
.../org/appng/core/service/DatabaseService.java | 15 +-
.../org/appng/core/service/InitializerService.java | 16 +-
.../org/appng/core/service/MigrationService.java | 5 +-
.../org/appng/core/service/PropertySupport.java | 10 +-
.../org/appng/core/service/TemplateService.java | 89 +++++-----
.../org/appng/core/platform-config.properties | 1 +
.../handler/ServiceRequestHandlerTest.java | 86 +++++++++-
.../org/appng/core/domain/ResourceImplTest.java | 43 +++++
.../appng/core/model/PlatformTransformerTest.java | 2 +-
.../appng/core/model/ThymeleafProcessorTest.java | 12 ++
.../core/repository/AbstractRepositoryTest.java | 9 +-
.../config/ApplicationPostProcessorTest.java | 60 +++++++
.../org/appng/core/service/CoreServiceTest.java | 5 +-
.../appng/core/service/DatabaseServiceTest.java | 34 +---
.../appng/core/service/InitializerServiceTest.java | 32 +---
.../appng/core/service/TemplateServiceTest.java | 16 +-
.../org/appng/core/service/TestInitializer.java | 5 +-
appng-core/src/test/resources/platformContext.xml | 11 +-
.../xml/ThymeleafProcessorTest-platform.xml | 14 +-
appng-documentation/pom.xml | 3 +-
appng-documentation/src/main/asciidoc/appng.css | 4 +-
.../src/main/asciidoc/listing/dependencies.txt | 8 +-
.../src/main/asciidoc/parts/api.adoc | 44 +++--
.../src/main/asciidoc/parts/jsp.adoc | 2 +-
appng-forms/pom.xml | 2 +-
appng-formtags/pom.xml | 2 +-
appng-mail/pom.xml | 2 +-
appng-maven-plugin/README.adoc | 4 +-
appng-maven-plugin/pom.xml | 2 +-
appng-persistence/pom.xml | 2 +-
.../repository/EnversRepositoryConfiguration.java | 4 -
.../repository/EnversSearchRepositoryTest.java | 7 -
.../repository/QueryDslSearchRepositoryTest.java | 6 -
.../repository/RepositoryConfiguration.java | 35 ++--
.../persistence/repository/SearchQueryTest.java | 11 +-
.../repository/SearchRepositoryTest.java | 9 +-
.../src/test/resources/META-INF/persistence.xml | 3 +-
appng-search/pom.xml | 2 +-
.../org/appng/search/indexer/DocumentIndexer.java | 12 +-
.../appng/search/indexer/FileSystemProvider.java | 22 ++-
.../java/org/appng/search/indexer/ParseTags.java | 7 +-
appng-standalone/pom.xml | 2 +-
appng-taglib/pom.xml | 2 +-
.../main/java/org/appng/taglib/search/Search.java | 20 +--
appng-template-assembly/pom.xml | 2 +-
appng-template-parent/pom.xml | 14 +-
appng-testsupport/pom.xml | 2 +-
.../main/java/org/appng/testsupport/TestBase.java | 55 ++++++
.../java/org/appng/testsupport/TestBaseTest.java | 89 ++++++++++
appng-tomcat7/pom.xml | 2 +-
appng-tomcat8/pom.xml | 2 +-
appng-tools/pom.xml | 2 +-
.../appng/tools/file/PropertyConstantCreator.java | 58 ++++---
.../tools/file/PropertyConstantCreatorTest.java | 41 +++++
appng-tools/src/test/resources/Constants.java | 8 +
appng-tools/src/test/resources/props.properties | 1 +
appng-upngizr/README.adoc | 11 +-
appng-upngizr/pom.xml | 2 +-
.../java/org/appng/upngizr/controller/UpNGizr.java | 3 +-
.../java/org/appng/upngizr/controller/Updater.java | 156 ++++++++++++-----
appng-upngizr/src/main/resources/updater.html | 4 +-
.../org/appng/upngizr/controller/UpdaterTest.java | 165 ++++++++++++++++--
appng-upngizr/src/test/resources/startpage.html | 106 ++++++++++++
appng-xmlapi/pom.xml | 2 +-
.../xml/ApplicationPropertyConstantCreator.java | 48 +++++-
.../xml/transformation/StyleSheetProvider.java | 27 +--
.../src/test/resources/ApplicationProperty.java | 2 +
appng-xmlapi/src/test/resources/pom.xml | 9 +
.../src/test/resources/xml/application.xml | 5 +-
changelog.txt | 186 +++++++++++++++++++++
pom.xml | 23 ++-
133 files changed, 2012 insertions(+), 752 deletions(-)
create mode 100644 Jenkinsfile
create mode 100644 appng-core/src/test/java/org/appng/core/domain/ResourceImplTest.java
create mode 100644 appng-core/src/test/java/org/appng/core/repository/config/ApplicationPostProcessorTest.java
create mode 100644 appng-testsupport/src/test/java/org/appng/testsupport/TestBaseTest.java
create mode 100644 appng-tools/src/test/java/org/appng/tools/file/PropertyConstantCreatorTest.java
create mode 100644 appng-tools/src/test/resources/Constants.java
create mode 100644 appng-tools/src/test/resources/props.properties
create mode 100644 appng-upngizr/src/test/resources/startpage.html
create mode 100644 appng-xmlapi/src/test/resources/pom.xml
create mode 100644 changelog.txt
[Pipeline] sh
[appng] Running shell script
+ git tag appng-1.17.1
[Pipeline] sh
[appng] Running shell script
+ git push origin appng-1.17.1
To git@github.com:appNG/appng.git
* [new tag] appng-1.17.1 -> appng-1.17.1
[Pipeline] sh
[appng] Running shell script
+ git push
warning: push.default is unset; its implicit value has changed in
Git 2.0 from 'matching' to 'simple'. To squelch this message
and maintain the traditional behavior, use:
git config --global push.default matching
To squelch this message and adopt the new behavior now, use:
git config --global push.default simple
When push.default is set to 'matching', git will push local branches
to the remote branches that already exist with the same name.
Since Git 2.0, Git defaults to the more conservative 'simple'
behavior, which only pushes the current branch to the corresponding
remote branch that 'git pull' uses to update the current branch.
See 'git help config' and search for 'push.default' for further information.
(the 'simple' mode was introduced in Git 1.7.11. Use the similar mode
'current' instead of 'simple' if you sometimes use older versions of Git)
To git@github.com:appNG/appng.git
ff78552..0e39aac master -> master
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (prepare next version)
[Pipeline] dir
Running in /var/lib/jenkins/workspace/appNG_Release/appng
[Pipeline] {
[Pipeline] sh
[appng] Running shell script
+ git show-ref --verify --quiet refs/heads/appng-1.18.x
+ echo -b
+ git checkout -b appng-1.18.x
Switched to a new branch 'appng-1.18.x'
[Pipeline] sh
[appng] Running shell script
+ sed -i s/1\.17\.1/1\.18\.0-SNAPSHOT/g pom.xml appng-api/pom.xml appng-application-assembly/pom.xml appng-application-bom/pom.xml appng-application-camunda/pom.xml appng-application-parent/pom.xml appng-application/pom.xml appng-appngizer-jaxb/pom.xml appng-appngizer-maven-plugin/pom.xml appng-appngizer/pom.xml appng-archetype-application/pom.xml appng-camunda/pom.xml appng-cli/pom.xml appng-core/pom.xml appng-documentation/pom.xml appng-forms/pom.xml appng-formtags/pom.xml appng-mail/pom.xml appng-maven-plugin/pom.xml appng-persistence/pom.xml appng-search/pom.xml appng-standalone/pom.xml appng-taglib/pom.xml appng-template-assembly/pom.xml appng-template-parent/pom.xml appng-testsupport/pom.xml appng-tomcat7/pom.xml appng-tomcat8/pom.xml appng-tools/pom.xml appng-upngizr/pom.xml appng-xmlapi/pom.xml appng-archetype-application/src/main/resources/archetype-resources/pom.xml appng-archetype-application/readme.txt appng-documentation/src/main/asciidoc/listing/dependencies.txt
[Pipeline] sh
[appng] Running shell script
+ sed -i s/:current: {stable}/:current: {snapshot}/g README.adoc appng-application-camunda/README.adoc appng-application/README.adoc appng-maven-plugin/README.adoc appng-upngizr/README.adoc
[Pipeline] sh
[appng] Running shell script
+ git status
On branch appng-1.18.x
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: README.adoc
modified: appng-api/pom.xml
modified: appng-application-assembly/pom.xml
modified: appng-application-bom/pom.xml
modified: appng-application-camunda/README.adoc
modified: appng-application-camunda/pom.xml
modified: appng-application-parent/pom.xml
modified: appng-application/README.adoc
modified: appng-application/pom.xml
modified: appng-appngizer-jaxb/pom.xml
modified: appng-appngizer-maven-plugin/pom.xml
modified: appng-appngizer/pom.xml
modified: appng-archetype-application/pom.xml
modified: appng-archetype-application/readme.txt
modified: appng-archetype-application/src/main/resources/archetype-resources/pom.xml
modified: appng-camunda/pom.xml
modified: appng-cli/pom.xml
modified: appng-core/pom.xml
modified: appng-documentation/pom.xml
modified: appng-documentation/src/main/asciidoc/listing/dependencies.txt
modified: appng-forms/pom.xml
modified: appng-formtags/pom.xml
modified: appng-mail/pom.xml
modified: appng-maven-plugin/README.adoc
modified: appng-maven-plugin/pom.xml
modified: appng-persistence/pom.xml
modified: appng-search/pom.xml
modified: appng-standalone/pom.xml
modified: appng-taglib/pom.xml
modified: appng-template-assembly/pom.xml
modified: appng-template-parent/pom.xml
modified: appng-testsupport/pom.xml
modified: appng-tomcat7/pom.xml
modified: appng-tomcat8/pom.xml
modified: appng-tools/pom.xml
modified: appng-upngizr/README.adoc
modified: appng-upngizr/pom.xml
modified: appng-xmlapi/pom.xml
modified: pom.xml
Untracked files:
(use "git add <file>..." to include in what will be committed)
appng-standalone/src/test/resources/xml/copyConfig.xml
no changes added to commit (use "git add" and/or "git commit -a")
[Pipeline] sh
[appng] Running shell script
+ git commit -a -m preparing next version 1.18.0-SNAPSHOT
[appng-1.18.x d7966e2] preparing next version 1.18.0-SNAPSHOT
39 files changed, 57 insertions(+), 57 deletions(-)
[Pipeline] sh
[appng] Running shell script
+ git push origin appng-1.18.x
To git@github.com:appNG/appng.git
* [new branch] appng-1.18.x -> appng-1.18.x
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
Finished: SUCCESS