See https://builds.apache.org/job/maven-box/job/maven-release/job/MRELEASE-1007/20/
Changes: * More verbose info about build exceptions * Verbose info about failure - add bit more * Revert: no access to currntBuild.rawBuild All tests passed Build log: [...truncated 17351 lines...] [INFO] run script verify.groovy [INFO] ..SUCCESS (4.9 s) [INFO] ------------------------------------------------- [INFO] Build Summary: [INFO] Passed: 5, Failed: 0, Errors: 0, Skipped: 0 [INFO] ------------------------------------------------- [INFO] [INFO] --- maven-invoker-plugin:2.0.0:run (integration-test-update-versions) @ maven-release-plugin --- [INFO] Building: projects\update-versions\MRELEASE-555\pom.xml ERROR: Cannot delete workspace :f:\jenkins\jenkins-slave\workspace\-box_maven-release_MRELEASE-1007\m\maven-release-plugin\target\invoker-reports\BUILD-projects_branch_MRELEASE-458.xml [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // node [Pipeline] } Failed in branch windows-jdk7 [INFO] run script verify.groovy [INFO] ..SUCCESS (5.3 s) [INFO] Building: projects\update-versions\MRELEASE-611\pom.xml [INFO] run script verify.groovy [INFO] ..SUCCESS (5.1 s) [INFO] Building: projects\update-versions\MRELEASE-783\pom.xml [INFO] ..SUCCESS (5.0 s) [INFO] Building: projects\update-versions\MRELEASE-976\pom.xml [INFO] run script verify.groovy [INFO] ..SUCCESS (5.5 s) [INFO] ------------------------------------------------- [INFO] Build Summary: [INFO] Passed: 4, Failed: 0, Errors: 0, Skipped: 0 [INFO] ------------------------------------------------- [INFO] [INFO] --- maven-checkstyle-plugin:2.15:check (checkstyle-check) @ maven-release-plugin --- [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Maven Release Odd-Even Policy 3.0.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ maven-release-oddeven-policy --- [INFO] [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-bytecode-version) @ maven-release-oddeven-policy --- [INFO] [INFO] --- maven-enforcer-plugin:1.3.1:enforce (ban-known-bad-maven-versions) @ maven-release-oddeven-policy --- [INFO] [INFO] --- apache-rat-plugin:0.11:check (rat-check) @ maven-release-oddeven-policy --- [INFO] 51 implicit excludes (use -debug for more details). [INFO] Exclude: .repository [INFO] Exclude: Jenkinsfile [INFO] Exclude: DEPENDENCIES [INFO] 4 resources included (use -debug for more details) [INFO] Rat check: Summary of files. Unapproved: 0 unknown: 0 generated: 0 approved: 4 licence. [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ maven-release-oddeven-policy --- [INFO] [INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ maven-release-oddeven-policy --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory F:\jenkins\jenkins-slave\workspace\-box_maven-release_MRELEASE-1007\m\maven-release-policies\maven-release-oddeven-policy\src\main\resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ maven-release-oddeven-policy --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 2 source files to F:\jenkins\jenkins-slave\workspace\-box_maven-release_MRELEASE-1007\m\maven-release-policies\maven-release-oddeven-policy\target\classes [INFO] [INFO] --- plexus-component-metadata:1.7.1:generate-metadata (process-classes) @ maven-release-oddeven-policy --- [INFO] Discovered 1 component descriptors(s) [INFO] [INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ maven-release-oddeven-policy --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory F:\jenkins\jenkins-slave\workspace\-box_maven-release_MRELEASE-1007\m\maven-release-policies\maven-release-oddeven-policy\src\test\resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.2:testCompile (default-testCompile) @ maven-release-oddeven-policy --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 1 source file to F:\jenkins\jenkins-slave\workspace\-box_maven-release_MRELEASE-1007\m\maven-release-policies\maven-release-oddeven-policy\target\test-classes [INFO] [INFO] --- maven-surefire-plugin:2.20.1:test (default-test) @ maven-release-oddeven-policy --- [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running org.apache.maven.shared.release.policy.oddeven.OddEvenVersionPolicyTestCase [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.152 s - in org.apache.maven.shared.release.policy.oddeven.OddEvenVersionPolicyTestCase [INFO] [INFO] Results: [INFO] [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] [INFO] --- maven-jar-plugin:2.5:jar (default-jar) @ maven-release-oddeven-policy --- [INFO] Building jar: F:\jenkins\jenkins-slave\workspace\-box_maven-release_MRELEASE-1007\m\maven-release-policies\maven-release-oddeven-policy\target\maven-release-oddeven-policy-3.0.0-SNAPSHOT.jar [INFO] [INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ maven-release-oddeven-policy --- [INFO] [INFO] --- maven-checkstyle-plugin:2.15:check (checkstyle-check) @ maven-release-oddeven-policy --- [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Maven Release SemVer Policy 3.0.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/semver/api/0.9.33/api-0.9.33.pom [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/semver/api/0.9.33/api-0.9.33.pom (2.8 kB at 113 kB/s) [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/semver/parent/0.9.33/parent-0.9.33.pom [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/semver/parent/0.9.33/parent-0.9.33.pom (1.3 kB at 50 kB/s) [INFO] Downloading from central: https://repo.maven.apache.org/maven2/com/github/jeluard/oss-parent/9/oss-parent-9.pom [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/com/github/jeluard/oss-parent/9/oss-parent-9.pom (12 kB at 390 kB/s) [INFO] Downloading from central: https://repo.maven.apache.org/maven2/com/google/code/findbugs/jsr305/2.0.0/jsr305-2.0.0.pom [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/com/google/code/findbugs/jsr305/2.0.0/jsr305-2.0.0.pom (965 B at 16 kB/s) [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/ow2/asm/asm/5.0.3/asm-5.0.3.pom [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/ow2/asm/asm/5.0.3/asm-5.0.3.pom (1.9 kB at 60 kB/s) [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/ow2/asm/asm-parent/5.0.3/asm-parent-5.0.3.pom [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/ow2/asm/asm-parent/5.0.3/asm-parent-5.0.3.pom (5.5 kB at 239 kB/s) [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/ow2/asm/asm-commons/5.0.3/asm-commons-5.0.3.pom [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/ow2/asm/asm-commons/5.0.3/asm-commons-5.0.3.pom (2.1 kB at 91 kB/s) [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/ow2/asm/asm-tree/5.0.3/asm-tree-5.0.3.pom [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/ow2/asm/asm-tree/5.0.3/asm-tree-5.0.3.pom (2.1 kB at 67 kB/s) [INFO] Downloading from central: https://repo.maven.apache.org/maven2/commons-lang/commons-lang/1.0/commons-lang-1.0.pom [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/commons-lang/commons-lang/1.0/commons-lang-1.0.pom (2.5 kB at 98 kB/s) [INFO] Downloading from central: https://repo.maven.apache.org/maven2/de/tototec/de.tototec.cmdoption/0.2.0/de.tototec.cmdoption-0.2.0.pom [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/de/tototec/de.tototec.cmdoption/0.2.0/de.tototec.cmdoption-0.2.0.pom (956 B at 40 kB/s) [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/semver/api/0.9.33/api-0.9.33.jar [INFO] Downloading from central: https://repo.maven.apache.org/maven2/com/google/code/findbugs/jsr305/2.0.0/jsr305-2.0.0.jar [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/ow2/asm/asm-commons/5.0.3/asm-commons-5.0.3.jar [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/ow2/asm/asm/5.0.3/asm-5.0.3.jar [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/ow2/asm/asm-tree/5.0.3/asm-tree-5.0.3.jar [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/ow2/asm/asm-tree/5.0.3/asm-tree-5.0.3.jar (29 kB at 968 kB/s) [INFO] Downloading from central: https://repo.maven.apache.org/maven2/commons-lang/commons-lang/1.0/commons-lang-1.0.jar [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/ow2/asm/asm/5.0.3/asm-5.0.3.jar (53 kB at 1.6 MB/s) [INFO] Downloading from central: https://repo.maven.apache.org/maven2/de/tototec/de.tototec.cmdoption/0.2.0/de.tototec.cmdoption-0.2.0.jar [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/ow2/asm/asm-commons/5.0.3/asm-commons-5.0.3.jar (42 kB at 1.2 MB/s) [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/semver/api/0.9.33/api-0.9.33.jar (64 kB at 1.6 MB/s) [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/commons-lang/commons-lang/1.0/commons-lang-1.0.jar (64 kB at 1.0 MB/s) [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/de/tototec/de.tototec.cmdoption/0.2.0/de.tototec.cmdoption-0.2.0.jar (42 kB at 180 kB/s) [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/com/google/code/findbugs/jsr305/2.0.0/jsr305-2.0.0.jar (32 kB at 96 kB/s) [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ maven-release-semver-policy --- [INFO] [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-bytecode-version) @ maven-release-semver-policy --- [INFO] [INFO] --- maven-enforcer-plugin:1.3.1:enforce (ban-known-bad-maven-versions) @ maven-release-semver-policy --- [INFO] [INFO] --- apache-rat-plugin:0.11:check (rat-check) @ maven-release-semver-policy --- [INFO] 51 implicit excludes (use -debug for more details). [INFO] Exclude: .repository [INFO] Exclude: Jenkinsfile [INFO] Exclude: DEPENDENCIES [INFO] 3 resources included (use -debug for more details) [INFO] Rat check: Summary of files. Unapproved: 0 unknown: 0 generated: 0 approved: 3 licence. [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ maven-release-semver-policy --- [INFO] [INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ maven-release-semver-policy --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory F:\jenkins\jenkins-slave\workspace\-box_maven-release_MRELEASE-1007\m\maven-release-policies\maven-release-semver-policy\src\main\resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ maven-release-semver-policy --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 1 source file to F:\jenkins\jenkins-slave\workspace\-box_maven-release_MRELEASE-1007\m\maven-release-policies\maven-release-semver-policy\target\classes [INFO] [INFO] --- plexus-component-metadata:1.7.1:generate-metadata (process-classes) @ maven-release-semver-policy --- [INFO] Discovered 1 component descriptors(s) [INFO] [INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ maven-release-semver-policy --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory F:\jenkins\jenkins-slave\workspace\-box_maven-release_MRELEASE-1007\m\maven-release-policies\maven-release-semver-policy\src\test\resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.2:testCompile (default-testCompile) @ maven-release-semver-policy --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 1 source file to F:\jenkins\jenkins-slave\workspace\-box_maven-release_MRELEASE-1007\m\maven-release-policies\maven-release-semver-policy\target\test-classes [INFO] [INFO] --- maven-surefire-plugin:2.20.1:test (default-test) @ maven-release-semver-policy --- [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running org.apache.maven.shared.release.policy.semver.SemVerVersionPolicyTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.134 s - in org.apache.maven.shared.release.policy.semver.SemVerVersionPolicyTest [INFO] [INFO] Results: [INFO] [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] [INFO] --- maven-jar-plugin:2.5:jar (default-jar) @ maven-release-semver-policy --- [INFO] Building jar: F:\jenkins\jenkins-slave\workspace\-box_maven-release_MRELEASE-1007\m\maven-release-policies\maven-release-semver-policy\target\maven-release-semver-policy-3.0.0-SNAPSHOT.jar [INFO] [INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ maven-release-semver-policy --- [INFO] [INFO] --- maven-checkstyle-plugin:2.15:check (checkstyle-check) @ maven-release-semver-policy --- [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Maven Release ...................................... SUCCESS [ 34.833 s] [INFO] Maven Release APIs ................................. SUCCESS [ 9.489 s] [INFO] Maven Release Manager .............................. SUCCESS [02:25 min] [INFO] Maven Release Plugin ............................... SUCCESS [07:22 min] [INFO] Maven Release Odd-Even Policy ...................... SUCCESS [ 2.470 s] [INFO] Maven Release SemVer Policy ........................ SUCCESS [ 3.971 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 10:41 min [INFO] Finished at: 2019-01-31T10:44:32-08:00 [INFO] Final Memory: 78M/1216M [INFO] ------------------------------------------------------------------------ [INFO] [jenkins-event-spy] Generated F:\jenkins\jenkins-slave\workspace\-box_maven-release_MRELEASE-1007@tmp\withMavenab0a211a\maven-spy-20190131-103350-3895265134177593542517.log Picked up JAVA_TOOL_OPTIONS: -Dmaven.ext.class.path="f:\jenkins\jenkins-slave\workspace\-box_maven-release_MRELEASE-1007@tmp\withMavenab0a211a\pipeline-maven-spy.jar" -Dorg.jenkinsci.plugins.pipeline.maven.reportsFolder="f:\jenkins\jenkins-slave\workspace\-box_maven-release_MRELEASE-1007@tmp\withMavenab0a211a" [Pipeline] } [Pipeline] // dir [Pipeline] } [withMaven] invokerPublisher - Archive invoker results for Maven artifact MavenArtifact{org.apache.maven.plugins:maven-release-plugin:maven-plugin:3.0.0-SNAPSHOT(version: 3.0.0-SNAPSHOT, snapshot:false) } generated by PluginInvocation{org.apache.maven.plugins:maven-invoker-plugin:2.0.0@run integration-test-prepare}: m\maven-release-plugin\target\invoker-reports\*.xml [withMaven] invokerPublisher - Archive invoker results for Maven artifact MavenArtifact{org.apache.maven.plugins:maven-release-plugin:maven-plugin:3.0.0-SNAPSHOT(version: 3.0.0-SNAPSHOT, snapshot:false) } generated by PluginInvocation{org.apache.maven.plugins:maven-invoker-plugin:2.0.0@run integration-test-prepare-with-pom}: m\maven-release-plugin\target\invoker-reports\*.xml [withMaven] invokerPublisher - Archive invoker results for Maven artifact MavenArtifact{org.apache.maven.plugins:maven-release-plugin:maven-plugin:3.0.0-SNAPSHOT(version: 3.0.0-SNAPSHOT, snapshot:false) } generated by PluginInvocation{org.apache.maven.plugins:maven-invoker-plugin:2.0.0@run integration-test-branch}: m\maven-release-plugin\target\invoker-reports\*.xml [withMaven] invokerPublisher - Archive invoker results for Maven artifact MavenArtifact{org.apache.maven.plugins:maven-release-plugin:maven-plugin:3.0.0-SNAPSHOT(version: 3.0.0-SNAPSHOT, snapshot:false) } generated by PluginInvocation{org.apache.maven.plugins:maven-invoker-plugin:2.0.0@run integration-test-perform}: m\maven-release-plugin\target\invoker-reports\*.xml [withMaven] invokerPublisher - Archive invoker results for Maven artifact MavenArtifact{org.apache.maven.plugins:maven-release-plugin:maven-plugin:3.0.0-SNAPSHOT(version: 3.0.0-SNAPSHOT, snapshot:false) } generated by PluginInvocation{org.apache.maven.plugins:maven-invoker-plugin:2.0.0@run integration-test-update-versions}: m\maven-release-plugin\target\invoker-reports\*.xml [withMaven] junitPublisher - Archive test results for Maven artifact org.apache.maven.release:maven-release-api:jar:3.0.0-SNAPSHOT generated by maven-surefire-plugin:test (default-test): m\maven-release-api\target\surefire-reports\*.xml Recording test results None of the test reports contained any result [withMaven] junitPublisher - Archive test results for Maven artifact org.apache.maven.release:maven-release-manager:jar:3.0.0-SNAPSHOT generated by maven-surefire-plugin:test (default-test): m\maven-release-manager\target\surefire-reports\*.xml Recording test results [withMaven] junitPublisher - Archive test results for Maven artifact org.apache.maven.plugins:maven-release-plugin:maven-plugin:3.0.0-SNAPSHOT generated by maven-surefire-plugin:test (default-test): m\maven-release-plugin\target\surefire-reports\*.xml Recording test results [withMaven] junitPublisher - Archive test results for Maven artifact org.apache.maven.release:maven-release-oddeven-policy:jar:3.0.0-SNAPSHOT generated by maven-surefire-plugin:test (default-test): m\maven-release-policies\maven-release-oddeven-policy\target\surefire-reports\*.xml Recording test results [withMaven] junitPublisher - Archive test results for Maven artifact org.apache.maven.release:maven-release-semver-policy:jar:3.0.0-SNAPSHOT generated by maven-surefire-plugin:test (default-test): m\maven-release-policies\maven-release-semver-policy\target\surefire-reports\*.xml Recording test results [withMaven] junitPublisher - Archive test results for Maven artifact org.apache.maven.release:maven-release-manager:jar:3.0.0-SNAPSHOT generated by maven-failsafe-plugin:integration-test (default): m\maven-release-manager\target\failsafe-reports\*.xml Recording test results [withMaven] Publishers: Pipeline Graph Publisher: 6 ms, Invoker Publisher: 96015 ms, Junit Publisher: 3407 ms, Dependencies Fingerprint Publisher: 280 ms, JGiven Publisher: 1 ms [withMaven] One or multiple Maven executions have been ignored by the Jenkins Pipeline Maven Plugin because they have been interrupted before completion (1). See Pipeline Maven Plugin FAQ for more details. [Pipeline] // withMaven [Pipeline] cleanWs [WS-CLEANUP] Deleting project workspace... [WS-CLEANUP] Deferred wipeout is used... ERROR: Cannot delete workspace :f:\jenkins\jenkins-slave\workspace\-box_maven-release_MRELEASE-1007\m\maven-release-plugin\target\invoker-reports\BUILD-projects_branch_MRELEASE-458.xml [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // node [Pipeline] } Failed in branch windows-jdk8 [Pipeline] // parallel [Pipeline] echo [FAILURE-001] org.jenkinsci.plugins.scriptsecurity.sandbox.RejectedAccessException: Scripts not permitted to use method org.jenkinsci.plugins.workflow.support.steps.build.RunWrapper getRawBuild [Pipeline] stage [Pipeline] { (Notifications) [Pipeline] echo Build result: FAILURE [Pipeline] jiraIssueSelector [Pipeline] emailext
