Commit Graph
32590 Commits
Author SHA1 Message Date
Oleg Nenashev 9bd13323c8 [JENKINS-51608] - Improve diagnostics of errorneous cases in ClassicPluginStrategy#getShortName() 2018-05-30 14:23:21 +02:00
James Nord 8ca803819b [JENKINS-51584] do not store actions from TransientActionFactory.
The code was updated to use the non deprecated getAllActions() to obtain
the list of actions, however this was persisted in the actions causing
the actions from TransientActionFactories to be persisted in Builds.
2018-05-30 13:11:17 +01:00
James Nord c4215dc6ad [JENKINS-51584] Improve unit test to show allocation trace.
improve the unit test to show the allocation trace on failure.
2018-05-30 12:40:31 +01:00
James Nord 5b6acd7c2c [JENKINS-51584] Unit test was not quite correct.
Calling getActions(class) will include actions froma TransientActionFactory.

To get the correct results just call getActions() and then filter the result.
2018-05-30 12:13:32 +01:00
James Nord ed4c94a0a1 [JENKINS-51584] Unit test was not quite correct.
Calling getActions(class) will include actions froma TransientActionFactory.

To get the correct results just call getActions() and then filter the result.
2018-05-30 11:56:47 +01:00
James Nord cf3389f33f [JENKINS-51584] Added unit test showing the issue.
The Actions are created for the hudson.model.Queue$WaitingItem and
hudson.model.Queue$BuildableItem but get persisted in the actions list
of the build.
2018-05-30 11:35:30 +01:00
Oleg Nenashev 7de5f7d00b [JENKINS-51598] - Expose PermissionGroup IDs to API 2018-05-30 10:58:07 +02:00
Oliver Gondža 8872b44cc8 [JENKINS-20272] - Disconnected nodes should not be disconnected repeatedly (#3453)
* [JENKINS-20272] Reproduce in test

* [FIX JENKINS-20272] Do not disconnect skipped computers

* [JENKINS-20272] Clean the API a bit
2018-05-29 17:58:06 +02:00
Oleg Nenashev 466e49dbee Merge pull request #3459 from LinuxSuRen/fix/incorrect-expression
Fix the incorrect expression
2018-05-29 13:19:13 +02:00
Kohsuke Kawaguchi bc37379c96 mvn incrementals:reincrementalify 2018-05-28 10:08:36 -07:00
Kohsuke Kawaguchi 15d6a7ad1b [maven-release-plugin] prepare for next development iteration 2018-05-28 10:02:45 -07:00
Kohsuke Kawaguchi bd6c139629 [maven-release-plugin] prepare release jenkins-2.125 jenkins-2.125 2018-05-28 10:02:44 -07:00
suren 2be60cdba2 Fix the incorrect expression 2018-05-28 19:39:01 +08:00
Josh Soref 83420bcb3e grammar improvements for patternJobNamingStrategy
whether or not
conform ... conforms
2018-05-28 00:18:50 -04:00
surenpi 5d39ece24f Supplement test case and clean to code 2018-05-26 20:56:04 +08:00
suren 9680086f68 export slave remote fs for json api (#3206)
* export slave remove fs for json api

* Check permission for getAbsoluteRemotePath api

* Add @Restricted annotation

* Modify slaveComputer permission check

* Add javadoc

* Revert for squashed imports

* Add unit test for method 'getAbsoluteRemotePath'

* Change assert to Junit.Assert

* Add webClient test case

* Fix code style

* Fix javadoc

* Use more canonical way to test

* Remove super interface Serializable

* Change to way to determine whether ths json value is null
2018-05-26 13:44:06 +02:00
Oleg Nenashev a06e3bf839 Merge pull request #3436 from jsoref/queue-api-consistency
Improve Queue api consistency
2018-05-26 13:42:52 +02:00
Reinhold Füreder f258aff7a7 [JENKINS-27329] Less aggressive WorkspaceCleanupThread (#3444)
* JENKINS-27329 Less aggressive WorkspaceCleanupThread

I dare to claim that the default behaviour of WorkspaceCleanupThread is too aggressive => this little change is by no means perfect (or admittedly even far from perfect), but IMHO a saner or slightly more defensive default behaviour.

Mind that according to https://github.com/jenkinsci/jenkins/blob/9e64bcdcb4a2cf12d59dfa334e09ffb448d361e9/core/src/main/java/hudson/model/Job.java#L301 this "only" checks whether or not the last build of a job is in progress, while the JavaDoc says "Returns true if a build of this project is in progress." (cf. http://javadoc.jenkins-ci.org/hudson/model/Job.html#isBuilding--)

* Fix compilation

* Dummy commit to trigger pipeline

Previous pipeline execution (https://ci.jenkins.io/blue/organizations/jenkins/Core%2Fjenkins/detail/PR-3444/2/tests) failed with one failing test that at first glance appears to be unrelated with my change(s) and looks like a flaky test?

* Add fine logging message
2018-05-26 13:38:58 +02:00
Wadeck Follonier eac53dcf72 Address Devin's rewording points 2018-05-25 11:50:40 +02:00
Jesse Glick 7bd6d1e80c [JENKINS-51205] Improve performance of /pluginManager/available service.
(cherry picked from commit 3b61b96119)
2018-05-24 13:32:27 +02:00
Wadeck Follonier 0ca6238d66 Address Devin's comment
- change comparator null and counter parts
- add unit test to cover this part of the comparison
2018-05-24 11:26:48 +02:00
Devin Nusbaum 7bef2e44ae [JENKINS-51483] Remove erroneous entry in split-plugin-cycles.txt 2018-05-22 10:50:40 -04:00
Oliver Gondža 5ff1c08c7b Update th ATH used for testing 2018-05-22 12:43:48 +02:00
Kohsuke Kawaguchi ccd6455ed3 mvn incrementals:reincrementalify 2018-05-21 10:31:33 -07:00
Kohsuke Kawaguchi dfa76a2f3d [maven-release-plugin] prepare for next development iteration 2018-05-21 10:25:47 -07:00
Kohsuke Kawaguchi 9966c5d479 [maven-release-plugin] prepare release jenkins-2.124 jenkins-2.124 2018-05-21 10:25:47 -07:00
Kohsuke Kawaguchi d3574c8b84 Merge pull request #3452 from jglick/no-aggregate
Avoid javadoc:aggregate
2018-05-21 12:23:15 -04:00
Jesse Glick 43200c7de1 Avoid javadoc:aggregate. 2018-05-21 12:20:37 -04:00
suren 53a7f64b43 change the i18n to parameterized 2018-05-21 09:56:16 +08:00
Kohsuke Kawaguchi dea69f62b0 [maven-release-plugin] prepare for next development iteration 2018-05-20 18:41:47 -07:00
Kohsuke Kawaguchi 448eda5b63 [maven-release-plugin] prepare release jenkins-2.123 2018-05-20 18:41:47 -07:00
Oleg Nenashev 88225e3661 Merge pull request #3450 from LinuxSuRen/i18n-jenkins-lib
Add Chinese translation for Jenkins lib
2018-05-20 13:06:11 +02:00
Devin Nusbaum b03beb72f3 Merge pull request #3424 from Wadeck/JENINS-51158_IMPROVE_ROOT_URL_VALIDATION
[JENKINS-51158] Improve Root URL validation
2018-05-19 09:46:48 -04:00
surenpi d40b197662 Add Chinese translation for Jenkins Security warning 2018-05-19 21:02:04 +08:00
surenpi 2561c1f18a Add Chinese translation for Jenkins lib 2018-05-19 17:09:25 +08:00
Oleg Nenashev f33731e7ec Update to Winstone 4.3: Option to enable JMX (#3422) 2018-05-19 10:04:55 +02:00
Wadeck Follonier 20cdb05f94 Correct typo 2018-05-18 14:03:38 +02:00
Oleg Nenashev a837b35ca9 Merge pull request #3448 from jsoref/node-executors-help
Node executors help
2018-05-18 11:53:26 +02:00
Josh Soref 283cde4909 node-executors-help: mention flyweight on master 2018-05-17 10:07:28 -04:00
Josh Soref 2cf986aa3b node-executors-help: reword text about master
This screen is in the nodes view and can be reached for:
/computer/(master)/configure
2018-05-16 13:08:07 -04:00
Josh Soref 7fb6cf58e5 node-executors-help: clarify what an agent is 2018-05-16 13:07:31 -04:00
Josh Soref c4fdc59859 node-executors-help: correct agent to node
This screen is in the nodes view and can be reached for:
/computer/(master)/configure

The help applies to all nodes (agents and master) and therefore this text
should say node.
2018-05-16 13:06:29 -04:00
Jesse Glick aa828155fc Merge pull request #3443 from daniel-beck/fix-since-2.119
Fix an at-since 2.119 typo
2018-05-15 13:29:31 -04:00
Jesse Glick ac749d669d Merge pull request #3442 from jglick/flatten-JENKINS-51247-source-fork
Source fork fix
2018-05-15 13:18:09 -04:00
Jesse Glick 30be745f63 parent 1.46 2018-05-15 11:29:15 -04:00
Jesse Glick ffb6552af7 Merge branch 'master' into flatten-JENKINS-51247-source-fork 2018-05-15 11:27:10 -04:00
Wadeck Follonier 2a08932f7b Address James' comment
- also rename TokenId to TokenUuid everywhere
2018-05-15 17:25:14 +02:00
Josh Soref 2a39a84101 If we are moments away from exiting the quiet period,
we might as well claim we are in it, because otherwise we just say ¯\_(ツ)_/¯ which is less
helpful.
2018-05-15 11:09:01 -04:00
Daniel Beck ee96b71b36 Fix an at-since 2.119 typo 2018-05-15 12:14:20 +02:00
Oleg Nenashev 9e64bcdcb4 Merge pull request #3439 from oleg-nenashev/bug/JENKINS-51179
[JENKINS-51179] - Provide diagnostics when loading corrupted fingerprint files
2018-05-15 11:56:13 +02:00