Commit Graph
17505 Commits
Author SHA1 Message Date
Larry North e757ae3224 Code format corrections: replaced some tabs with spaces. 2013-08-24 20:10:31 -05:00
Larry North 3dfcd6760c When Jenkins CLI attempts to build an unbuildable project, return -1 to
indicate failure.
2013-08-24 20:01:29 -05:00
Larry North cfb9d2fbbd Externalized "Cannot build..." messages to Messages.properties. 2013-08-24 19:54:03 -05:00
Larry North 7ed3dbd3d5 Display an explanatory message when Jenkins CLI attempts to build an
unbuildable project.
2013-08-24 15:21:01 -05:00
evernat b32b38cdc9 Close JarFile resources in PluginWrapper and UpdateCenter 2013-08-24 17:43:01 +02:00
Jesse Glick bf7eb802d9 [FIXED JENKINS-16261] Defer JAR copying from MavenComputerListener.preOnline. 2013-08-23 17:39:44 -04:00
Jesse Glick 594a4e7560 If JenkinsLocationConfiguration.jenkinsUrl is still null, CoreEnvironmentContributor will silently skip several variables.
No obvious fix for that, but at least document it so it is not so surprising.
2013-08-23 15:28:58 -04:00
Jesse Glick 4f68a088cd Worth recording a UserInterruption even for the anonymous user. 2013-08-23 13:13:25 -04:00
Matthias Vach 2b5c4b701c [FIXED JENKINS-19332]
- set findbugs version to 2.5.2 to avoid:
[WARNING] 'reporting.plugins.plugin.version' for
org.codehaus.mojo:findbugs-maven-plugin is missing. ...

- delete maven-pmd-plugin and maven-checkstyle-plugin (commented out
since more than two years)
2013-08-23 16:37:09 +02:00
Stefan Wolf 58e8bd7a2e [FIXED JENKINS-9637] Fixed the 404 when clicking the testResult on the Project Page when there is only an aggregated test result for a freestyle job. The name of the link is still wrong. 2013-08-23 16:14:08 +02:00
Stefan Wolf 629be4ab30 [FIXED JENKINS-9637] Fixed the 404 when clicking the testResult on the Project Page when there is only an aggregated test result for a freestyle job. The name of the link is still wrong. 2013-08-23 15:58:30 +02:00
Nicolas De Loof 2f7520c3d4 [FIXED JENKINS-19034] restore missing buildnumber-ID symlink when updating permalink 2013-08-23 15:35:55 +02:00
Jesse Glick 9c99a8cc4f Maven artifact paths were getting mangled when running with a Linux master and Windows slave.
This resulted in them being treated as all outside the workspace, which makes for inefficient archiving.
Fixed by storing local absolute paths, and later doing a canonical path comparison to workspace
(which should also prevent problems with e.g. Windows case mismatches).
2013-08-22 16:57:44 -04:00
Nicolas De Loof d876679f13 provide alternate error message for pattern-based naming strategy 2013-08-22 22:56:15 +02:00
Jesse Glick e724b751df Better for list() to return an empty array for a nonexistent directory.
Otherwise you get exceptions when browsing the index page of a build with no artifacts.
2013-08-22 15:46:11 -04:00
Jesse Glick 23512cd63d ArtifactManagerFactoryDescriptor 2013-08-22 15:03:40 -04:00
Jesse Glick 964d9a09be @since 2013-08-22 11:32:37 -04:00
Jesse Glick 9abbfcb976 Java 5 API compatibility. 2013-08-21 17:11:48 -04:00
Jesse Glick 30ed7b7e6a Improved Javadoc. 2013-08-21 16:48:00 -04:00
Jesse Glick dee545ff30 _throw no longer needed. 2013-08-21 16:41:38 -04:00
Jesse Glick 862544b249 Satisfy DirectoryBrowserSupport with a new VirtualFile. 2013-08-21 16:38:27 -04:00
Jesse Glick 01fa0201fc First draft of reworked artifact listing API. 2013-08-21 14:05:25 -04:00
Jesse Glick f846169fb5 Moving what is essentially unit test code out of the test harness module. 2013-08-21 13:06:17 -04:00
Jesse Glick 851b2d938b Making ExplicitlySpecifiedDirScanner public since it can be useful for other artifact managers. 2013-08-21 11:22:35 -04:00
Jesse Glick 87a794ea94 Javadoc: use DataBoundConstructor. 2013-08-21 10:21:17 -04:00
Jesse Glick 12d057b681 Need to restore the owner of the describable list so that changes in subsequent sessions will be persisted.
(Issue not reproduced here, but was in similar ArtifactManagerConfiguration: 757fe0844ce0d53d08c9d762ddce4b1190ab8cd4.)
2013-08-20 18:37:56 -04:00
Jesse Glick 757fe0844c Apparently need to set the owner of the DescribableList when restoring.
Otherwise changes to configuration on the second startup are not persisted.
2013-08-20 18:35:19 -04:00
Jesse Glick a3d099b652 ArtifactManagerFactory/ArtifactManagerConfiguration to let the administrator select what to use. 2013-08-20 17:46:55 -04:00
Jesse Glick a38b1103b3 Clarifying that archiving may be run on technically completed builds. 2013-08-20 14:16:23 -04:00
Jesse Glick 2a2715a4eb More readable log output. 2013-08-20 13:31:59 -04:00
Jesse Glick 4ef0018101 Merge branch 'master' into ArtifactManager-JENKINS-17236
Conflicts:
	core/src/main/java/hudson/model/Run.java
	test/src/test/java/hudson/maven/MavenMultiModuleTest.java
