Commit Graph
6264 Commits
Author SHA1 Message Date
af09d67bb4 [JENKINS-69853] User experimental flags (#7299)
* [JENKINS-69853] User experimental flags

* Applying feedbacks from Tim

* Improve default wording + padding + title

* Remove the "UI"

* Correct Spotbugs

---------

Co-authored-by: Alexander Brandes <mc.cache@web.de>
Co-authored-by: Tim Jacomb <21194782+timja@users.noreply.github.com>
2023-03-12 10:52:04 +01:00
dependabot[bot] eed7766a50 Bump antisamy-markup-formatter from 155.v795fb_8702324 to 159.v25b_c67cd35fb_ (#7694)
Bump antisamy-markup-formatter

Bumps [antisamy-markup-formatter](https://github.com/jenkinsci/antisamy-markup-formatter-plugin) from 155.v795fb_8702324 to 159.v25b_c67cd35fb_.
- [Release notes](https://github.com/jenkinsci/antisamy-markup-formatter-plugin/releases)
- [Changelog](https://github.com/jenkinsci/antisamy-markup-formatter-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jenkinsci/antisamy-markup-formatter-plugin/commits)

---
updated-dependencies:
- dependency-name: org.jenkins-ci.plugins:antisamy-markup-formatter
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-12 10:41:15 +01:00
Alexander Brandes f9e3131c02 Fix RunRangeCommand2Test#dummyRangeShouldSuccessEvenTheBuildIsRunning on macOS (#7706)
Fix RunRangeCommand2Test on macOS
2023-03-12 10:40:57 +01:00
Alexander Brandes 1cbc0cabe8 [JENKINS-70647] Fix hudson.util.ProcessTreeTest#considersKillingVetosOnSlave on macOS (#7704)
[JENKINS-70647] Fix hudson.util.ProcessTreeTest on macOS
2023-03-12 10:39:44 +01:00
Alexander Brandes 5b6e14dfe3 [JENKINS-70646] Fix hudson.cli.ConsoleCommandTest on macOS (#7705)
[JENKINS-70646] Fix hudson.cli.ConsoleCommandTest on macOS
2023-03-12 10:36:40 +01:00
Jesse Glick 3a07a2c2f8 Make StopBuildsCommand work even if the last build is not running (#7679) 2023-03-10 22:04:37 +00:00
dependabot[bot] d31acb3c0c Bump cloudbees-folder from 6.800.v71307ca_b_986b to 6.815.v0dd5a_cb_40e0e (#7686)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-10 22:02:45 +00:00
Kevin Guerroudj 9d979384e7 Merge March 8 security tests into their main class (#7700) 2023-03-10 22:01:49 +00:00
Jenkins Release Bot 89d37d8ee3 [maven-release-plugin] prepare for next development iteration 2023-03-06 23:01:26 +00:00
Jenkins Release Bot 2fe98001f3 [maven-release-plugin] prepare release jenkins-2.394 2023-03-06 23:01:11 +00:00
Yaroslav Afenkin ecccc26a39 Merge branch 'security-master' 2023-02-28 17:03:58 +02:00
Jenkins Release Bot e41aeaacf4 [maven-release-plugin] prepare for next development iteration 2023-02-28 13:15:16 +00:00
Jenkins Release Bot 9044b4379c [maven-release-plugin] prepare release jenkins-2.393 2023-02-28 13:15:05 +00:00
Mark Waite a7b36ef111 [JENKINS-70599] restore installNecessaryPlugins redirect destination (#7653)
* Test redirect from installNecessaryPlugins

Jenkins LTS versions prior to 2.375.1 redirected to an existing URL.
Jenkins 2.375.1 - 2.375.3 redirect to a non-existent URL.

Test that the old behavior is restored.

* [JENKINS-70599] restore installNecessaryPlugins redirect destination

The installNecessaryPlugins API end point previously redirected to the
"/updateCenter" URL.  When the side bar was added to the plugin
manager, the redirect was changed to "/updates".  Unfortunately, there
is no page at "/updates", while there is a page at "/updateCenter".

This restores the redirect for the installNecessaryPlugins API call.

If the redirect is not restored, calls to the API that follow the redirect
fail with a page not found (HTTP 404).

I did not find any callers to that API from inside Jenkins core.

Change introduced in 6db88c3f5b

* Use default HttpClient version

The HttpClient documentation notes that if the default is selected but
not supported, then the client will automatically downgrade to HTTP 1.1.
Browsers only support HTTP 2 over TLS, but that's not a requirement of
the HTTP 2 specification.

https://http2.github.io/faq/#does-http2-require-encryption

* Adjust test timeouts based on actual test results

Tests on ci.jenkins.io showed that installNecessaryPluginsTest completes
as follows:

* 9.4 seconds Windows JDK 17
* 0.8 seconds Linux JDK 11
* 1.0 seconds Linux JDK 17
* 1.1 seconds Linux JDK 19

With those timings, it seems reasonable to set the crumb request to
timeout in not more than 7 seconds and the plugin installation request
to timeout in not more than 20 seconds.  That will waste a little less
time in execution if there is a problem and still leaves room for low
performance systems.

* Redirect to newer pluginManager URL
2023-02-25 01:45:23 -05:00
Kevin-CB d034626fd5 [SECURITY-2399] 2023-02-23 07:59:13 +00:00
Yaroslav Afenkin 59ac866d99 [SECURITY-3037] 2023-02-23 07:59:06 +00:00
Daniel Beck b70f4cb589 [SECURITY-3030] 2023-02-23 07:59:00 +00:00
Kevin-CB f39c11fa27 [SECURITY-2823] 2023-02-23 07:58:53 +00:00
Jeff Thompson 40663588ee [SECURITY-2120] 2023-02-23 07:58:46 +00:00
Jeff ThompsonandKevin-CB 80452662b3 [SECURITY-1807]
Co-authored-by: Kevin-CB <kguerroudj@cloudbees.com>
2023-02-23 07:58:40 +00:00
Jenkins Release Bot a3f31145e6 [maven-release-plugin] prepare for next development iteration 2023-02-21 13:13:46 +00:00
Jenkins Release Bot 936e9f83db [maven-release-plugin] prepare release jenkins-2.392 2023-02-21 13:13:34 +00:00
dependabot[bot] 22ade92da5 Bump jenkins-test-harness from 1934.v90a_c07cf5b_21 to 1938.ve4c94459431d (#7657)
Bump jenkins-test-harness

Bumps [jenkins-test-harness](https://github.com/jenkinsci/jenkins-test-harness) from 1934.v90a_c07cf5b_21 to 1938.ve4c94459431d.
- [Release notes](https://github.com/jenkinsci/jenkins-test-harness/releases)
- [Changelog](https://github.com/jenkinsci/jenkins-test-harness/blob/master/docs/CHANGELOG-OLD.md)
- [Commits](https://github.com/jenkinsci/jenkins-test-harness/commits)

---
updated-dependencies:
- dependency-name: org.jenkins-ci.main:jenkins-test-harness
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-18 06:42:02 -07:00
dependabot[bot] 6d4617482a Bump javax-mail-api from 1.6.2-8 to 1.6.2-9 (#7656)
Bumps [javax-mail-api](https://github.com/jenkinsci/javax-mail-api-plugin) from 1.6.2-8 to 1.6.2-9.
- [Release notes](https://github.com/jenkinsci/javax-mail-api-plugin/releases)
- [Commits](https://github.com/jenkinsci/javax-mail-api-plugin/compare/javax-mail-api-1.6.2-8...javax-mail-api-1.6.2-9)

---
updated-dependencies:
- dependency-name: io.jenkins.plugins:javax-mail-api
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-18 06:41:52 -07:00
Jenkins Release Bot 62c2fbcc7a [maven-release-plugin] prepare for next development iteration 2023-02-14 12:44:07 +00:00
Jenkins Release Bot f8e69628ac [maven-release-plugin] prepare release jenkins-2.391 2023-02-14 12:43:56 +00:00
Jesse Glick 3ca2880324 Default CLI mode to -webSocket (#7605)
* Default CLI mode to `-webSocket`

* Recommend `-http` only if needed

* Simplifying `CLIActionTest`

* Avoid an extra space in proposed command if not using `-http`
2023-02-14 09:56:21 +01:00
Stefan Spieker fd0644a9be Fixed minor deprecation from IOUtils in Tests (#7639)
fixed minor deprecation from IOUtils
2023-02-11 17:19:29 -07:00
Vincent Latombe 8b64efc5a2 Fix computer links in some cases (#7608)
* Computer links are incorrect in some cases

https://github.com/jenkinsci/jenkins/pull/6907 computes computer urls based on
privilege, which can cause inconsistent breadcrumb update as a result.

$jenkinsUrl/manage/computer/ is typically the URL you access when
browsing "Manage Jenkins > Configure Nodes and Clouds"

vs.

$jenkinsURl/computer/ which can be accessed by clicking on "Build
Executor Status"

* Fix RSSTest
2023-02-09 11:31:40 +01:00
Jenkins Release Bot af5a649a47 [maven-release-plugin] prepare for next development iteration 2023-02-07 13:08:02 +00:00
Jenkins Release Bot 3c46e8665f [maven-release-plugin] prepare release jenkins-2.390 2023-02-07 13:07:49 +00:00
Daniel BeckandDaniel Beck 6b4dd606bf [JENKINS-70533] Skip submitting telemetry when exception is thrown (#7618)
Co-authored-by: Daniel Beck <daniel-beck@users.noreply.github.com>
2023-02-06 15:00:36 -07:00
dependabot[bot] 329cc430bb Bump mailer from 438.v02c7f0a_12fa_4 to 448.v5b_97805e3767 (#7620)
Bumps [mailer](https://github.com/jenkinsci/mailer-plugin) from 438.v02c7f0a_12fa_4 to 448.v5b_97805e3767.
- [Release notes](https://github.com/jenkinsci/mailer-plugin/releases)
- [Commits](https://github.com/jenkinsci/mailer-plugin/commits)

---
updated-dependencies:
- dependency-name: org.jenkins-ci.plugins:mailer
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-05 07:20:11 -07:00
Jenkins Release Bot 186151ed9e [maven-release-plugin] prepare for next development iteration 2023-01-31 12:47:54 +00:00
Jenkins Release Bot abdae6c271 [maven-release-plugin] prepare release jenkins-2.389 2023-01-31 12:47:44 +00:00
dependabot[bot] 369b8f13ed Bump jenkins-test-harness from 1929.vfb_39b_60fcea_f to 1934.v90a_c07cf5b_21 (#7604)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-26 13:22:00 -08:00
dependabot[bot] 20b8432550 Bump script-security from 1228.vd93135a_2fb_25 to 1229.v4880b_b_e905a_6 (#7600)
Bumps [script-security](https://github.com/jenkinsci/script-security-plugin) from 1228.vd93135a_2fb_25 to 1229.v4880b_b_e905a_6.
- [Release notes](https://github.com/jenkinsci/script-security-plugin/releases)
- [Changelog](https://github.com/jenkinsci/script-security-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jenkinsci/script-security-plugin/commits)

---
updated-dependencies:
- dependency-name: org.jenkins-ci.plugins:script-security
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-26 10:09:59 +01:00
YaroslavandYaroslav Afenkin 5503dd1165 Encode cloud name in Cloud#getUrl (#7573)
Co-authored-by: Yaroslav Afenkin <yaroslavafenkin@users.noreply.github.com>
2023-01-25 09:44:51 +01:00
Jenkins Release Bot 632700b8bb [maven-release-plugin] prepare for next development iteration 2023-01-24 12:46:39 +00:00
Jenkins Release Bot b2f4d11114 [maven-release-plugin] prepare release jenkins-2.388 2023-01-24 12:46:29 +00:00
dependabot[bot] 67f0dddf2f Bump jenkins-test-harness from 1926.v9b_323a_4da_421 to 1929.vfb_39b_60fcea_f (#7592)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-19 13:24:45 -08:00
dependabot[bot] db9ddae1ea Bump jenkins-test-harness from 1912.v0cdf15450b_fb to 1926.v9b_323a_4da_421 (#7582)
Bump jenkins-test-harness

Bumps [jenkins-test-harness](https://github.com/jenkinsci/jenkins-test-harness) from 1912.v0cdf15450b_fb to 1926.v9b_323a_4da_421.
- [Release notes](https://github.com/jenkinsci/jenkins-test-harness/releases)
- [Changelog](https://github.com/jenkinsci/jenkins-test-harness/blob/master/docs/CHANGELOG-OLD.md)
- [Commits](https://github.com/jenkinsci/jenkins-test-harness/commits)

---
updated-dependencies:
- dependency-name: org.jenkins-ci.main:jenkins-test-harness
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-17 10:08:54 -07:00
Jenkins Release Bot 11bf736ed9 [maven-release-plugin] prepare for next development iteration 2023-01-17 13:01:29 +00:00
Jenkins Release Bot 8c774b6e63 [maven-release-plugin] prepare release jenkins-2.387 2023-01-17 13:01:18 +00:00
Jesse GlickandAlexander Brandes bedd4fe1ca [JENKINS-62332] Remove plugin update GUI “A newer version than being offered for installation exists…” (#7362)
Co-authored-by: Alexander Brandes <mc.cache@web.de>
2023-01-17 08:08:51 +00:00
Jenkins Release Bot c3620b8944 [maven-release-plugin] prepare for next development iteration 2023-01-10 13:36:01 +00:00
Jenkins Release Bot 5cecd13ec3 [maven-release-plugin] prepare release jenkins-2.386 2023-01-10 13:35:49 +00:00
Jenkins Release Bot 7c1885554e [maven-release-plugin] prepare for next development iteration 2023-01-03 13:41:34 +00:00
Jenkins Release Bot 36457c6d5f [maven-release-plugin] prepare release jenkins-2.385 2023-01-03 13:41:11 +00:00
Stefan Spieker ca366b65e9 Replaced deprecated impersonate2 with as2 in Tests (#7552) 2022-12-31 16:51:55 +00:00