Started by user Matthias Mueller Obtained build-application.jenkins from git ssh://git@bitbucket.aiticon.net:7999/ac/appng-build.git [Pipeline] Start of Pipeline [Pipeline] node Running on Jenkins in /var/lib/jenkins/workspace/appNG_Scheduler_Release [Pipeline] { [Pipeline] tool [Pipeline] tool [Pipeline] stage [Pipeline] { (Info) [Pipeline] echo ############################################## [Pipeline] echo Preparing release 1.17.0 for appng-scheduler from branch appng-scheduler-1.17.x, current snapshot is 1.17.0-SNAPSHOT, next version will be 1.17.1-SNAPSHOT [Pipeline] echo ############################################## [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Prepare Release Branch) [Pipeline] sh + rm -rf appng-scheduler [Pipeline] sh + git clone git@github.com:appNG/appng-scheduler.git appng-scheduler Cloning into 'appng-scheduler'... [Pipeline] dir Running in /var/lib/jenkins/workspace/appNG_Scheduler_Release/appng-scheduler [Pipeline] { [Pipeline] sh + git checkout appng-scheduler-1.17.x Switched to a new branch 'appng-scheduler-1.17.x' Branch 'appng-scheduler-1.17.x' set up to track remote branch 'appng-scheduler-1.17.x' from 'origin'. [Pipeline] sh + sed -i s/1\.17\.0-SNAPSHOT/1\.17\.0/g pom.xml [Pipeline] sh + git status On branch appng-scheduler-1.17.x Your branch is up to date with 'origin/appng-scheduler-1.17.x'. Changes not staged for commit: (use "git add <file>..." to update what will be committed) (use "git restore <file>..." to discard changes in working directory) modified: pom.xml no changes added to commit (use "git add" and/or "git commit -a") [Pipeline] sh + git commit -a -m preparing release 1.17.0 [appng-scheduler-1.17.x f634346] preparing release 1.17.0 1 file changed, 1 insertion(+), 1 deletion(-) [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Release Branch) [Pipeline] dir Running in /var/lib/jenkins/workspace/appNG_Scheduler_Release/appng-scheduler [Pipeline] { [Pipeline] sh + /var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.6.3/bin/mvn -version Apache Maven 3.8.6 (84538c9988a25aec085021c365c560670ad80f63) Maven home: /var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.6.3 Java version: 17.0.6, vendor: Eclipse Adoptium, runtime: /var/lib/jenkins/tools/hudson.model.JDK/OpenJDK17/jdk-17.0.6+10 Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "5.10.0-19-amd64", arch: "amd64", family: "unix" [Pipeline] sh + /var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.6.3/bin/mvn clean deploy -DoutFolder=/srv/www/appng.org/appng/builds/stable -Pmaven-central [INFO] Scanning for projects... [INFO] Inspecting build with total of 1 modules... [INFO] Installing Nexus Staging features: [INFO] ... total of 1 executions of maven-deploy-plugin replaced with nexus-staging-maven-plugin [INFO] [INFO] ---------------------< org.appng:appng-scheduler >---------------------- [INFO] Building Scheduler 1.17.0 [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ appng-scheduler --- [INFO] [INFO] --- openapi-generator-maven-plugin:5.3.0:generate (rest-api) @ appng-scheduler --- [INFO] Generating with dryRun=false [INFO] Output directory (/var/lib/jenkins/workspace/appNG_Scheduler_Release/appng-scheduler/target/generated-sources/openapi) does not exist, or is inaccessible. No file (.openapi-generator-ignore) will be evaluated. [INFO] OpenAPI Generator: spring (server) [INFO] Generator 'spring' is considered stable. [INFO] ---------------------------------- [WARNING] java8 option has been deprecated as it's set to true by default (JDK7 support has been deprecated) [INFO] Set base package to invoker package (org.appng.scheduler.openapi.invoke) [INFO] Environment variable JAVA_POST_PROCESS_FILE not defined so the Java code may not be properly formatted. To define it, try 'export JAVA_POST_PROCESS_FILE="/usr/local/bin/clang-format -i"' (Linux/Mac) [INFO] NOTE: To enable file post-processing, 'enablePostProcessFile' must be set to `true` (--enable-post-process-file for CLI). [INFO] Processing operation getJobState [INFO] Processing operation getJobs [INFO] 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/] [INFO] 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/] [INFO] 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/] [INFO] writing file /var/lib/jenkins/workspace/appNG_Scheduler_Release/appng-scheduler/target/generated-sources/openapi/src/main/java/org/appng/scheduler/openapi/model/Job.java [INFO] writing file /var/lib/jenkins/workspace/appNG_Scheduler_Release/appng-scheduler/target/generated-sources/openapi/src/main/java/org/appng/scheduler/openapi/model/JobRecord.java [INFO] writing file /var/lib/jenkins/workspace/appNG_Scheduler_Release/appng-scheduler/target/generated-sources/openapi/src/main/java/org/appng/scheduler/openapi/model/JobState.java [INFO] writing file /var/lib/jenkins/workspace/appNG_Scheduler_Release/appng-scheduler/target/generated-sources/openapi/src/main/java/org/appng/scheduler/openapi/model/Jobs.java [INFO] 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/] [INFO] writing file /var/lib/jenkins/workspace/appNG_Scheduler_Release/appng-scheduler/target/generated-sources/openapi/src/main/java/org/appng/scheduler/openapi/JobStateApi.java [INFO] 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/] [INFO] writing file /var/lib/jenkins/workspace/appNG_Scheduler_Release/appng-scheduler/target/generated-sources/openapi/pom.xml [INFO] writing file /var/lib/jenkins/workspace/appNG_Scheduler_Release/appng-scheduler/target/generated-sources/openapi/README.md [INFO] writing file /var/lib/jenkins/workspace/appNG_Scheduler_Release/appng-scheduler/target/generated-sources/openapi/src/main/java/org/appng/scheduler/openapi/ApiUtil.java [INFO] writing file /var/lib/jenkins/workspace/appNG_Scheduler_Release/appng-scheduler/target/generated-sources/openapi/.openapi-generator-ignore [INFO] writing file /var/lib/jenkins/workspace/appNG_Scheduler_Release/appng-scheduler/target/generated-sources/openapi/.openapi-generator/VERSION [INFO] writing file /var/lib/jenkins/workspace/appNG_Scheduler_Release/appng-scheduler/target/generated-sources/openapi/.openapi-generator/FILES ################################################################################ # Thanks for using OpenAPI Generator. # # Please consider donation to help us maintain this project 🙏 # # https://opencollective.com/openapi_generator/donate # ################################################################################ [INFO] [INFO] --- build-helper-maven-plugin:3.0.0:add-source (default) @ appng-scheduler --- [INFO] Source directory: /var/lib/jenkins/workspace/appNG_Scheduler_Release/appng-scheduler/target/generated-sources/constants added. [INFO] Source directory: /var/lib/jenkins/workspace/appNG_Scheduler_Release/appng-scheduler/target/generated-sources/openapi/src/main/java added. [INFO] [INFO] --- appng-maven-plugin:1.25.0:generateApplicationConstants (applicationConstants) @ appng-scheduler --- [INFO] generate application constants for [/var/lib/jenkins/workspace/appNG_Scheduler_Release/appng-scheduler/application-home/application.xml, org.appng.application.scheduler.PropertyConstants, /var/lib/jenkins/workspace/appNG_Scheduler_Release/appng-scheduler/target/generated-sources/constants] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 6.650 s [INFO] Finished at: 2023-04-26T14:18:34+02:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.appng:appng-maven-plugin:1.25.0:generateApplicationConstants (applicationConstants) on project appng-scheduler: Execution applicationConstants of goal org.appng:appng-maven-plugin:1.25.0:generateApplicationConstants failed: An API incompatibility was encountered while executing org.appng:appng-maven-plugin:1.25.0:generateApplicationConstants: java.lang.ExceptionInInitializerError: null [ERROR] ----------------------------------------------------- [ERROR] realm = plugin>org.appng:appng-maven-plugin:1.25.0 [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy [ERROR] urls[0] = file:/var/lib/jenkins/.m2/repository/org/appng/appng-maven-plugin/1.25.0/appng-maven-plugin-1.25.0.jar [ERROR] urls[1] = file:/var/lib/jenkins/.m2/repository/org/appng/appng-xmlapi/1.25.0/appng-xmlapi-1.25.0.jar [ERROR] urls[2] = file:/var/lib/jenkins/.m2/repository/org/slf4j/slf4j-log4j12/1.7.26/slf4j-log4j12-1.7.26.jar [ERROR] urls[3] = file:/var/lib/jenkins/.m2/repository/log4j/log4j/1.2.17/log4j-1.2.17.jar [ERROR] urls[4] = file:/var/lib/jenkins/.m2/repository/org/apache/commons/commons-lang3/3.12.0/commons-lang3-3.12.0.jar [ERROR] urls[5] = file:/var/lib/jenkins/.m2/repository/net/sf/saxon/Saxon-HE/10.6/Saxon-HE-10.6.jar [ERROR] urls[6] = file:/var/lib/jenkins/.m2/repository/javax/xml/bind/jaxb-api/2.3.1/jaxb-api-2.3.1.jar [ERROR] urls[7] = file:/var/lib/jenkins/.m2/repository/commons-io/commons-io/2.6/commons-io-2.6.jar [ERROR] urls[8] = file:/var/lib/jenkins/.m2/repository/javax/enterprise/cdi-api/1.0/cdi-api-1.0.jar [ERROR] urls[9] = file:/var/lib/jenkins/.m2/repository/javax/annotation/jsr250-api/1.0/jsr250-api-1.0.jar [ERROR] urls[10] = file:/var/lib/jenkins/.m2/repository/org/eclipse/sisu/org.eclipse.sisu.inject/0.3.2/org.eclipse.sisu.inject-0.3.2.jar [ERROR] urls[11] = file:/var/lib/jenkins/.m2/repository/org/apache/maven/maven-builder-support/3.3.9/maven-builder-support-3.3.9.jar [ERROR] urls[12] = file:/var/lib/jenkins/.m2/repository/com/google/guava/guava/31.0.1-jre/guava-31.0.1-jre.jar [ERROR] urls[13] = file:/var/lib/jenkins/.m2/repository/org/eclipse/aether/aether-util/1.0.2.v20150114/aether-util-1.0.2.v20150114.jar [ERROR] urls[14] = file:/var/lib/jenkins/.m2/repository/com/google/inject/guice/4.0/guice-4.0-no_aop.jar [ERROR] urls[15] = file:/var/lib/jenkins/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.21/plexus-interpolation-1.21.jar [ERROR] urls[16] = file:/var/lib/jenkins/.m2/repository/org/codehaus/plexus/plexus-utils/3.1.0/plexus-utils-3.1.0.jar [ERROR] urls[17] = file:/var/lib/jenkins/.m2/repository/org/codehaus/plexus/plexus-component-annotations/1.6/plexus-component-annotations-1.6.jar [ERROR] urls[18] = file:/var/lib/jenkins/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar [ERROR] urls[19] = file:/var/lib/jenkins/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar [ERROR] urls[20] = file:/var/lib/jenkins/.m2/repository/org/sonatype/plexus/plexus-build-api/0.0.7/plexus-build-api-0.0.7.jar [ERROR] Number of foreign imports: 1 [ERROR] import: Entry[import from realm ClassRealm[project>org.appng:appng-scheduler:1.17.0, parent: ClassRealm[maven.api, parent: null]]] [ERROR] [ERROR] ----------------------------------------------------- [ERROR] : error while creating JAXBContext for path 'org.appng.xml.platform' [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginContainerException [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline ERROR: script returned exit code 1 Finished: FAILURE