Commit Graph

34571 Commits

Author SHA1 Message Date
Jan Faracik d75833e5e0
Update appearance of controls in header (#8791)
* Init

* Tidy up

* Update resources.css

* Update resources.css

* Tidy up

* Update resources.css
2024-01-03 10:27:14 +01:00
Markus Winter f06a954ea4
allow to change the icon size of the node overview table (#8802)
make icon size of node overview page changeable

similar to the list of projects on the start page of Jenkins the
icon size of the overview page of nodes can now be changed.
2024-01-02 17:24:22 -07:00
Jenkins Release Bot 95bff130c3 [maven-release-plugin] prepare for next development iteration 2024-01-02 13:11:47 +00:00
Jenkins Release Bot 7dc5d1fecc [maven-release-plugin] prepare release jenkins-2.439 2024-01-02 13:11:25 +00:00
Alexander Brandes 4c423d4842
Update XML namespace schemaLocation (#8817) 2024-01-02 08:11:38 +00:00
Mark Waite 81c3249ca0
Use spotbugs 4.8.2 with more exclusions (#8803) 2024-01-02 08:11:15 +00:00
renovate[bot] 45586a4d28
Update babel monorepo to v7.23.7 (#8820)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-01 20:15:13 -07:00
dependabot[bot] 8118d8862e
Bump com.puppycrawl.tools:checkstyle from 10.12.6 to 10.12.7 (#8819)
Bumps [com.puppycrawl.tools:checkstyle](https://github.com/checkstyle/checkstyle) from 10.12.6 to 10.12.7.
- [Release notes](https://github.com/checkstyle/checkstyle/releases)
- [Commits](https://github.com/checkstyle/checkstyle/compare/checkstyle-10.12.6...checkstyle-10.12.7)

---
updated-dependencies:
- dependency-name: com.puppycrawl.tools:checkstyle
  dependency-type: direct:production
  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>
2024-01-01 20:13:39 -07:00
Mark Waite c8156d41f2
[JENKINS-72469] Avoid repeated tool downloads from misconfigured HTTP servers (#8814)
* [JENKINS-72469] Avoid repeated tool downloads from misconfigured HTTP servers

The Azul Systems content delivery network stopped providing the
last-modified header in their URL responses.  They only provide the
ETag header.

Add ETag support to the Jenkins FilePath URL download method so that if ETag is
provided, we use the ETag value.  If last-modified is provided and matches, we
continue to honor it as well.

https://issues.jenkins.io/browse/JENKINS-72469 has more details.

https://community.jenkins.io/t/job-stuck-on-unpacking-global-jdk-tool/11272
also includes more details.

Testing done

* Automated test added to FilePathTest for code changes on the controller.
  The automated test confirms that even without a last-modified value,
  the later downloads are skipped if a matching ETag is received.
  The automated test also confirms that download is skipped if OK is
  received with a matching ETag.  No automated test was added to confirm
  download on the agent because that path is not tested by any of the
  other test automation of this class.

* Interactive test with the Azul Systems JDK installer on the controller.
  I created a tool installer for the Azul JDK.  I verified that before
  this change it was downloaded each time the job was run.  I verified
  that after the change it was downloaded only once.

* Interactive test with the Azul Systems JDK installer on an agent.
  I created a tool installer for the Azul JDK.  I verified that before
  this change it was downloaded each time the job was run.  I verified
  that after the change it was downloaded only once.

* Interactive test on the controller with a file download from an NGINX
  web server confirmed that the tool is downloaded once and then later
  runs of the job did not download the file again.

* Use equals instead of contains to check ETag

Don't risk that a substring of an earlier ETag might cause a later
ETag to incorrectly assume it does not need to download a modified
installer.

* Use weak comparison for ETag values

https://httpwg.org/specs/rfc9110.html#field.etag describes weak comparison
cases and notes that content providers may provide weak or strong entity
tags.  Updated code to correctly compare weak and strong entity tags.

Also improves the null checks based on the suggestions from @mawinter69
in https://github.com/jenkinsci/jenkins/pull/8814#discussion_r1438909824

* Test comparison of weak and strong validators

* Do not duplicate test args, more readable

* Use better variable names in test

Cover more branches in the equalEtags method as well

* Fix variable declaration order
2024-01-01 20:09:42 -07:00
Anders Hammar 3597db8e13
[JENKINS-72466] Upgrade jbcrypt dependency (#8811)
JENKINS-72466: Upgrades jbcrypt dependency
2024-01-01 20:09:22 -07:00
Debayan Ghosh c878487461
[JENKINS-71666] Adapt to Popper deprecation in Jenkins core (#8810)
Removed deprecated popper2-api from war/pom.xml
2024-01-01 20:08:59 -07:00
Alexander Brandes b5030b74ac
Update JDK recommendations for contributors (#8818) 2024-01-01 06:31:01 -07:00
dependabot[bot] 2ac59590a6
Bump slf4jVersion from 2.0.9 to 2.0.10 (#8809)
Bumps `slf4jVersion` from 2.0.9 to 2.0.10.

Updates `org.slf4j:jcl-over-slf4j` from 2.0.9 to 2.0.10

Updates `org.slf4j:log4j-over-slf4j` from 2.0.9 to 2.0.10

Updates `org.slf4j:slf4j-api` from 2.0.9 to 2.0.10

Updates `org.slf4j:slf4j-jdk14` from 2.0.9 to 2.0.10

---
updated-dependencies:
- dependency-name: org.slf4j:jcl-over-slf4j
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.slf4j:log4j-over-slf4j
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.slf4j:slf4j-api
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.slf4j:slf4j-jdk14
  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>
2024-01-01 00:19:11 -07:00
renovate[bot] a82e94b05b
Update dependency sass to v1.69.6 (#8816)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-01 00:18:46 -07:00
Alexander Brandes f409569896
Run GH actions release artifact uploader with JDK 17 (#8813) 2024-01-01 00:17:56 -07:00
renovate[bot] 2e267453eb
Update dependency postcss-loader to v7.3.4 (#8812)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-31 12:24:56 +01:00
renovate[bot] 69e20dbbaf
Update dependency stylelint to v16.1.0 (#8804)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-29 01:23:31 +01:00
renovate[bot] ee7ec9f430
Update dependency sass-loader to v13.3.3 (#8808)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-29 01:21:45 +01:00
Markus Winter 3a92445c2b
[JENKINS-72370][JENKINS-11889] fix SimpleScheduledRetentionStrategy with inbound agents (#8717)
by implementing `isAcceptingTasks` the availability strategy ensures
that no builds can start when the agent should not do anything.
The current behaviour with an inbound agent is that the strategy
disconnects the agent, just to get connected again by the agents java
process followed by a disconnection a minute later and so on.
After it is connected, the agent is actually accepting tasks.

Additionally the change will only disconnect the agent when the controller
the controller can itself launch the agent, this means inbound agents
are not connected, to avoid playing jojo. The agent will just not accept
new tasks for execution.

The change also avoids the problem in [JENKINS-11889] for outbound
agents where the accepting tasks of an agents seems to be not reset when
changing the availability strategy to always on.
2023-12-28 10:59:43 +01:00
Jenkins Release Bot 111b3f28be [maven-release-plugin] prepare for next development iteration 2023-12-26 13:05:08 +00:00
Jenkins Release Bot 49c305dfb7 [maven-release-plugin] prepare release jenkins-2.438 2023-12-26 13:04:44 +00:00
dependabot[bot] 5ab5ad07e9
Bump io.jenkins.plugins:plugin-util-api from 3.6.0 to 3.8.0 (#8801)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-25 10:04:14 -08:00
Markus Winter 48da635be2
[JENKINS-71965] fix timezone in build history (#8800)
* [JENKINS-71965] fix timezone in build history

the timezone shown was always the daylight saving time when the users
selected timezone has daylight saving. The change will now consider the
actual timestamp of the build to determine if it was in daylight saving
time to properly calculate the timezone to show.

* make locale aware
2023-12-25 07:21:53 -07:00
Jesse Glick df03159afe
Restore JCasC compatibility for `JNLPLauncher.tunnel` (#8793)
* Restore JCasC compatibility for `JNLPLauncher.tunnel`

* Also removing `@Deprecated` on fields & getters
2023-12-23 16:49:49 -07:00
dependabot[bot] f60c1b4872
Bump org.jenkins-ci.main:jenkins-test-harness from 2137.vb_4eb_49f51c4b_ to 2140.ve736dc2b_b_d2c (#8799)
Bump org.jenkins-ci.main:jenkins-test-harness

Bumps [org.jenkins-ci.main:jenkins-test-harness](https://github.com/jenkinsci/jenkins-test-harness) from 2137.vb_4eb_49f51c4b_ to 2140.ve736dc2b_b_d2c.
- [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-12-22 21:51:23 +01:00
Jan Faracik 400d5e4ce4
Remove last usages of .bigtable (#8797) 2023-12-22 21:50:51 +01:00
renovate[bot] 43ecf08365
Update dependency eslint to v8.56.0 (#8789)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-21 14:22:54 -08:00
dependabot[bot] 8115f23fff
Bump com.google.guava:guava from 32.1.3-jre to 33.0.0-jre (#8792)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-21 14:21:51 -08:00
dependabot[bot] 7018b14cc3
Bump org.jenkins-ci.plugins:matrix-project from 818.v7eb_e657db_924 to 822.v01b_8c85d16d2 (#8796)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-21 14:20:36 -08:00
Basil Crow b8ee997fcc
[JENKINS-64356] Add test for missing `legacyIds` when creating jobs via REST API or CLI (#8758) 2023-12-21 11:38:14 -07:00
dependabot[bot] 184c79a02a
Bump org.springframework.security:spring-security-bom from 5.8.8 to 5.8.9 (#8788)
Bump org.springframework.security:spring-security-bom

Bumps [org.springframework.security:spring-security-bom](https://github.com/spring-projects/spring-security) from 5.8.8 to 5.8.9.
- [Release notes](https://github.com/spring-projects/spring-security/releases)
- [Changelog](https://github.com/spring-projects/spring-security/blob/main/RELEASE.adoc)
- [Commits](https://github.com/spring-projects/spring-security/compare/5.8.8...5.8.9)

---
updated-dependencies:
- dependency-name: org.springframework.security:spring-security-bom
  dependency-type: direct:production
  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-12-21 11:37:58 -07:00
Daniel Beck 3e04c2ac3d
Update Freestyle project description (#8795)
* Update Freestyle project description

* Fix typo

* Fix another typo

---------

Co-authored-by: Daniel Beck <daniel-beck@users.noreply.github.com>
2023-12-21 11:37:23 -07:00
Daniel Beck 044c071235
Fix import used for Javadoc (#8790)
Co-authored-by: Daniel Beck <daniel-beck@users.noreply.github.com>
2023-12-21 11:37:09 -07:00
Jan Faracik 01c42a3dca
Update the appearance of the stop button (#8780)
* Init

* Fixes

* Update executors.jelly

* Update _buttons.scss

* Fix i18n

* Tidy up

* Fix test

* Temporary fast build

CI build is too unreliable and I just want an incrementals...

* Revert "Temporary fast build"

This reverts commit 28df8398f3.

---------

Co-authored-by: Tim Jacomb <timjacomb1@gmail.com>
Co-authored-by: Alexander Brandes <mc.cache@web.de>
2023-12-20 22:45:22 +01:00
Jan Faracik 3a1ac2cb44
Use Jenkins modal for 'Apply' button failures (#8394)
* Init

* Linting

* Test fixes

* Switch to dialog for simple error case

---------

Co-authored-by: Tim Jacomb <timjacomb1@gmail.com>
2023-12-20 22:44:51 +01:00
Jenkins Release Bot 2ece2ccc9d [maven-release-plugin] prepare for next development iteration 2023-12-19 13:41:53 +00:00
Jenkins Release Bot 018bd8e4d9 [maven-release-plugin] prepare release jenkins-2.437 2023-12-19 13:10:58 +00:00
Markus Winter a82293567f
[JENKINS-71578] allow making sidepanel sticky (#8269) 2023-12-19 09:43:31 +01:00
Daniel Beck b0cec67728
Add telemetry for basic Java system properties (#8787) 2023-12-19 09:42:55 +01:00
Jan Faracik cf81b9cf93
Restyle widget panes (#8761)
* Init

* Update _style.scss

* Remove more bold weights

* Lower weight

* Tweak widths

* Fix spacing

---------

Co-authored-by: Alexander Brandes <mc.cache@web.de>
Co-authored-by: Tim Jacomb <timjacomb1@gmail.com>
2023-12-19 07:38:43 +00:00
Markus Winter 7258cad414
[JENKINS-72371] rework node monitor configuration (#8719)
* [JENKINS-72371] rework node monitor configuration

This PR reworks the way node monitors are configured. It ensures that
also monitors which are set to ignored, can be configured.
Previously, there was a checkbox before each monitor, where the
behaviour was not totally clear. It meant that the monitor is ignored
but still collecting data and not disabled as one might think. But when
the monitor was disabled any configuration was lost and default values
were used.

* improve description

* fix formatting

* add since
2023-12-18 18:21:48 +01:00
renovate[bot] 7a2e389f0d
Update jenkins/ath Docker tag to v5770 (#8786)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-17 10:48:55 -08:00
Basil Crow 3f1880179c
EOL `Global-Mask-Classes` (#8785) 2023-12-16 09:47:37 +01:00
renovate[bot] c4b9e81b60
Update babel monorepo to v7.23.6 (#8782)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-15 21:01:02 +01:00
dependabot[bot] 2cdf80166e
Bump actions/upload-artifact from 3 to 4 (#8784)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-15 21:00:40 +01:00
dependabot[bot] 8be599a973
Bump org.jenkins-ci.plugins:junit from 1240.vf9529b_881428 to 1252.vfc2e5efa_294f (#8781)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-15 10:37:27 -08:00
renovate[bot] 9defb96b16
Update dependency stylelint to v16.0.2 (#8783) 2023-12-15 12:51:32 +01:00
Vincent Latombe 259ccc06fb
[JENKINS-72449] Specify that no fallback to the default locale should be used when looking up a resource bundle via `I18n` action. (#8776)
[JENKINS-72449] Specify that no fallback to the default locale should be used when looking up a resource bundle

When running the JVM with a default locale that is not english, the
resource bundle lookup for english would return a bundle with that
default locale, instead of using the "default" that is english.

Also changed bundle resolution to use uberClassloader rather than
iterating on all plugin classloaders
2023-12-14 21:35:49 +01:00
Vincent Latombe 302e6ac2d1
Logging improvements to `Run` related classes (#8777)
Logging improvements to Run related classes
2023-12-14 21:35:18 +01:00
dependabot[bot] 2239347454
Bump org.jenkins-ci.main:jenkins-test-harness from 2135.v8f2e9795cf3f to 2137.vb_4eb_49f51c4b_ (#8779)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-13 19:41:06 -08:00