Commit Graph
25869 Commits
Author SHA1 Message Date
Daniel Beck bed6ccd719 Merge pull request #3187 from daniel-beck/JENKINS-34254-v2
[JENKINS-34254] Fix RequirePOST form

(cherry picked from commit 76c9f8beac)
2018-01-25 13:44:08 +01:00
Alexander Akbashev e0ea7a648e [JENKINS-48350] Cache estimated duration for execution
In case of having 1000s of ongoing builds opening main pages can take
some time if list of executors are opened. It happens because for every
queury that comes from jelly we re-calculate the value from scratch. And
calculation needs to load some builds from disk. The worst thing is that it
happens for every user separately.

(cherry picked from commit d7b120fea3)
2018-01-25 13:32:51 +01:00
Alexander Akbashev eb41a7bb0a [JENKINS-48348] If task can be run only on master, use shortcut
Currently Jenkins to fire WorkflowJob re-calculates the ConstistentHash
for entire cluster even if there is no nodes were updated. If cluster is
big enough (>100 nodes), it becomes a problem, because MD5 is quite
expensive itself plus all this logic comes with high memory footprint.

Using the knowledge that WorkflowJob can be executed only on Jenkins master,
we can create a shortcut that does not do expensive calculation and just
returns Runnable or `null`.

(cherry picked from commit 00ccd23f64)
2018-01-25 13:30:05 +01:00
Kohsuke Kawaguchi 2904044e51 [maven-release-plugin] prepare for next development iteration 2018-01-17 14:52:07 -08:00
Kohsuke Kawaguchi 847a2534ce [maven-release-plugin] prepare release jenkins-2.89.3 jenkins-2.89.3 2018-01-17 14:52:07 -08:00
Daniel Beck e9ecbb326c Merge pull request #3201 from dwnusbaum/JENKINS-48604
[JENKINS-48604] Do not downgrade plugins that are dependencies of detached plugins when upgrading Jenkins

(cherry picked from commit 1dc2c6d5ff)
2018-01-03 15:01:35 +01:00
Oleg Nenashev 0319362666 Merge pull request #3193 from dwnusbaum/JENKINS-48365
[JENKINS-48365] Install detached plugins when upgrading Jenkins past the version the plugins were detached

