-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Record maven-invoker-plugin
failures via junit
rather than console
#301
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -319,15 +319,17 @@ | |
<cloneProjectsTo>${project.build.directory}/its</cloneProjectsTo> | ||
<localRepositoryPath>${basedir}/target/local-repo</localRepositoryPath> | ||
<settingsFile>src/it/settings.xml</settingsFile> | ||
<showErrors>true</showErrors> | ||
<streamLogs>true</streamLogs> | ||
<pomIncludes> | ||
<pomInclude>*/pom.xml</pomInclude> | ||
</pomIncludes> | ||
<postBuildHookScript>verify</postBuildHookScript> | ||
<filterProperties> | ||
<repository.proxy.url>${repository.proxy.url}</repository.proxy.url> | ||
</filterProperties> | ||
<environmentVariables> | ||
<!-- block anything set by a CI environment --> | ||
<JENKINS_HOME /> | ||
</environmentVariables> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
|
@@ -411,13 +413,6 @@ | |
<goal>install</goal> | ||
<goal>run</goal> | ||
</goals> | ||
<configuration> | ||
<streamLogs>true</streamLogs> | ||
<environmentVariables> | ||
<!-- block anything set by a CI environment --> | ||
<JENKINS_HOME /> | ||
</environmentVariables> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
|
@@ -436,5 +431,28 @@ | |
</plugins> | ||
</build> | ||
</profile> | ||
<profile> | ||
<id>all-tests</id> | ||
<activation> | ||
<property> | ||
<name>!invoker.test</name> | ||
</property> | ||
</activation> | ||
<properties> | ||
<invoker.writeJunitReport>true</invoker.writeJunitReport> | ||
<invoker.junitPackageName>io.jenkins.tools.maven_hpi_plugin.its</invoker.junitPackageName> | ||
</properties> | ||
</profile> | ||
<profile> | ||
<id>specific-tests</id> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. For local devs. |
||
<activation> | ||
<property> | ||
<name>invoker.test</name> | ||
</property> | ||
</activation> | ||
<properties> | ||
<invoker.streamLogs>true</invoker.streamLogs> | ||
</properties> | ||
</profile> | ||
</profiles> | ||
</project> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# install, not verify, because we want to check the artifact as we would be about to deploy it | ||
# release.skipTests normally set in jenkins-release profile since release:perform would do the tests | ||
invoker.goals=-Dstyle.color=always -ntp -Pjenkins-release -Drelease.skipTests=false clean install | ||
invoker.goals=-ntp -Pjenkins-release -Drelease.skipTests=false clean install |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
invoker.goals=-Dstyle.color=always -ntp clean install | ||
invoker.goals=-ntp clean install |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
invoker.goals=-Dstyle.color=always -ntp clean install | ||
invoker.goals=-ntp clean install |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
invoker.goals=-Dstyle.color=always -ntp clean install | ||
invoker.goals=-ntp clean install |
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,4 +17,4 @@ | |
# under the License. | ||
# | ||
|
||
invoker.goals=-Dstyle.color=always -ntp validate | ||
invoker.goals=-ntp validate |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,4 +17,4 @@ | |
# under the License. | ||
# | ||
|
||
invoker.goals=-Dstyle.color=always -ntp clean compile | ||
invoker.goals=-ntp clean compile |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,4 +17,4 @@ | |
# under the License. | ||
# | ||
|
||
invoker.goals=-Dstyle.color=always -ntp clean compile | ||
invoker.goals=-ntp clean compile |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,4 +17,4 @@ | |
# under the License. | ||
# | ||
|
||
invoker.goals=-Dstyle.color=always -ntp clean compile | ||
invoker.goals=-ntp clean compile |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# install, not verify, because we want to check the artifact as we would be about to deploy it | ||
# release.skipTests normally set in jenkins-release profile since release:perform would do the tests | ||
invoker.goals=-Dstyle.color=always -ntp -Pjenkins-release -Drelease.skipTests=false clean install hpi:run | ||
invoker.goals=-ntp -Pjenkins-release -Drelease.skipTests=false clean install hpi:run |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,4 +17,4 @@ | |
# under the License. | ||
# | ||
|
||
invoker.goals=-Dstyle.color=always -ntp clean verify | ||
invoker.goals=-ntp 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,4 +17,4 @@ | |
# under the License. | ||
# | ||
|
||
invoker.goals=-Dstyle.color=always -ntp clean verify | ||
invoker.goals=-ntp 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,4 +17,4 @@ | |
# under the License. | ||
# | ||
|
||
invoker.goals=-Dstyle.color=always -ntp clean verify | ||
invoker.goals=-ntp clean verify |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For CI. Inspired by a similar profile in
pom
/plugin-pom
.