Commit Graph
23997 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 jenkins-2.27 2016-10-23 19:39:05 -07:00
Oleg Nenashev bfa9cc368c Changelog: Wrong link in #2586 2016-10-23 13:22:10 +02:00
Oleg Nenashev 12236a8e5a Changelog: Noting#2595, #2492, #2590 and #2586 2016-10-23 12:18:46 +02: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
Daniel Beck 5537b31708 Merge pull request #2595 from jglick/jdk9-generics
Placate the JDK 9 compiler
2016-10-19 10:58:58 +02:00
Jesse Glick 441bf1c255 Placate the JDK 9 compiler. 2016-10-17 16:27:49 -04:00
Oleg Nenashev 6cad673583 Changelog: Noting #1943, #2413, #1933, #2578 2016-10-17 13:04:01 +02:00
Kohsuke Kawaguchi c88a6ac41f Merge branch 'master' of github.com:jenkinsci/jenkins 2016-10-17 02:40:49 -07:00
Kohsuke Kawaguchi 707eb094ec updated changelog for release 2016-10-17 02:40:44 -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 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
Oleg Nenashev cc51ce5e2b Changelog: Noting #2583, #2571 and #2584 2016-10-15 16:25:12 -07:00
Daniel Beck 72cb842b6c Cleaning up @since TODO / @since XXX 2016-10-15 23:22:20 +02:00
Daniel Beck 0ab4f2a696 Fix formatting 2016-10-15 22:16:39 +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
Oleg Nenashev b2627ed312 Noting #2581, #2561, #2577, #1894, #2563 and #2585 2016-10-15 10:44:02 -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 7e0db20a2c [JENKINS-38539, JENKINS-37539] Update remoting from 2.62 to 2.62.2 (#2585)
2.61 does not exist, there was an issue during the release
Changes in 2.62: https://github.com/jenkinsci/remoting/blob/stable-2.x/CHANGELOG.md#2622

* [JENKINS-38539](https://issues.jenkins-ci.org/browse/JENKINS-38539) - 
Stability: Turn on SO_KEEPALIVE and provide CLI option to turn it off again.
(https://github.com/jenkinsci/remoting/pull/110)
* [JENKINS-37539](https://issues.jenkins-ci.org/browse/JENKINS-37539) - 
Prevent <code>NullPointerException</code> in <code>Engine#connect()</code> when host or port parameters are <code>null</code> or empty.
(https://github.com/jenkinsci/remoting/pull/101)
* [CID-152201] - 
Fix resource leak in <code>remoting.jnlp.Main</code>.
(https://github.com/jenkinsci/remoting/pull/102)
* [CID-152200,CID-152202] - 
Resource leak in Encryption Cipher I/O streams on exceptional paths.
(https://github.com/jenkinsci/remoting/pull/104)
2016-10-11 12:47:38 +02: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
Daniel Beck 59cec45657 Noting #2570, #2572, #2579 2016-10-10 07:30:08 +02:00
Kohsuke Kawaguchi 75afe1e502 updated changelog for release 2016-10-09 17:23:19 -07: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 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
Baptiste Mathus ad70a8f49b Merge pull request #2576 from batmat/fix-newlines
Declare .gitattributes and normalize line endings
2016-10-04 21:35:11 +02: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
Baptiste Mathus 6dea927787 Add .gitattributes to embed standard IN the repo
That file will avoid users to file PR with wrong newline encoding.
I've tried to declare what seemed to be the most common extensions. It's
not strictly required, since the first line and the Git integrated
heurisitics would work just fine in general. But we're just adding a bit
more info here to lower chances to screw up.
2016-10-04 11:34:32 +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