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
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
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
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
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
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
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
Kanstantsin Shautsou
2b36bd0b5e
[JENKINS-16178] Add builds that were run by user to user's build list.
2013-08-16 00:49:28 +03:00
Seiji Sogabe
ad6f55714d
Merge pull request #901 from ssogabe/ComputerLauncherTestFailure
...
ComputerLauncherTest failed with LANG=ja_JP.
2013-08-14 02:02:10 -07:00
Jesse Glick
707629b03f
[FIXED JENKINS-19192] LoginCommand failed on Windows after introduction of JNR.
...
Root cause of class loading error (on jnr.ffi.util.ref.internal.Finalizer$ShutDown) still unclear,
but easy fix is to simplify ClientAuthenticationCache.save to use FilePath.chmod,
which at least for now relies on hudson.util.jna.GNUCLibrary rather than JNR.
2013-08-13 23:03:37 -04:00
Jesse Glick
58c8a9393f
[FIXED JENKINS-19135] Permit a user to configure an axis with no values without throwing exceptions.
...
The project cannot be usefully built in this case but at least they can go back and reconfigure it.
Also fixing Layouter.Column to not throw NoSuchElementException (in violation of Iterator contract)
and thus break project overview when there is an empty Axis in the trivial list (due to an unintentional IndexOutOfBoundsException).
2013-08-13 21:39:16 -04:00
Kanstantsin Shautsou
f633a44ffb
[JENKINS-17332] Allow sign up with username that exist because of SCM people.
2013-08-13 21:41:45 +03:00
Oliver Gondža
5db147e858
[FIXED JENKINS-18485] Introduce Computer.EXTENDED_READ permission
...
From now on user needs:
Computer.CREATE to use 'create-node' CLI command
Computer.DELETE to use 'delete-node' CLI command
Computer.CONFIGURE to use 'update-node' CLI command and its REST alternative
Computer.EXTENDED_READ to use 'get-node' CLI command and its REST alternative
2013-08-13 20:27:06 +02:00
Jesse Glick
920c3fde33
A DirScanner must be serializable.
2013-08-13 13:04:52 -04:00
Jesse Glick
4d8bfb5538
[FIXED JENKINS-19186] Robustness against malformed test result XML.
2013-08-13 12:48:46 -04:00
Jesse Glick
2e09239906
Java 5 compatibility.
2013-08-12 19:08:11 -04:00
Jesse Glick
ee4455d3ea
Reworked ArtifactManager.archive to take a Map<String,String> to allow more flexible archiving behaviors.
2013-08-12 18:03:52 -04:00
Jesse Glick
7575a29d74
Merge branch 'master' into ArtifactManager-JENKINS-17236
...
Conflicts:
core/src/main/java/hudson/tasks/ArtifactArchiver.java
2013-08-12 16:40:43 -04:00
Jesse Glick
3751e26fff
Merge branch 'master' of github.com:jenkinsci/jenkins
2013-08-12 16:15:41 -04:00
Jesse Glick
12aa92ce00
Comment.
2013-08-12 16:15:16 -04:00
Jesse Glick
71e6990d51
Unchecked warning.
2013-08-12 16:15:09 -04:00
Jesse Glick
c8c45c1133
Merge pull request #899 from mvach/potential-npe
...
Fix potential NPE on exception path
2013-08-12 08:01:12 -07:00
Vincent Latombe
47fde3be8f
[JENKINS-19082] Fix ListView includeRegex
2013-08-12 15:32:51 +02:00
Vojtech Juranek
bdcefed837
Merge branch 'jenkins_19156_windows_processkiller' of https://github.com/synopsys-arc-oss/jenkins into pr903
2013-08-12 09:48:57 +02:00
Oleg Nenashev
20859b4aad
Windows::killRecursively() invokes process killers after completion.
...
Resolves https://issues.jenkins-ci.org/browse/JENKINS-19156
Signed-off-by: Oleg Nenashev <nenashev@synopsys.com >
2013-08-12 04:25:38 +04:00
Jesse Glick
ec9d809ddd
[FIXED JENKINS-16918] Use HTTP 405 when POST is required.
2013-08-09 19:57:56 -04:00