2013-08-20 13:18:23 -04:00
Jesse Glick a92e9da978 [FIXED JENKINS-18846] Update symlinks for Maven module builds. 2013-08-20 13:05:21 -04:00
Ulli Hafner a89edffa98 Improved name of Maven project. 2013-08-20 00:24:05 +02:00
imod 2a2f978b60 move environment in maven project to same location as in freestyle project 2013-08-19 23:03:03 +02:00
Jesse Glick 04c3729ea5 Simpler FilePath constructor. 2013-08-19 16:26:51 -04:00
Jesse Glick 957595d2b4 You might expect new FilePath(null, "/local/path").getChannel() to be null.
Confusingly, it is instead MasterComputer.localChannel!
If that is fed back into FilePath.<init>(VirtualChannel,String) rather than using .<init>(FilePath,String)
you get an object that behaves strangely and throws exceptions.
2013-08-19 16:19:20 -04:00
Jesse Glick 34a461eb40 Queue up artifacts from a Maven build so they can all be archived in one call (per module). 2013-08-19 14:26:53 -04:00
Jesse Glick e345678c4e Merge branch 'master' into ArtifactManager-JENKINS-17236 2013-08-19 11:17:25 -04:00
Kohsuke Kawaguchi ec503aa831 the trunk is toward 1.530-SNAPSHOT 2013-08-19 08:13:13 -07:00
Kohsuke Kawaguchi c6d83f8460 creating an RC branch 2013-08-19 08:13:08 -07:00
Olivier Lamy c15bf5e21e add changelog entry 2013-08-19 22:27:23 +10:00
Olivier Lamy 329453a80f avoid log duplication with mvn 3.1 builds 2013-08-19 22:26:29 +10:00
Kohsuke Kawaguchi 24eb57860d merged back the RC branch 2013-08-18 21:18:39 -07:00
Kohsuke Kawaguchi 45eae58d65 updated changelog as a part of the release 2013-08-18 21:18:36 -07:00
Kohsuke Kawaguchi 763155036e updated changelog for release 2013-08-18 19:33:05 -07:00
Kohsuke Kawaguchi 1328bf45f3 [maven-release-plugin] prepare for next development iteration 2013-08-18 19:23:14 -07:00
Kohsuke Kawaguchi 1d2009094e [maven-release-plugin] prepare release jenkins-1.528 jenkins-1.528 2013-08-18 19:23:14 -07:00
Christoph Kutzinski 78b5121b21 Merge pull request #895 from kutzi/JENKINS-19004-channel-executor-name
[JENKINS-19004] set name of remoting threads
2013-08-18 03:54:45 -07:00
Jesse Glick 711316a5be Log CannotResolveClassException and similar at FINE, not WARING.
OldDataMonitor already collates these errors and presents them to the user with a fix.
Printing a stack trace for each and every missing class just clutters the log file.
(Especially when restarting after disabling a widely-used plugin.)
2013-08-16 16:21:49 -04:00
Olivier Lamy d4a0a6c13a plexus-classworlds 2.5.1 2013-08-16 22:27:14 +10:00