See https://builds.apache.org/job/maven-box/job/maven-archetype/job/buildfix/31/

Changes:

* [INFRA-18734] Jenkins builds fail on email notifications due to unknown
* Scripts not permitted to use staticMethod
* excluded message body from the log message
* NotSerializableException: hudson.plugins.git.GitChangeSetList
* investigating permissions to the call 'ChangeSetList.author'
* NotSerializableException: hudson.plugins.git.GitChangeSetList
* [INFRA-18734] Jenkins builds fail on email notifications due to unknown
* Prevent Caused: java.io.NotSerializableException: hudson.model.User
* [INFRA-18734] Jenkins builds fail on email notifications due to unknown
* last() cannot be called on []
* [improvement] currentBuild.changeSets can be referenced as changes
* moved the fix of INFRA-18734 to jenkinsNotify

All tests passed

Build log:
[...truncated 20961 lines...]
Skipping warnings blame since pipelines do not have an SCM link.%n
[TASKS] Computing warning deltas based on reference build #29
[withMaven] invokerPublisher - Archive invoker results for Maven artifact 
MavenArtifact{org.apache.maven.plugins:maven-archetype-plugin:maven-plugin:3.1.2-SNAPSHOT(version:
 3.1.2-SNAPSHOT, snapshot:false) } generated by 
PluginInvocation{org.apache.maven.plugins:maven-invoker-plugin:3.2.0@integration-test
  invoker-it}: j12m3.6.xb\maven-archetype-plugin\target\invoker-reports\*.xml
[withMaven] Publishers: Generated Artifacts Publisher: 5794 ms, Junit 
Publisher: 8094 ms, Open Task Scanner Publisher: 3570 ms, Dependencies 
Fingerprint Publisher: 1525 ms, Invoker Publisher: 26786 ms, Pipeline Graph 
Publisher: 3 ms
[Pipeline] // withMaven
[Pipeline] cleanWs
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[WS-CLEANUP] done
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // ws
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[withMaven] Publishers: Generated Artifacts Publisher: 509 ms, Junit Publisher: 
668 ms, Open Task Scanner Publisher: 292 ms, Dependencies Fingerprint 
Publisher: 67 ms, Invoker Publisher: 16417 ms, Pipeline Graph Publisher: 5 ms
[Pipeline] // withMaven
[Pipeline] dir
Running in F:\short\jenkins-maven-box-maven-archetype-buildfix-31\j11m3.6.xb
[Pipeline] {
[Pipeline] zip
Writing zip file of 
F:\short\jenkins-maven-box-maven-archetype-buildfix-31\j11m3.6.xb\maven-archetype-plugin\target\it\projects
 to 
F:\short\jenkins-maven-box-maven-archetype-buildfix-31\j11m3.6.xb\archetype-plugin-its-j11m3.6.xb.zip
[INFO] run post-build script verify.groovy
Zipped 2620 entries.
Archiving 
F:\short\jenkins-maven-box-maven-archetype-buildfix-31\j11m3.6.xb\archetype-plugin-its-j11m3.6.xb.zip
[INFO]           change-file-with-property/pom.xml ................ SUCCESS 
(13.8 s)
[INFO] Building: create-1/pom.xml
[withMaven] Publishers: Generated Artifacts Publisher: 358 ms, Junit Publisher: 
345 ms, Open Task Scanner Publisher: 312 ms, Dependencies Fingerprint 
Publisher: 64 ms, Invoker Publisher: 15165 ms, Pipeline Graph Publisher: 4 ms
[Pipeline] // withMaven
[Pipeline] cleanWs
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[WS-CLEANUP] done
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // ws
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[withMaven] Publishers: Generated Artifacts Publisher: 386 ms, Junit Publisher: 
374 ms, Open Task Scanner Publisher: 332 ms, Dependencies Fingerprint 
Publisher: 67 ms, Invoker Publisher: 14979 ms, Pipeline Graph Publisher: 3 ms
[Pipeline] // withMaven
[Pipeline] cleanWs
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[WS-CLEANUP] done
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // ws
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] zip
Writing zip file of 
F:\short\jenkins-maven-box-maven-archetype-buildfix-31\j11m3.6.xb\maven-archetype-plugin\target\local-repo
 to 