(cherry picked from commit 968b6adf00)
2018-01-03 15:01:11 +01:00
Johno Crawford 065d3c8303 [JENKINS-48505] Invoke optimistic before computeIfAbsent to avoid contention.
(cherry picked from commit dce450e1b4)
2018-01-03 14:58:34 +01:00
Jan Zuchhold 49ee85a1e7 [JENKINS-48593] - Add getSystemProperty(key) to fix hudson.consoleTailKB system property (#3200)
* Add getSystemProperty(key) to fix hudson.consoleTailKB system property

* Add Javadoc, @Restricted and delegate to SystemProperties

These changes were requested by @daniel-beck.

* PR was not merged in time for 2.96

* Changes as requested by @oleg-nenashev

(cherry picked from commit 006c51256e)
2018-01-03 14:52:21 +01:00
Oleg Nenashev 08444b29c6 Merge pull request #3164 from fcojfernandez/JENKINS-48080
[JENKINS-48080] Setup Wizard hangs if confirm password is incorrect while creating admin user

(cherry picked from commit b3ebef20ec)
2018-01-03 14:18:14 +01:00
Alexander Akbashev 8fa79061bb [FIX JENKINS-48349] Cache permission id to avoid allocating of new strings
Every request that comes from Jelly is checked against Permissions.
As result it leads to a call of `getId` method that produces the new string.
Usually it's not a problem, but in case of stop-the-world pause user requests are accumulated.
So, once pause is finished, we forcibly allocated tons of strings for
every request. That leads to new stop-the-world pause. (And this cycle
can repeat multiple times)

(cherry picked from commit b2c40cb9e0)
2018-01-03 14:10:36 +01:00
Kohsuke Kawaguchi 0e5db018ca Merge remote-tracking branch 'origin/stable-2.89' into stable-2.89 2017-12-13 16:53:42 -08:00
Kohsuke Kawaguchi 8ae7df076e [maven-release-plugin] prepare for next development iteration 2017-12-13 16:41:56 -08:00
Kohsuke Kawaguchi b6443aacbb [maven-release-plugin] prepare release jenkins-2.89.2 jenkins-2.89.2 2017-12-13 16:41:56 -08:00
Jesse Glick eec0188cc4 Merge branch 'security-stable-2.73' into security-stable-2.89 2017-12-13 13:04:35 -05:00
Jesse Glick 8f816cbf03 Merge branch 'security-stable-2.60' into security-stable-2.73 2017-12-13 13:02:43 -05:00
Jesse Glick 57006d1266 Merge branch 'security-stable-2.46' into security-stable-2.60 2017-12-13 13:00:39 -05:00
Jesse Glick ccc374a717 [SECURITY-667] Ensure all tasks have completed before we attain COMPLETED. 2017-12-13 12:59:04 -05:00
Jesse Glick b450e9bdb6 [JENKINS-47429] User.getLegacyConfigFilesFor no longer seems to be necessary.
(cherry picked from commit 3853b38139)
2017-12-11 10:36:12 +01:00
Oleg Nenashev 6be05b8014 [JENKINS-48157] - Risk of NPE when migrating MyViewProperty without PrimaryView (#3156)
* [JENKINS-48157] - Reproduce the issue in test

* [JENKINS-48157] - Annotate and document nullness conditions in MyViewsProperty and ViewGroupMixIn

* [FIXED JENKINS-48157] - Prevent NPEs when using public API and when using null primaryViewName

* [JENKINS-48157] - Fix typo in Javadoc

(cherry picked from commit 211b57e8b0)
2017-12-11 10:32:26 +01:00
t-hall 065b874a47 [JENKINS-34138] Fix maven installs from stepping on each other (#3042)
* [JENKINS-34138] Adding equals/hashCode methods so that installs don't step on each other

* [JENKINS-34138] Added issue reference to unit tests

* [JENKINS-34138] - changed the order of equals / hashcode

(cherry picked from commit d688c15490)
2017-12-11 10:31:13 +01:00
Kohsuke Kawaguchi 2a1406e4bf [maven-release-plugin] prepare for next development iteration 2017-12-06 11:10:45 -08:00
Kohsuke Kawaguchi 2fa723b1ee [maven-release-plugin] prepare release jenkins-2.89.1 jenkins-2.89.1 2017-12-06 11:10:45 -08:00
Daniel Beck 8058675317 Merge pull request #3134 from jglick/IdStrategy-NFE-JENKINS-47909
[JENKINS-47909] Handle false hex escapes

(cherry picked from commit 7c06a9ba94)
2017-11-30 09:09:26 +01:00
Oleg Nenashev 94250ec1ca Update Remoting from 3.13. to 3.14
Fixes JENKINS-45294, JENKINS-47425, JENKINS-47901, JENKINS-47942 + about 50 reported FindBugs issues (JENKINS-37566). There are 13 FindBugs issues left, work in progress.

(cherry picked from commit bcd0b2c72b)
2017-11-22 18:21:02 +01:00
Wadeck Follonier 179ac8df08 [JENKINS-43852] add caching options for captcha (#3126)
* JENKINS-42852 add caching options for captcha

* - remove whitespace

* - correct unit tests

* - copy/paste is bad

* - second edit...

(cherry picked from commit 80d17f5a68)
2017-11-22 18:20:53 +01:00
Devin Nusbaum 823b51f0ba [JENKINS-47448] Make JDKInstaller work for old login site as well (#3136)
* Fix JDKInstaller to work with old and new Oracle login flow

* Update Javadoc to explain that both login flows are supported

(cherry picked from commit 5c1fd7d603)
2017-11-22 18:20:35 +01:00
Oleg Nenashev c624f66dc4 [JENKINS-47015] - Update Windows Slave Installer module to 1.9.2
It picks new release with one bugfix / performance improvement. Changelog: https://github.com/jenkinsci/windows-slave-installer-module/blob/master/CHANGELOG.md#192

(cherry picked from commit 3f43b4c3ad)
2017-11-14 12:29:50 +01:00
Oliver Gondža d3bb74334b Towards 2.89.1 2017-11-10 10:48:19 +01:00
Kohsuke Kawaguchi 34b3a43d09 [maven-release-plugin] prepare for next development iteration 2017-11-06 11:16:25 -08:00
Kohsuke Kawaguchi bb1685141e [maven-release-plugin] prepare release jenkins-2.73.3 jenkins-2.73.3 2017-11-06 11:16:25 -08:00
Kohsuke Kawaguchi 02faf36dc3 [maven-release-plugin] prepare release jenkins-2.89 jenkins-2.89 2017-11-06 10:15:25 -08:00
Jesse Glick 08d50a929a Merge commit '048e313aa95844e2366a0611192415abbcf4b5ee' into security-master 2017-11-06 07:13:57 -05:00
Kohsuke Kawaguchi 048e313aa9 [maven-release-plugin] prepare for next development iteration 2017-11-05 16:30:59 -08:00
Kohsuke Kawaguchi 727b5c48e6 [maven-release-plugin] prepare release jenkins-2.88 jenkins-2.88 2017-11-05 16:30:58 -08:00
Oleg Nenashev 5bcf35b1d4 Merge pull request #3086 from tinexw/JENKINS-6290-TransientViewActionFactory
[JENKINS-6290] Add New View link to sidebar
2017-11-04 10:17:09 +01:00
Oleg Nenashev 4f6ff15fba Merge pull request #3121 from jglick/missingDescriptor-JENKINS-45977
[JENKINS-45977] Behave robustly when a UserProperty is missing its descriptor
2017-11-04 10:04:23 +01:00
Jesse Glick f8f5ffc7e6 [FIXED JENKINS-45977] Behave robustly when a UserProperty is missing its descriptor. 2017-10-31 14:23:03 -04:00
Oleg Nenashev 27f0abd414 [FIXED JENKINS-47181] - Recover the agent protocol handling tests. (#3118)
* [FIXED JENKINS-47181] - Recover the agent protocol handling tests.

The protocol handling logic does not longer use bogus assumptions anymore.
Instead of that, there are extra `MockAgentProtocol` instances (to be moved to JTH?)

* Extremely important fix to retrigger the PR builder
2017-10-30 20:53:42 +01:00
Daniel Beck 67ff279cfd When -Dtest is set, set -DfailIfNoTests=false (#3108)
* When -Dtest is set, set -DfailIfNoTests=false

* Rename profile to not imply only one test runs
2017-10-30 20:48:02 +01:00
Oleg Nenashev 0864e40bc6 Merge pull request #3119 from oleg-nenashev/test/SetupWizard_shouldProhibitAccessToPluginListWithoutAuth
Fix typo in the SetupWizardTest#shouldProhibitAccessToPluginListWithoutAuth()
2017-10-30 20:47:11 +01:00
Kseniia Nenasheva c7b2950387 RU translation update (#3115)
* translation update

* Address comment
2017-10-30 20:46:07 +01:00
Wadeck Follonier b6ea6c8afc [JENKINS-47726] - remove "false" logging as the instance is more stable using LegacyInstanceId (#3117) 2017-10-30 20:45:44 +01:00
Jesse Glick 209a5ad1a5 Merge commit 'c2aca606e3dc45384c38785e1ced4780733bd906' into security-master 2017-10-30 10:18:02 -04:00
Oleg Nenashev 71f849dd75 Merge pull request #3113 from Austry/ru-translations
Add some RU translations
2017-10-30 11:56:58 +01:00
Oleg Nenashev c7f68438e8 Fix typo in the SetupWizardTest#shouldProhibitAccessToPluginListWithoutAuth() 2017-10-30 11:54:36 +01:00
Kohsuke Kawaguchi c2aca606e3 [maven-release-plugin] prepare for next development iteration 2017-10-29 20:46:03 -07:00
Kohsuke Kawaguchi 655472efde [maven-release-plugin] prepare release jenkins-2.87 jenkins-2.87 2017-10-29 20:46:03 -07:00
Carlos Tadeu Panato Junior 1b4f8752dc Add some PT-BR translations (#3102)
* Add some PT-BR translations

* udpate strings per review
2017-10-28 23:10:30 +02:00
Oleg Nenashev 9518fac440 Merge pull request #3101 from abayer/jenkins-43834
[FIXED JENKINS-43834] Stop using deprecated ABORT permission
2017-10-28 23:05:25 +02:00