mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-16 05:22:22 +00:00
Merge remote branch 'origin/master' into momo
* origin/master: (91 commits) Parsing can happen in the forked Maven process. Support remoting. Fixed the test failures. Strip whitespace on maven installation. updated ja. Use relative path to validate new view name (in order to allow ViewGroups like NestedView to override) Added i18n. moved to the model package to colocate with the Result class, since I don't think this class is tied by itself to the notification. doc improvements enum to describe a result trend - i.e. change from the previous to the current result Recording the previous change. Do not include trailing periods in console links. doc improvements Added a hook to customize the XML parser behaviour. - Renamed from 'linked' to 'base' - Fixed the bug where multi-level base setting wasn't working properly - Improved docs Updated style Added convenience method for getting configuration run Initial commit the trunk is toward 1.416-SNAPSHOT creating an RC branch updated changelog as a part of the release ... Conflicts: core/src/main/java/hudson/slaves/NodeProvisioner.java maven-plugin/src/main/java/hudson/maven/MavenModule.java maven-plugin/src/main/java/hudson/maven/RedeployPublisher.java
This commit is contained in:
commit
2adef6719a
70 files changed
+1088
-338
No files matched your search
@@ -204,6 +204,12 @@ public final class MavenModuleSet extends AbstractMavenProject<MavenModuleSet,Ma
|
||||
*/
|
||||
private int mavenValidationLevel = -1;
|
||||
|
||||
/**
|
||||
* Inform jenkins this build don't use UI code and can run without access to graphical environment. Could be used
|
||||
* later to select a headless-slave from a pool, but first introduced for JENKINS-9785
|
||||
*/
|
||||
private boolean runHeadless = false;
|
||||
|
||||
/**
|
||||
* Reporters configured at {@link MavenModuleSet} level. Applies to all {@link MavenModule} builds.
|
||||
*/
|
||||
@@ -357,6 +363,10 @@ public final class MavenModuleSet extends AbstractMavenProject<MavenModuleSet,Ma
|
||||
return ignoreUpstremChanges;
|
||||
}
|
||||
|
||||
public boolean runHeadless() {
|
||||
return runHeadless;
|
||||
}
|
||||
|
||||
public boolean isArchivingDisabled() {
|
||||
return archivingDisabled;
|
||||
}
|
||||
@@ -377,6 +387,10 @@ public final class MavenModuleSet extends AbstractMavenProject<MavenModuleSet,Ma
|
||||
this.ignoreUpstremChanges = ignoreUpstremChanges;
|
||||
}
|
||||
|
||||
public void setRunHeadless(boolean runHeadless) {
|
||||
this.runHeadless = runHeadless;
|
||||
}
|
||||
|
||||
public void setIsArchivingDisabled(boolean archivingDisabled) {
|
||||
this.archivingDisabled = archivingDisabled;
|
||||
}
|
||||
@@ -811,6 +825,7 @@ public final class MavenModuleSet extends AbstractMavenProject<MavenModuleSet,Ma
|
||||
aggregatorStyleBuild = !req.hasParameter("maven.perModuleBuild");
|
||||
usePrivateRepository = req.hasParameter("maven.usePrivateRepository");
|
||||
ignoreUpstremChanges = !json.has("triggerByDependency");
|
||||
runHeadless = req.hasParameter("maven.runHeadless");
|
||||
incrementalBuild = req.hasParameter("maven.incrementalBuild");
|
||||
archivingDisabled = req.hasParameter("maven.archivingDisabled");
|
||||
resolveDependencies = req.hasParameter( "maven.resolveDependencies" );
|
||||
|
||||
Reference in new issue
Block a user