Commit Graph
17505 Commits
Author SHA1 Message Date
Christoph Kutzinski 5ce7ea0f04 fixed typo 2013-07-10 22:48:05 +02:00
Oliver Gondža 9d2b204ca1 [JENKINS-17942] Break long values in property tables 2013-07-10 15:57:48 +02:00
Jesse Glick 06c211c6b4 [JENKINS-17728] Fixing another possible cause of an NPE.
Unlike the bug I originally reproduced, in which the parent had some builds
but the context in which the new build was scheduled omits a parent,
this seems to be due to a case in which there is no build record at all for the parent.
No idea how that could happen (getLastBuild should return even a running, failed, or aborted build),
but @treydock reports a stack trace in 1.509.2 which implies this.
So fixing null safety; will not prevent an exception but will report it more gracefully.
2013-07-10 09:54:35 -04:00
Harald Albers 50ddd4c60a added translation for SecurityIsOffMonitor (de) 2013-07-09 19:51:17 +02:00
Oliver Gondža b8a580c9b3 Add unittests for Util.loadProperties 2013-07-09 16:59:31 +02:00
Jesse Glick dbdf1d5347 Delete “No” button when renaming; does not work reliably anyway.
Going back in browser history can reset configuration form to the *previous* state,
not what was just saved! (In the case of lazily inserted form elements.)
Thus clicking Save from that page would actually revert your recent changes.
For now, just omitting the button; could make it go back to index or configuration pages,
but there are already links for this.
2013-07-09 09:45:13 -04:00
Stephen Connolly 5981ac4ed7 [FIXED JENKINS-18660] Added dedicated denormalized counter function 2013-07-08 15:21:03 +01:00
Nicolas De Loof bd87d70b3a [JENKINS-18654] document unit test 2013-07-08 14:34:53 +02:00
Nicolas De Loof 1f761085e2 [JENKINS-18654] testcase as suggested by kutzi 2013-07-08 12:49:24 +02:00
Nicolas De Loof a6926e1c51 [FIXED JENKINS-18654] exlude disabled plugins from transitive dependency list 2013-07-08 11:45:26 +02:00
ikedam 5cfc002081 [JENKINS-18643] Make tests run on Windows. Use local HTTP server to access update-center.json for test. 2013-07-07 10:39:13 +09:00
ikedam e3ad0561ae [JENKINS-18643] Make tests run on Windows. Use line.separator property instead of LF. 2013-07-07 10:33:09 +09:00
Oliver Gondža b74185f133 Merge branch 'master' into node-cli 2013-07-07 01:40:19 +02:00
Oliver Gondža 6af228ebc4 Merge branch 'master' into jenkins18393 2013-07-06 23:53:18 +02:00
Kohsuke Kawaguchi a832b3f9b8 the trunk is toward 1.524-SNAPSHOT 2013-07-06 10:17:44 -07:00
Kohsuke Kawaguchi c6124060b1 creating an RC branch 2013-07-06 10:17:39 -07:00
Kohsuke Kawaguchi 7e4996eb1e merged back the RC branch
Conflicts:
	core/src/main/java/hudson/model/AbstractProject.java
2013-07-06 09:29:33 -07:00
Kohsuke Kawaguchi 03251e9e6a updated changelog as a part of the release 2013-07-06 09:24:54 -07:00
Kohsuke Kawaguchi 1e5cb273c9 updated changelog for release 2013-07-06 08:46:00 -07:00
Kohsuke Kawaguchi 3a265f5c2f [maven-release-plugin] prepare for next development iteration 2013-07-06 07:57:40 -07:00
Kohsuke Kawaguchi d38ca25813 [maven-release-plugin] prepare release jenkins-1.522 jenkins-1.522 2013-07-06 07:57:39 -07:00
Christoph Kutzinski 04d85eb476 Loading the last 3 successful builds may be very expensive in certain rare, but possible situations (all newer builds failed, only some very old builds were successful).
Go only up to 6 build into the past for calculating the estimated duration.
Also take failed builds into account, if we don't find any successful ones.
2013-07-06 15:19:27 +02:00
Christoph Kutzinski 95ac644029 fixed some warnings 2013-07-06 11:54:25 +02:00
Christoph Kutzinski 7154363803 This helps a lot when mocking AbstractProject in unit tests, because so I don't have to suppress the constructor with PowerMockito 2013-07-06 11:26:14 +02:00
Christoph Kutzinski 20bd2fcad1 [FIXED JENKINS-14585] Noting 2013-07-06 10:47:50 +02:00
Christoph Kutzinski 84ee0de323 Merge pull request #810 from kutzi/claim-plugin-fix
[JENKINS-14585] core side fix for: claim-plugin cannot claim broken tests in maven jobs
2013-07-06 01:45:15 -07:00
ssogabe 3fdba721fe added l10n(ja) 2013-07-06 15:25:27 +09:00
Kohsuke Kawaguchi dd3e652b53 Fixed deadlocks that I started observing a lot during releases 2013-07-05 07:27:18 -07:00
Kohsuke Kawaguchi 9ad940b600 Ignore generated files 2013-07-04 11:13:26 -07:00
Kohsuke Kawaguchi 059e6081d0 [FIXED JENKINS-18585]
The earlier fix by @ssogabe broke the test. This fix corrects the
problem properly.

