Started by user Matthias Mueller [Pipeline] Start of Pipeline [Pipeline] node Running on Jenkins in /var/lib/jenkins/workspace/appNG_Scheduler_Release [Pipeline] { [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 ..." to update what will be committed) (use "git restore ..." 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 9f625e3] 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 clean deploy -DoutFolder=/srv/www/appng.org/appng/builds/stable -Pmaven-central The JAVA_HOME environment variable is not defined correctly, this environment variable is needed to run this program. [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline ERROR: script returned exit code 1 Finished: FAILURE