node {
// withMaven (maven: "maven-3.5.3") {
git "https://github.com/cyrille-leclerc/maven-compiler-plugin.git"
sh "mvn -U -Prun-its clean verify"
//}
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- | |
file-system-maven-settings | |
--> | |
<!-- | |
| This is the configuration file for Maven. It can be specified at two levels: | |
| | |
| 1. User Level. This settings.xml file provides configuration for a single user, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
java.lang.IllegalArgumentException | |
at org.objectweb.asm.ClassVisitor.<init>(Unknown Source) | |
at org.jacoco.core.internal.flow.ClassProbesVisitor.<init>(ClassProbesVisitor.java:37) | |
at org.jacoco.core.internal.flow.ClassProbesVisitor.<init>(ClassProbesVisitor.java:27) | |
at org.jacoco.core.internal.analysis.ClassAnalyzer.<init>(ClassAnalyzer.java:49) | |
at org.jacoco.core.analysis.Analyzer$1.<init>(Analyzer.java:96) | |
at org.jacoco.core.analysis.Analyzer.createAnalyzingVisitor(Analyzer.java:93) | |
at org.jacoco.core.analysis.Analyzer.analyzeClass(Analyzer.java:122) | |
at org.jacoco.core.analysis.Analyzer.analyzeClass(Analyzer.java:140) | |
Caused: java.io.IOException: Error while analyzing /var/folders/lq/50t8n2nx7l316pwm8gc_2rt40000gn/T/jenkinsTests.tmp/jenkins7200712938350270590test/jobs/jar-with-jacoco/builds/1/jacoco/classes/com/example/MonoModuleMavenApp.class. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker inspect openjdk:10-jre-slim |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"callback_url": "https://registry.hub.docker.com/u/svendowideit/testhook/hook/2141b5bi5i5b02bec211i4eeih0242eg11000a/", | |
"push_data": { | |
"images": [ | |
"27d47432a69bca5f2700e4dff7de0388ed65f9d3fb1ec645e2bc24c223dc1cc3", | |
"51a9c7c1f8bb2fa19bcd09789a34e63f35abb80044bc10196e304f6634cc582c", | |
"..." | |
], | |
"pushed_at": 1.417566161e+09, | |
"pusher": "trustedbuilder", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<mavenExecution _time="2018-04-13 13:42:31.856"> | |
<context _time="2018-04-13 13:42:31.877"> | |
<systemProperties/> | |
<versionProperties/> | |
<workingDirectory/> | |
<userProperties/> | |
<plexus/> | |
</context> | |
<DefaultSettingsBuildingRequest class="org.apache.maven.settings.building.DefaultSettingsBuildingRequest" _time="2018-04-13 13:42:32.008"> | |
<userSettingsFile>/Users/cyrilleleclerc/.m2/settings.xml</userSettingsFile> |
https://issues.jenkins-ci.org/browse/JENKINS-50099
The list of dependencies did NOT catch the my-war dependency. Maybe because it is a "runtime" dependency.
<DependencyResolutionResult
class="org.apache.maven.project.DefaultDependencyResolutionResult"
_time="2018-03-15 19:33:54.275">
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
node { | |
def pom | |
stage ("Release") { | |
deleteDir() | |
git 'https://github.com/cyrille-leclerc/my-jar.git' | |
withMaven(maven: "maven-3.5.2") { | |
sh "mvn release:prepare release:perform" | |
} |
[withMaven] artifactsPublisher - FAILURE to archive
workspace/source/project/pom.xml
under test/project/0.0.1-SNAPSHOT/project-0.0.1-SNAPSHOT.pom,
file not found in workspace /Users/cyrilleleclerc/git/jenkins/pipeline-maven-plugin/jenkins-plugin/work/jobs/JENKINS-49536/workspace/source/root
[withMaven] artifactsPublisher - FAILURE to archive workspace/source/project/target/project-0.0.1-SNAPSHOT.jar under test/project/0.0.1-SNAPSHOT/project-0.0.1-SNAPSHOT.jar, file not found in workspace /Users/cyrilleleclerc/git/jenkins/pipeline-maven-plugin/jenkins-plugin/work/jobs/JENKINS-49536/workspace/source/root
[withMaven] artifactsPublisher - Archive artifact pom.xml under test/root/0.0.1-SNAPSHOT/root-0.0.1-SNAPSHOT.pom
[withMaven] junitPublisher - Archive test results for Maven artifact test:project:0.0.1-SNAPSHOT generated by maven-surefire-plugin:test (default-test): workspace/source/project/target/surefire-reports/*.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+ export JENKINS_HOME=/opt/jenkins/jenkins-home | |
+ JENKINS_HOME=/opt/jenkins/jenkins-home | |
+ export JENKINS_EXTRA_CLASSPATH=/opt/jenkins/extra-classpath/ | |
+ JENKINS_EXTRA_CLASSPATH=/opt/jenkins/extra-classpath/ | |
+ mkdir -p /opt/jenkins/jenkins-home | |
+ java -Xmx512m -Xbootclasspath/a:/opt/jenkins/extra-classpath/ -Djava.io.tmpDir=/Users/cleclerc/tmp -jar /opt/jenkins/jenkins.war --httpPort=8090 --webroot=/opt/jenkins/jenkins-home-webroot --pluginroot=/opt/jenkins/jenkins-home-pluginroot | |
Running from: /opt/jenkins/jenkins.war | |
Feb 21, 2018 2:00:21 PM Main deleteWinstoneTempContents | |
WARNING: Failed to delete the temporary Winstone file /var/folders/lq/50t8n2nx7l316pwm8gc_2rt40000gn/T/winstone/jenkins.war | |
Feb 21, 2018 2:00:21 PM org.eclipse.jetty.util.log.Log initialized |