The reason this error happens with some plugins is that if there's an
input field whose name is "on", then even after prototype.js extends
an element object, "form.on" will refer to the input element, not the
prototype.js function to add an event handler.
2013-07-04 11:11:50 -07:00
Kohsuke Kawaguchi 87851d1765 Updatign tests 2013-07-04 09:24:47 -07:00
Nicolas De Loof 0be0940d82 grunt profile to run grunt for web resource optimization 2013-07-04 12:23:52 +02:00
Nicolas De Loof aa7eb7c137 check name conflicts in local ItemGroup 2013-07-04 11:55:03 +02:00
Kohsuke Kawaguchi c928291541 more bug fix 2013-07-03 21:50:19 -07:00
Kohsuke Kawaguchi 6dea054125 bug fix
(cherry picked from commit d8f74cf866)
2013-07-03 21:38:57 -07:00
Kohsuke Kawaguchi d8f74cf866 bug fix 2013-07-03 12:00:51 -07:00
Vojtech Juranek 4f2626aaac Add convenient method for checking if object is MatrixProject
This is useful for jelly pages where instanceof operator doesn't work.
2013-07-03 16:11:15 +02:00
Glöckle Bastian 40f3b095aa [FIXES JENKINS-15976] After de-serializing changed job settings after "Save", the maven settings done by config-file-provider-plugin were overwritten blindly (presumably with fallback values). These fallback values should be set correctly in the constructor of the "Maven" class and do not need to be set explicitly after deserialization. 2013-07-03 14:56:14 +02:00
Christoph Kutzinski ee8753af0f must continue and not return, if a single module has no SurefireReport 2013-07-03 14:30:07 +02:00
Stephen Connolly 184b4a9a21 Merge pull request #832 from stephenc/execute-flyweight-anywhere
If every node is restricted to tied jobs only, Matrix build jobs can never start
2013-07-03 02:23:53 -07:00
Stephen Connolly 55bf883290 If every node is restricted to tied jobs only, Matrix build jobs can never start. 2013-07-03 10:20:19 +01:00
Stephen Connolly 503c3bd2e6 [FIXES JENKINS-2494] Restore correct behaviour
- Fixes a regression in core where the display name clear on copy was triggering a save
- More than one way to do this, could also have used the marker interface approach
  This route seems slightly less fragile, though people could still add ItemListeners
  with order == -Double.MAX_VALUE which would then introduce intdeterminism.
  A marker interface would remove that indeterminism as the onCopyComplete method would
  be only called on the Job as the last method... but it could be hard to
  ensure that all ItemGroupMixin's respect the calling of onCopyComplete contract
  hence this approach seems better to me for that reason
2013-07-03 10:02:24 +01:00
Stephen Connolly 817237d732 Update stale javadoc
- The caller is no longer responsible as the listener is actually invoked from the method
2013-07-03 09:57:37 +01:00
Kohsuke Kawaguchi c15dc50acd the trunk is toward 1.523-SNAPSHOT 2013-07-02 23:48:06 -07:00
Kohsuke Kawaguchi 147997b655 creating an RC branch 2013-07-02 23:48:01 -07:00
Kohsuke Kawaguchi da5cf222f7 merged back the RC branch 2013-07-02 22:37:43 -07:00
Kohsuke Kawaguchi c27c7aeae7 updated changelog as a part of the release 2013-07-02 22:37:39 -07:00
Kohsuke Kawaguchi 7facc7733c [FIXED JENKINS-18589]
Use DescribableList to handle the copy-on-write semantics correctly. The vector class just doesn't cut it, and we've been setting a new value to this field, which will violates all sorts of the concurrent programming practice.

This change has the nice side effect of removing {{class="vector"}} from the persisted XML. A test is added to make sure we can still read back such an XML.
2013-07-02 15:44:55 -07:00
Kohsuke Kawaguchi f014d7ac9c Pushing the dependency computation down to another thread. 2013-07-02 15:44:55 -07:00
Kohsuke Kawaguchi 5a547c91fb Fixed an overzealous form validation 2013-07-02 15:44:55 -07:00