Commit Graph
15950 Commits
Author SHA1 Message Date
Kohsuke Kawaguchi a7b024bbdf [maven-release-plugin] prepare for next development iteration 2016-10-23 19:39:05 -07:00
Kohsuke Kawaguchi 4598b2e954 [maven-release-plugin] prepare release jenkins-2.27 2016-10-23 19:39:05 -07:00
Thorsten Scherler ab16e52519 [FIX JENKINS-35845] Internationalisation for Blue Ocean and JDL (#2586)
* Load i18n resource bundles from plugins if not found in jenkins core

Signed-off-by: Thorsten Scherler <scherler@gmail.com>

* Issue 404 response for missing i18n resource bundles

Currently issues a 200 with an "error" response payload. This change still issues the error response payload, but also sets the HTTP response.

Signed-off-by: Thorsten Scherler <scherler@gmail.com>

* [JENKINS-35845] Fix test since we return now a 404

* [JENKINS-35845] add test for getting locale from plugin. fix comments from oleg.

* [JENKINS-35845] Fix description

* [JENKINS-35845] Update PR with comments from Oleg

* [JENKINS-35845] Add feedback from tom

* eslint - formating changes and fix offences

* eslint - formating changes and fix offences

* [JENKINS-35845] remove code concerning 404 response. Fix resourceBundle test by prevent NPE to happen

* [JENKINS-35845] Link to issue on which we introduced the test
2016-10-22 12:21:56 +02:00
Stephen Connolly 764c49fdaa Merge pull request #2590 from stephenc/jenkins-38960
[FIXED JENKINS-38960] Deprecate getIconFilePathPattern and switch to IconSpec
2016-10-20 13:18:25 +01:00
Stephen Connolly 71cbe0cc7c [JENKINS-36871, JENKINS-37565] JNLP4-connect implementation and Remoting 3 (#2492)
* [JENKINS-36871] Switch to the new JnlpProtocolHandler based implementation

Todo

- [ ] Restore the cookie behaviour (but done right this time)
- [ ] Perhaps investigate issuing clients with TLS certificates (but would require a UI for managing them)

* [JENKINS-36871] License headers and javadocs

* [JENKINS-36871] Restore cookie handling

* [JENKINS-36871] Integrating Agent discovery components

* [JENKINS-36871] Pick up remoting 3.0-SNAPSHOT

* [JENKINS-36871] Pick up newer snapshot

* [JENKINS-36871] Oleg wants to log an exception that cannot happen
2016-10-20 13:01:30 +02:00
Jesse Glick 441bf1c255 Placate the JDK 9 compiler. 2016-10-17 16:27:49 -04:00
Kohsuke Kawaguchi c88a6ac41f Merge branch 'master' of github.com:jenkinsci/jenkins 2016-10-17 02:40:49 -07:00
Kohsuke Kawaguchi c3514c87f2 [maven-release-plugin] prepare for next development iteration 2016-10-17 02:33:31 -07:00
Kohsuke Kawaguchi 2a5822cd19 [maven-release-plugin] prepare release jenkins-2.26 2016-10-17 02:33:30 -07:00
Stephen Connolly 430736ad61 Merge pull request #1933 from fengxx/feature/removecomputer
[FIXED JENKINS-31768] - Remove monitor lock from setNumberExecutors to avoid deadlock
2016-10-17 09:57:54 +01:00
Stephen Connolly 95781a6415 [JENKINS-38960] Forgot to mark methods as @Deprecated as well 2016-10-17 09:39:31 +01:00
Daniel Beck 2311ae8a5e Merge pull request #2578 from daniel-beck/at-since-2016-10
Cleaning up @since TODO / @since XXX
2016-10-16 15:34:20 +02:00
Felix Belzunce Arcos bee66ede31 [FIXED JENKINS-31871] Properly handle single quotes in item names (#1943) 2016-10-15 16:59:06 -07:00
Oleg Nenashev 7d886ce9fb [FIXED JENKINS-35967] - Make User#isIdOrFullnameAllowed() more robust against restricted usernames (#2413)
This change hardens username verification in user creation commands. See the issue to get rexamples.

https://issues.jenkins-ci.org/browse/JENKINS-35967
2016-10-15 16:57:02 -07:00
Daniel Beck 72cb842b6c Cleaning up @since TODO / @since XXX 2016-10-15 23:22:20 +02:00
Oliver Gondža 7f6f495f86 Avoid deprecated findbugs annotations (#2144)
* Avoid deprecated findbugs annotations

* One more forgotten annotation
2016-10-15 12:53:56 -07:00
Akbashev Alexander 2a0ac4f098 [FIX JENKINS-23244] Slave build history page has no data and spawns a ton of very long-lived blocking threads on the master (#2584)
Mainly commit are doing two things:
1) Show only selected (visible) builds
2) Query build one-by-one - not it parallel
2016-10-15 08:35:09 -07:00
Oleg Nenashev b50034c9bf [FIXED JENKINS-38650] - Cleanup spelling in CLi commands + Javadoc updates (#2571)
* [FIXED JENKINS-38650] - Cleanup spelling in CLi commands.

Also adds some javadoc and since definitions.

* [JENKINS-38650] - Move common warning message to the constant

* [JENKINS-38650] - DeleteViewCommand should also use the constant string

* [JENKINS-38650] - Rename the constant in order to make the name more explicit
2016-10-15 08:34:12 -07:00
Stephen Connolly 4a97222aad [JENKINS-38960] The new item page should use the IconClassName preferentially
- Such a pity that we don't auto-populate the CSS with the image sources for all the icons
2016-10-13 14:23:34 +01:00
Stephen Connolly 780fdf1d0c Fix javadoc 2016-10-13 12:48:39 +01:00
Stephen Connolly bd834fe831 [FIXED JENKINS-38960] Deprecate getIconFilePathPattern and switch to IconSpec 2016-10-13 12:39:51 +01:00
Andres Rodriguez b62ad15fef [JENKINS-38814] Use GREEDY RemoteInputStreams (#2583) 2016-10-12 08:45:38 -07:00
Oleg Nenashev 720b75f096 Merge pull request #2563 from stochmial/shell-setunstable-rebased
[JENKINS-23786] Permit the Shell plugin to set a build result as unstable via a return code
2016-10-11 12:46:54 +02:00
Jesse Glick 74c534207c Merge pull request #1894 from jglick/coordinated-run
Call hpi:record-core-location
2016-10-10 13:56:07 -04:00
Vincent Latombe d868256202 [JENKINS-38678] Properly remove administrative monitors from the ExtensionList (#2577)
* [JENKINS-38678] Remove properly administrative monitor

previous impl didn't work because ExtensionList#iterator() returns a
readonly iterator.

* Use foreach loop
2016-10-10 16:28:24 +02:00
stochmim 359548efa0 Fix for 23786 Permit 'Execute shell' jobs to return 2 for 'unstable'
refactor and fix

remove duplication and fix FB errors

fix integration tests

consistency fixes

consistency fixes

changed error message to warning

fix comment and warning message

fix comment

fix junit tests

fix junit tests

fix junit tests

fix junit tests

clean import

a commit to trigger jenkins checks
2016-10-10 13:50:21 +02:00
gusreiber 67df10db2d [JENKINS-35263] displaying codeMirror as table to fix page sizing (#2575) 2016-10-10 08:19:37 +02:00
Akbashev Alexander 8888296e68 Update XStream drive to improve performance in xml serilization/deserialization (#2561)
* Update XStream drive to improve performance in xml serilization/deserialization

According XStream FAQ (http://x-stream.github.io/faq.html#Scalability):

XStream is a generalizing library, it inspects and handles your types on
the fly. Therefore it will normally be slower than a piece of optimized
Java code generated out of a schema. However, it is possible to increase
the performance anyway:

* Write custom converters for those of your types that occur very often in
your XML.
* Keep a configured XStream instance for multiple usage. Creation and
initialization is quite expensive compared to the overhead of XStream
when calling marshall or unmarshal.
* Use Xpp3 or StAX parsers.

So, I decided to move from old Xpp to new Xpp3.

* Change other occurance of XppDriver to Xpp3Driver as well
2016-10-10 08:12:02 +02:00
Jesse Glick a04e2f9836 [JENKINS-23784] Avoid acquiring ClassLoader locks. (#2581) 2016-10-10 08:10:58 +02:00
Kohsuke Kawaguchi f4a9089185 [maven-release-plugin] prepare for next development iteration 2016-10-09 17:15:47 -07:00
Kohsuke Kawaguchi 85ed077b5c [maven-release-plugin] prepare release jenkins-2.25 2016-10-09 17:15:46 -07:00
Daniel Beck abf41abe15 Merge pull request #2579 from daniel-beck/JENKINS-38615
[FIX JENKINS-38615] Add user to restart log message
2016-10-07 14:08:56 +02:00
Jesse Glick e23d4bec1c Merge pull request #2580 from jglick/RewindableFileOutputStream-since
[JENKINS-37098] Since tag cleanup
2016-10-05 14:51:34 -04:00
Jesse Glick d289161de0 [JENKINS-37098] #2490 omitted one since tag, and incorrectly copied another. 2016-10-04 14:55:41 -04:00
Daniel Beck 4462eda829 [FIX JENKINS-38615] Add user to restart log message 2016-10-04 12:40:25 +02:00
Baptiste Mathus 9ff7cfc4d8 Normalize incorrect line endings 2016-10-04 11:35:49 +02:00
Daniel Beck 163a97728f Merge pull request #2572 from Vlatombe/JENKINS-38651
[JENKINS-38651] Display actions created through TransientActionFactory in label view
2016-10-03 19:31:58 +02:00
Nicolas De Loof 57fc2185da honor undocumented formatting rule
See but very important  as not following this will result in :bugs: during code review
2016-10-03 15:12:48 +02:00
Nicolas De Loof 7b39424495 rely on try-with-resources 2016-10-03 15:12:48 +02:00
Kohsuke Kawaguchi f4f409cd8b [maven-release-plugin] prepare for next development iteration 2016-10-02 21:40:55 -07:00
Kohsuke Kawaguchi 0987e71ee7 [maven-release-plugin] prepare release jenkins-2.24 2016-10-02 21:40:55 -07:00
Vincent Latombe 8d55b1f555 [JENKINS-38651] Display actions created through TransientActionFactory in label view 2016-10-02 09:15:56 -07:00
Stephen Connolly 1689f6b7a2 [FIXED JENKINS-38473] Set a short timeout on the socket when using it to wake the acceptor thread. (#2564)
* [FIXED JENKINS-38473] Set a short timeout on the socket when using it to wake the acceptor thread.

* [JENKINS-38473] Remove leftover typing in wrong window
2016-10-01 12:19:33 +02:00
Daniel Beck 3f5fe7f6b9 Merge pull request #2545 from Vlatombe/JENKINS-38187
[FIX JENKINS-38187] Fix setting JNLP port through system property
2016-09-27 18:20:20 +02:00
Stephen Connolly 0859573721 [FIXED JENKINS-38534] Isolate the code that requires the Jenkins class to be loaded from an agent code path 2016-09-27 12:55:30 +01:00
Vincent Latombe 38d14deb0c [JENKINS-38187] Log a warning message in case setSlaveAgentPort is called when the port is enforced 2016-09-27 13:36:45 +02:00
Jesse Glick 9378fe6110 Merge branch 'master' into coordinated-run 2016-09-26 13:12:17 -04:00
Vincent Latombe d2bf5d96a7 s/XXX/TODO 2016-09-26 09:35:12 +02:00
Ted 4c6ed07d37 add GuardedBy("hudson.model.Queue.lock") to setNumExecutors 2016-09-26 10:16:45 +08:00
Vincent Latombe db6a5b353d Add @since @restricted 2016-09-23 16:39:27 +02:00