Commit Graph
32590 Commits
Author SHA1 Message Date
Oleg Nenashev f5099f9625 Merge pull request #4066 from jglick/quiet-JENKINS-57993
[JENKINS-57993] Avoid printing stack traces for some common agent conditions

(cherry picked from commit dcc395b814)
2019-07-01 09:03:17 +02:00
Oleg Nenashev 4f76cac36e Merge pull request #4029 from oleg-nenashev/winp/1.28-2
[JENKINS-57477] - Update to WinP 1.28 to fix process termination logic on Windows

(cherry picked from commit 4a168c6cb2)
2019-07-01 08:41:59 +02:00
Jesse Glick 5b48a42fd7 [JENKINS-57528] - Load detached plugins which are implicit deps of other plugins at startup even w/o UC (#4000)
* Do not warn repeatedly of the same missing update site dependency.
This happens when locally testing split plugins (despite their presence in WEB-INF/detached-plugins/*.hpi).

(cherry picked from commit 918a0fd221)

* Detached plugins must be kept up to date with security advisories.

(cherry picked from commit e08d28a698)

* Load detached plugins which are implicit dependencies of other plugins at startup, even if the update center was not used.

(cherry picked from commit ad7a36001d)

* Adjusted expected version after e08d28a698.

(cherry picked from commit 84f939cebd)

* e08d28a698 exposed tests which had been incorrectly storing plugins as *.hpi rather than *.jpi.

(cherry picked from commit a0abad7ec4)

* Test failure after ad7a36001d.

(cherry picked from commit 0084e8dbdd)

* Another test failure after ad7a36001d30a6174b25e616fc3c215dd24919d1; fewer installDetachedPlugin calls are now required.

(cherry picked from commit b65bb54e99)
(cherry picked from commit 855ea2eea2)
2019-07-01 08:29:54 +02:00
Kohsuke Kawaguchi 4404c6e662 [maven-release-plugin] prepare for next development iteration 2019-06-30 19:33:50 -07:00
Kohsuke Kawaguchi e84e1ad848 [maven-release-plugin] prepare release jenkins-2.183 jenkins-2.183 2019-06-30 19:33:39 -07:00
Josh Soref 11652016b0 IntelliJ/Java: Duplicate code -- Refactored as ExtensionFinder.getClassFromIndex (#4079)
* IntelliJ/Java: Duplicate code -- Refactored as ExtensionFinder.getClassFromIndex

* Adding braces around throw new AssertionError
2019-06-28 21:59:02 +02:00
rudolfwalter 5926847d81 [JENKINS-58240] - Plugins should be able to provide onBlur for codemirror textarea. (#4046) 2019-06-28 21:58:20 +02:00
Oleg Nenashev 3424232a5b Merge pull request #4072 from lorainsu/master
[JENKINS-58041] Add support for IPv6 when getting "Jenkins URL"
2019-06-28 21:57:13 +02:00
Oleg Nenashev f0c5108184 Merge pull request #4050 from based2/patch-3
[JENKINS-47127] - Update maven-war-plugin from 3.0.0 to 3.2.3
2019-06-27 17:25:29 +02:00
Oleg Nenashev 82d709b416 Merge pull request #4061 from HuangJY777/JENKINS-49316
[JENKINS-49316] Create Item: OK button disabled until TAB pressed
2019-06-27 17:25:07 +02:00
Gustavo de Souza Bezerra 0e62b68012 [JENKINS-57678] - Change getInstance() (deprecated) to get() (#4042)
* Change getInstance() (deprecated) to get()

* Reverting modifications according review

* Changing for use the variable
2019-06-27 17:24:45 +02:00
Oleg Nenashev fa0ba22dec Merge pull request #4063 from basil/args4j
[JENKINS-57959] Bump args4j from 2.0.31 to 2.33
2019-06-27 17:01:47 +02:00
Raihaan ShouhellandMatt Sicker 71cd2b9680 Make WindowsUtil available for use (#4038)
* Add WindowsUtil into main

* Remove WindowsUtil from test

* Change based on feedback

Co-Authored-By: Matt Sicker <boards@gmail.com>

* Move and improve comments

* Javadoc fixes
2019-06-24 14:19:31 +02:00
Kohsuke Kawaguchi 57a3268afb [maven-release-plugin] prepare for next development iteration 2019-06-23 20:16:11 -07:00
Kohsuke Kawaguchi b39c8203f7 [maven-release-plugin] prepare release jenkins-2.182 jenkins-2.182 2019-06-23 20:15:57 -07:00
Mustafa Ulu a5e29cb5cf [JENKINS-57922] - Ability to specify target directory for translation-tool.pl (#4083)
* [JENKINS-57922] - Ability to specify output directory for
translation-tool.pl

* Prevent printing everything on same line if values are empty
2019-06-22 22:45:43 +02:00
mawinter69 f23b93a6d5 [JENKINS-57855] read-only flag of folders on windows (#4059)
* [JENKINS-57855] read-only flag of folders on windows

On windows the current way of removing the read only flag is not working
for folders.
Using the Files api this can be solved.

* code formatting
2019-06-22 22:45:03 +02:00
Oleg Nenashev cd5d67d489 Merge pull request #4087 from jeffret-b/remoting/3.33
Upgrade to 3.33 version of Remoting.
2019-06-22 22:44:40 +02:00
Oleg Nenashev 708bbdc9f1 Merge pull request #4081 from jglick/NodeProvisioner-logging
Improved logging for NodeProvisioner
2019-06-22 08:45:26 +02:00
Jeff Thompson cf23f8f365 Upgrade to 3.33 version of Remoting.a 2019-06-20 13:31:07 -06:00
Kanstantsin Shautsou 04aa4f1763 Adjust Deprecation tree according to Slave javadocs.
Slave constructor wants implementations to use setters,
but AbstractCloudSlave has no corresponding constructor.
2019-06-20 17:27:59 +03:00
Josh Soref 1d0d8069d0 Use a proper example domain (#4074)
See RFC6761
2019-06-20 14:10:45 +02:00
Jesse Glick ee9edf8fbb Improved logging for NodeProvisioner. 2019-06-18 16:35:45 -04:00
Joseph PetersenandDaniel Beck 42afdd3508 Wording
Co-Authored-By: Daniel Beck <1831569+daniel-beck@users.noreply.github.com>
2019-06-17 22:52:35 +02:00
Joseph Petersen 7271e484e1 fix doc 2019-06-17 20:18:52 +02:00
Joseph Petersen 908c5ace5d Enable labels/categories with deprecated to show a warning for plugins 2019-06-17 19:00:40 +02:00
lorainsu 0961d7ab71 [JENKINS-58041] Add support for IPv6 when getting "Jenkins URL"<br><br>Default "Jenkins URL" do not support IPv6 address。<br>For example my Jenkins server address is "[http://[6000::24]:8080/jenkins"|http://[6000::24]:8080/jenkins]<br>But the default value of "Jenkins URL" in "Jenkins Location" Section of "Configuration System" webpage is: “http://[6000:8080/jenkins/”<br><br>We fixed the bug in Jenkins.getRootUrlFromRequest() 2019-06-17 17:15:22 +08:00
Kohsuke Kawaguchi bc40ab3ae5 [maven-release-plugin] prepare for next development iteration 2019-06-16 22:12:00 -07:00
Kohsuke Kawaguchi 098e6d3832 [maven-release-plugin] prepare release jenkins-2.181 jenkins-2.181 2019-06-16 22:11:37 -07:00
Basil CrowandJeff Thompson 2dbb5e54f9 Switch to SpotBugs (#4062)
* Switch to SpotBugs

* Suppress erroneous NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE warnings

* Try replacing Nullable with CheckForNull, per Oleg's suggestion.

* Tidy up SpotBugs annotation reference in POM

* Update core/src/main/java/jenkins/security/apitoken/LegacyApiTokenAdministrativeMonitor.java

Co-Authored-By: Jeff Thompson <37345299+jeffret-b@users.noreply.github.com>

* Update core/src/main/java/jenkins/security/apitoken/LegacyApiTokenAdministrativeMonitor.java

Co-Authored-By: Jeff Thompson <37345299+jeffret-b@users.noreply.github.com>

* Update core/src/main/java/jenkins/security/apitoken/LegacyApiTokenAdministrativeMonitor.java

Co-Authored-By: Jeff Thompson <37345299+jeffret-b@users.noreply.github.com>

* Revert "Try replacing Nullable with CheckForNull, per Oleg's suggestion."

This reverts commit 39ae38e214.
2019-06-16 10:29:21 +02:00
Jesse Glick 9731522f27 [INFRA-2028] The timestamps step is no longer necessary. (#4068) 2019-06-15 20:05:12 +02:00
Jesse Glick 0f73231f77 [JENKINS-33843] Permit disabling optional dependencies (#4001)
* Implied dependencies on detached plugins were not being marked optional despite being listed in optionalDependencies, confusing the calculation of optionalDependents in resolveDependentPlugins.

* Javadoc improvements based on code exploration.

* [JENKINS-33843] Do not consider optional dependencies for purposes of disabling plugins.

* PluginManagerInstalledGUITest updated to reflect new behavior.
2019-06-15 11:21:20 +02:00
Oleg Nenashev dcc395b814 Merge pull request #4066 from jglick/quiet-JENKINS-57993
[JENKINS-57993] Avoid printing stack traces for some common agent conditions
2019-06-15 11:10:56 +02:00
Oleg Nenashev e3afbdbf3c Merge pull request #4023 from jsoref/JENKINS-57466
[JENKINS-57466] If two users trigger updateDirectly -> isDue, make one wait
2019-06-14 10:21:43 +02:00
Josh Soref 671ff304f4 mark up variables (#4064)
* mark up variables

* mark up variables
2019-06-14 10:20:48 +02:00
Josh Soref c9ad878e31 Cleanup groovy (#4033)
* IntelliJ/Groovy: deprecation

This is pretty useless as getSecurityKey is also deprecated

* IntelliJ/Groovy: deprecation

Resolve ApiTokenFilter is deprecated

* IntelliJ/Groovy: Semicolons are Optional

* This import is required by a bean/hudson.util.spring.BeanBuilder
2019-06-14 10:19:22 +02:00
Oleg Nenashev 09f5fff82c Merge pull request #4067 from jsoref/JENKINS-57992
[JENKINS-57992] clarify that the system user is a jenkins concept
2019-06-14 10:18:28 +02:00
mawinter69 ffa9abf6e3 [JENKINS-57515] update JNA library from 4.5.2 to 5.3.1 (#4060)
* [JENKINS-57515] update jna library to 5.3.1

This solves problems with loading native libraries of jna on AIX
platform when using openJDK or other JDKs that assume .so is the
extension for shared libraries

* Pointer.SIZE -> Native.POINTER_SIZE

* remove unnecessary import

* adjust to changed api
2019-06-14 10:18:02 +02:00
Devin Nusbaum b18b2e686d [JENKINS-57725] - Wrap Proc.executor in ClassLoaderSanityThreadFactory (#4035) 2019-06-13 22:27:38 +02:00
Jesse Glick b4aa9d7dbe Errors from node monitors should be sent to agent logs rather than the system log. 2019-06-13 10:43:03 -04:00
Josh Soref 4f8404e929 [JENKINS-57992] clarify that the system user is a jenkins concept 2019-06-13 02:33:46 -04:00
Jesse Glick 2fbd132bc9 [JENKINS-57993] Avoid printing stack traces for some common agent conditions. 2019-06-12 17:09:51 -04:00
Basil Crow 51517387c6 Bump args4j from 2.0.31 to 2.33 2019-06-11 15:58:39 -07:00
Oleg Nenashev c489b07f31 Merge pull request #4055 from dwnusbaum/JENKINS-57805
[JENKINS-57805] Guard against exceptions thrown by implementations of Queue.Task.getAffinityKey
2019-06-11 16:07:35 +02:00
based2 6e5cc4ef32 update ant from 1.9.2 to 1.9.14 (#4053)
https://ant.apache.org/
2019-06-11 16:07:04 +02:00
Kohsuke Kawaguchi 9b4cba21a6 [maven-release-plugin] prepare for next development iteration 2019-06-10 08:54:42 -07:00
Kohsuke Kawaguchi aa2eeb8f25 [maven-release-plugin] prepare release jenkins-2.176.1 jenkins-2.176.1 2019-06-10 08:54:30 -07:00
Kohsuke Kawaguchi 3ba5ca46c3 [maven-release-plugin] prepare for next development iteration 2019-06-09 16:45:51 -07:00
Kohsuke Kawaguchi dae01c123c [maven-release-plugin] prepare release jenkins-2.180 jenkins-2.180 2019-06-09 16:45:36 -07:00
bill007110 d71f28bd34 change Init CopyFromField function and let the ok button in newJob page be changed when user input words to CopyFromField 2019-06-09 22:15:00 +08:00