F:\short\jenkins-maven-box-maven-archetype-buildfix-31\j11m3.6.xb\local-repo-j11m3.6.xb.zip
Zipped 417 entries.
Archiving 
F:\short\jenkins-maven-box-maven-archetype-buildfix-31\j11m3.6.xb\local-repo-j11m3.6.xb.zip
[Pipeline] zip
Writing zip file of 
F:\short\jenkins-maven-box-maven-archetype-buildfix-31\j11m3.6.xb\maven-archetype-plugin\target\mock-repo
 to 
F:\short\jenkins-maven-box-maven-archetype-buildfix-31\j11m3.6.xb\mock-repo-j11m3.6.xb.zip
Zipped 5 entries.
Archiving 
F:\short\jenkins-maven-box-maven-archetype-buildfix-31\j11m3.6.xb\mock-repo-j11m3.6.xb.zip
[Pipeline] zip
Writing zip file of 
F:\short\jenkins-maven-box-maven-archetype-buildfix-31\j11m3.6.xb\maven-archetype-plugin\target\archetype-repo
 to 
F:\short\jenkins-maven-box-maven-archetype-buildfix-31\j11m3.6.xb\archetype-repo-j11m3.6.xb.zip
Zipped 5 entries.
Archiving 
F:\short\jenkins-maven-box-maven-archetype-buildfix-31\j11m3.6.xb\archetype-repo-j11m3.6.xb.zip
[Pipeline] }
[Pipeline] // dir
[Pipeline] cleanWs
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[WS-CLEANUP] done
[Pipeline] cleanWs
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[WS-CLEANUP] done
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // ws
[Pipeline] }
[Pipeline] // node
[Pipeline] }
Failed in branch windows-jdk11-m3.6.x_build
[INFO] run post-build script verify.groovy
[INFO]           create-1/pom.xml ................................. SUCCESS 
(10.5 s)
[INFO] Building: build-archetype/pom.xml
[INFO] run pre-build script setup.bsh
[INFO] run post-build script verify.bsh
[INFO]           build-archetype/pom.xml .......................... SUCCESS 
(15.8 s)
[INFO] Building: ARCHETYPE-536_groovy-grape/pom.xml
[INFO] snapshot 
org.apache.maven.plugins.archetype.its:archetype536-archetype:1.0-SNAPSHOT: 
checking for updates from Nexus
[INFO] artifact 
org.apache.maven.plugins.archetype.its.archetype536-archetype:1.0-SNAPSHOT: 
checking for updates from central
[INFO] run post-build script verify.groovy
[INFO]           ARCHETYPE-536_groovy-grape/pom.xml ............... SUCCESS 
(21.6 s)
[INFO] Building: property-setting-cli/pom.xml
[INFO]           property-setting-cli/pom.xml ..................... SUCCESS 
(5.6 s)
[INFO] Building: exclude-patterns-2/pom.xml
[INFO] run post-build script verify.groovy
[INFO]           exclude-patterns-2/pom.xml ....................... SUCCESS 
(10.0 s)
[INFO] Building: create-2/pom.xml
[INFO]           create-2/pom.xml ................................. SUCCESS 
(10.8 s)
[INFO] Building: ARCHETYPE-520_mirror
[INFO] run post-build script verify.groovy
[INFO]           ARCHETYPE-520_mirror ............................. SUCCESS 
(4.8 s)
[INFO] Building: build-and-run-its/pom.xml
[INFO] run post-build script verify.bsh
[INFO]           build-and-run-its/pom.xml ........................ SUCCESS 
(16.7 s)
[INFO] Building: roundtrip-multi/pom.xml
[INFO] snapshot com.company.proficio:proficio-archetype:1.0-SNAPSHOT: checking 
for updates from Nexus
[INFO] artifact com.company.proficio.proficio-archetype:1.0-SNAPSHOT: checking 
for updates from central
[INFO] run post-build script verify.groovy
[INFO]           roundtrip-multi/pom.xml .......................... SUCCESS 
(23.4 s)
[INFO] Building: include-file-with-no-extension/pom.xml
[INFO] run post-build script verify.groovy
[INFO]           include-file-with-no-extension/pom.xml ........... SUCCESS 
(10.0 s)
[INFO] Building: create-6/pom.xml
[INFO] run post-build script verify.groovy
[INFO]           create-6/pom.xml ................................. SUCCESS 
(10.5 s)
[INFO] Building: create-from-project/pom.xml
[INFO] run post-build script verify.bsh
[INFO]           create-from-project/pom.xml ...................... SUCCESS 
(10.1 s)
[INFO] Building: create-5/pom.xml
[INFO] run post-build script verify.groovy
[INFO]           create-5/pom.xml ................................. SUCCESS 
(11.0 s)
[INFO] Building: create-4/pom.xml
[INFO] run post-build script verify.groovy
[INFO]           create-4/pom.xml ................................. SUCCESS 
(10.2 s)
[INFO] Building: roundtrip-1-project
[INFO] run post-build script verify.groovy
[INFO]           roundtrip-1-project .............................. SUCCESS 
(20.9 s)
[INFO] Building: build-ignore-eol/pom.xml
[INFO] run pre-build script setup.bsh
[INFO] run post-build script verify.bsh
[INFO]           build-ignore-eol/pom.xml ......................... SUCCESS 
(21.0 s)
[INFO] Building: ARCHETYPE-517_failing-goals
[INFO] run pre-build script setup.groovy
[INFO] run post-build script verify.groovy
[INFO]           ARCHETYPE-517_failing-goals ...................... SUCCESS 
(8.0 s)
[INFO] Building: included-system-properties/pom.xml
[INFO] run post-build script verify.groovy
[INFO]           included-system-properties/pom.xml ............... SUCCESS 
(10.3 s)
[INFO] Building: create-3/pom.xml
[INFO] run post-build script verify.groovy
[INFO]           create-3/pom.xml ................................. SUCCESS 
(10.9 s)
[INFO] Building: exclude-patterns/pom.xml
[INFO] run post-build script verify.groovy
[INFO]           exclude-patterns/pom.xml ......................... SUCCESS 
(10.6 s)
[INFO] Building: ARCHETYPE-521_archetype-repo
[INFO] run post-build script verify.groovy
[INFO]           ARCHETYPE-521_archetype-repo ..................... SUCCESS 
(5.7 s)
[INFO] Building: ARCHETYPE-241_filter-directory/pom.xml
[INFO] snapshot 
org.apache.maven.plugins.archetype.its:archetype241-archetype:1.0-SNAPSHOT: 
checking for updates from Nexus
[INFO] artifact 
org.apache.maven.plugins.archetype.its.archetype241-archetype:1.0-SNAPSHOT: 
checking for updates from central
[INFO] run post-build script verify.groovy
[INFO]           ARCHETYPE-241_filter-directory/pom.xml ........... SUCCESS 
(12.0 s)
[INFO] 
[INFO] --- mrm-maven-plugin:1.2.0:stop (mirror) @ maven-archetype-plugin ---
[INFO] Stopping Mock Repository Manager on http://localhost:41873
[INFO] Stopped [email protected]:41873
[INFO] Mock Repository Manager http://localhost:41873 is stopped.
[INFO] 
[INFO] --- mrm-maven-plugin:1.2.0:stop (archetype-repository) @ 
maven-archetype-plugin ---
[INFO] Stopping Mock Repository Manager on http://localhost:42493
[INFO] Stopped [email protected]:42493
[INFO] Mock Repository Manager http://localhost:42493 is stopped.
[INFO] 
[INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @ 
maven-archetype-plugin ---
[INFO] There are 46 errors reported by Checkstyle 6.18 with 
config/maven_checks.xml ruleset.
[INFO] Ignored 46 errors, 0 violation remaining.
[INFO] 
[INFO] --- maven-invoker-plugin:3.2.0:verify (invoker-verify) @ 
maven-archetype-plugin ---
[INFO] -------------------------------------------------
[INFO] Build Summary:
[INFO]   Passed: 25, Failed: 0, Errors: 0, Skipped: 0
[INFO] -------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Maven Archetype .................................... SUCCESS [02:49 min]
[INFO] Maven Archetype Models ............................. SUCCESS [  0.745 s]
[INFO] Maven Archetype Catalog Model ...................... SUCCESS [ 30.276 s]
[INFO] Maven Archetype Descriptor Model ................... SUCCESS [  1.263 s]
[INFO] Maven Archetype Common ............................. SUCCESS [01:11 min]
[INFO] Maven Archetype Packaging .......................... SUCCESS [  0.659 s]
[INFO] Maven Archetype Plugin ............................. SUCCESS [06:55 min]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 11:31 min
[INFO] Finished at: 2019-08-12T19:24:38+00:00
[INFO] Final Memory: 68M/2904M
[INFO] ------------------------------------------------------------------------
[INFO] [jenkins-event-spy] Generated 
/home/jenkins/jenkins-slave/workspace/ven-box_maven-archetype_buildfix@2@tmp/withMavende6d84f0/maven-spy-20190812-191306-2942648599435287293216.log
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[withMaven] artifactsPublisher - Archive artifact 
linux-jdk7-m3.3.x_build/pom.xml under 
org/apache/maven/archetype/maven-archetype/3.1.2-SNAPSHOT/maven-archetype-3.1.2-SNAPSHOT.pom
[withMaven] artifactsPublisher - Archive artifact 
linux-jdk7-m3.3.x_build/target/maven-archetype-3.1.2-SNAPSHOT-site.xml under 
org/apache/maven/archetype/maven-archetype/3.1.2-SNAPSHOT/maven-archetype-3.1.2-SNAPSHOT-site.xml
[withMaven] artifactsPublisher - Archive artifact 
linux-jdk7-m3.3.x_build/archetype-models/pom.xml under 
org/apache/maven/archetype/archetype-models/3.1.2-SNAPSHOT/archetype-models-3.1.2-SNAPSHOT.pom
[withMaven] artifactsPublisher - Archive artifact 
linux-jdk7-m3.3.x_build/archetype-models/target/archetype-models-3.1.2-SNAPSHOT-site.xml
 under 
org/apache/maven/archetype/archetype-models/3.1.2-SNAPSHOT/archetype-models-3.1.2-SNAPSHOT-site.xml
[withMaven] artifactsPublisher - Archive artifact 
linux-jdk7-m3.3.x_build/archetype-models/archetype-catalog/pom.xml under 
org/apache/maven/archetype/archetype-catalog/3.1.2-SNAPSHOT/archetype-catalog-3.1.2-SNAPSHOT.pom
[withMaven] artifactsPublisher - Archive artifact 
linux-jdk7-m3.3.x_build/archetype-models/archetype-catalog/target/archetype-catalog-3.1.2-SNAPSHOT.jar
 under 
org/apache/maven/archetype/archetype-catalog/3.1.2-SNAPSHOT/archetype-catalog-3.1.2-SNAPSHOT.jar
[withMaven] artifactsPublisher - Archive artifact 
linux-jdk7-m3.3.x_build/archetype-models/archetype-descriptor/pom.xml under 
org/apache/maven/archetype/archetype-descriptor/3.1.2-SNAPSHOT/archetype-descriptor-3.1.2-SNAPSHOT.pom
[withMaven] artifactsPublisher - Archive artifact 
linux-jdk7-m3.3.x_build/archetype-models/archetype-descriptor/target/archetype-descriptor-3.1.2-SNAPSHOT.jar
 under 
org/apache/maven/archetype/archetype-descriptor/3.1.2-SNAPSHOT/archetype-descriptor-3.1.2-SNAPSHOT.jar
[withMaven] artifactsPublisher - Archive artifact 
linux-jdk7-m3.3.x_build/archetype-common/pom.xml under 
org/apache/maven/archetype/archetype-common/3.1.2-SNAPSHOT/archetype-common-3.1.2-SNAPSHOT.pom
[withMaven] artifactsPublisher - Archive artifact 
linux-jdk7-m3.3.x_build/archetype-common/target/archetype-common-3.1.2-SNAPSHOT.jar
 under 
org/apache/maven/archetype/archetype-common/3.1.2-SNAPSHOT/archetype-common-3.1.2-SNAPSHOT.jar
[withMaven] artifactsPublisher - Archive artifact 
linux-jdk7-m3.3.x_build/archetype-packaging/pom.xml under 
org/apache/maven/archetype/archetype-packaging/3.1.2-SNAPSHOT/archetype-packaging-3.1.2-SNAPSHOT.pom
[withMaven] artifactsPublisher - Archive artifact 
linux-jdk7-m3.3.x_build/archetype-packaging/target/archetype-packaging-3.1.2-SNAPSHOT.jar
 under 
org/apache/maven/archetype/archetype-packaging/3.1.2-SNAPSHOT/archetype-packaging-3.1.2-SNAPSHOT.jar
[withMaven] artifactsPublisher - Archive artifact 
linux-jdk7-m3.3.x_build/maven-archetype-plugin/pom.xml under 
org/apache/maven/plugins/maven-archetype-plugin/3.1.2-SNAPSHOT/maven-archetype-plugin-3.1.2-SNAPSHOT.pom
[withMaven] artifactsPublisher - Archive artifact 
linux-jdk7-m3.3.x_build/maven-archetype-plugin/target/maven-archetype-plugin-3.1.2-SNAPSHOT.jar
 under 
org/apache/maven/plugins/maven-archetype-plugin/3.1.2-SNAPSHOT/maven-archetype-plugin-3.1.2-SNAPSHOT.jar
[withMaven] junitPublisher - Archive test results for Maven artifact 
org.apache.maven.archetype:archetype-catalog:jar:3.1.2-SNAPSHOT generated by 
maven-surefire-plugin:test (default-test): 
linux-jdk7-m3.3.x_build/archetype-models/archetype-catalog/target/surefire-reports/*.xml
[withMaven] junitPublisher - Archive test results for Maven artifact 
org.apache.maven.archetype:archetype-descriptor:jar:3.1.2-SNAPSHOT generated by 
maven-surefire-plugin:test (default-test): 
linux-jdk7-m3.3.x_build/archetype-models/archetype-descriptor/target/surefire-reports/*.xml
[withMaven] junitPublisher - Archive test results for Maven artifact 
org.apache.maven.archetype:archetype-common:jar:3.1.2-SNAPSHOT generated by 
maven-surefire-plugin:test (default-test): 
linux-jdk7-m3.3.x_build/archetype-common/target/surefire-reports/*.xml
[withMaven] junitPublisher - Archive test results for Maven artifact 
org.apache.maven.archetype:archetype-packaging:jar:3.1.2-SNAPSHOT generated by 
maven-surefire-plugin:test (default-test): 
linux-jdk7-m3.3.x_build/archetype-packaging/target/surefire-reports/*.xml
[withMaven] junitPublisher - Archive test results for Maven artifact 
org.apache.maven.plugins:maven-archetype-plugin:maven-plugin:3.1.2-SNAPSHOT 
generated by maven-surefire-plugin:test (default-test): 
linux-jdk7-m3.3.x_build/maven-archetype-plugin/target/surefire-reports/*.xml
Recording test results
[withMaven] openTasksPublisher - Scan Tasks for Maven artifact 
org.apache.maven.archetype:archetype-common:jar:3.1.2-SNAPSHOT in source 
directory linux-jdk7-m3.3.x_build/archetype-common/src/main/java
[withMaven] openTasksPublisher - Scan Tasks for Maven artifact 
org.apache.maven.plugins:maven-archetype-plugin:maven-plugin:3.1.2-SNAPSHOT in 
source directory linux-jdk7-m3.3.x_build/maven-archetype-plugin/src/main/java
[TASKS] Scanning folder 
'/home/jenkins/jenkins-slave/workspace/ven-box_maven-archetype_buildfix@2' for 
files matching the pattern 
'linux-jdk7-m3.3.x_build/archetype-common/src/main/java/**/*,linux-jdk7-m3.3.x_build/maven-archetype-plugin/src/main/java/**/*'
 - excludes: null
[TASKS] Found 89 files to scan for tasks
[TASKS] Found 26 open tasks.
Skipping warnings blame since pipelines do not have an SCM link.%n
[TASKS] Computing warning deltas based on reference build #29
[withMaven] invokerPublisher - Archive invoker results for Maven artifact 
MavenArtifact{org.apache.maven.plugins:maven-archetype-plugin:maven-plugin:3.1.2-SNAPSHOT(version:
 3.1.2-SNAPSHOT, snapshot:false) } generated by 
PluginInvocation{org.apache.maven.plugins:maven-invoker-plugin:3.2.0@integration-test
  invoker-it}: 
linux-jdk7-m3.3.x_build/maven-archetype-plugin/target/invoker-reports/*.xml
[withMaven] Publishers: Generated Artifacts Publisher: 5852 ms, Junit 
Publisher: 8017 ms, Open Task Scanner Publisher: 3635 ms, Dependencies 
Fingerprint Publisher: 1533 ms, Invoker Publisher: 25365 ms, Pipeline Graph 
Publisher: 6 ms
[Pipeline] // withMaven
[Pipeline] cleanWs
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[WS-CLEANUP] done
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // ws
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // parallel
[Pipeline] stage
[Pipeline] { (Notifications)
[Pipeline] echo
Build result: FAILURE
[Pipeline] jiraIssueSelector
[Pipeline] echo
The authors of changes [tibordigana, rfscholte].
[Pipeline] echo
Sending email ...
[Pipeline] emailext

Reply via email to