135 Commits
Author SHA1 Message Date
Rauneet SinghandTim Jacomb 8572a213c4 Run ATH tests on Java 25 in CI (#27511)
Co-authored-by: Tim Jacomb <21194782+timja@users.noreply.github.com>
2026-10-10 22:14:30 +01:00
d076aeb66b Add abort support to FormChecker delayed checks (#26595)
* Add abort support to FormChecker delayed checks

Support optional AbortController/AbortSignal in FormChecker.delayedCheck, skip aborted queued checks, and handle aborted/failed requests without stalling queue processing. Add regression test covering cancellation of outdated checks.

* Update test/src/test/java/hudson/util/FormFieldValidatorTest.java

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Address review feedback on FormChecker abort handling

Guard non-GET URL parsing when no query string is present, prevent schedule queue stalls on synchronous sendRequest failures, and make the regression test wait for queue drain instead of fixed timing.

* Use JS based test instead of hacky htmlunit test

---------

Co-authored-by: Kevin <kevin@Kevins-MacBook-Pro-3.local>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Tim Jacomb <timjacomb1@gmail.com>
2026-08-19 07:37:17 +01:00
Damien Duportal 755c80b40c chore(Jenkinsfile) only keeps the 10 last builds on PRs (#26968)
Ref. https://github.com/jenkins-infra/helpdesk/issues/5195#issuecomment-4753401627
2026-06-19 11:00:33 -06:00
Damien Duportal 575865adc9 chore(Jenkinsfile) don't use Spot agent instance (#26895)
Ref. https://github.com/jenkins-infra/helpdesk/issues/5171

This change is only for the Jenkins Core job so the billing impact should be small enough (compared to the improvement in core contributors life)
2026-06-10 15:07:07 -06:00
Hervé Le Meur 109e35100d chore(pipeline): use nonspot agents on retry with Linux too (#26267)
* chore(pipeline): use nonspot agents with Linux too

* test: use nonspot label on first try

* Revert "test: use nonspot label on first try"

This reverts commit 58cb1f07ad.
2026-02-06 13:45:01 +00:00
Tim Jacomb 1c60311df2 Reduce testing branches (#23852) 2025-11-25 14:22:52 +00:00
Alexander Brandes cb88428113 Test on ATH 21 (#11274) 2025-11-10 19:43:39 +00:00
7e6c5740ec Enable Java 25 support (#11148)
* Bump winstone to get Jetty 12.1.1

* Accept to start Jenkins with Java 25

* Build with Java 25

* Remove inaccurate javadoc that includes an incorrect link

The Javadoc comment said:

> When executing the resulting Callable, it executes
> FileCallable#act(FileCallable) on this FilePath.

The FileCallable interface does not have an `act(FileCallable)` method.
That absence causes the Javadoc generation to fail on Java 25.

There is a `FilePath.act(FileCallable)` method that could be inserted
instead, but I'm not confident the comment would then be correct.

Testing done:

Confirmed that Javadoc generation fails on Java 25 without this change.

Confirmed that Javadoc generation passes on Java 25 with this change.

(cherry picked from commit 3fdf9c18db)

* Temporary fix for javadoc build

* Bump winstone to 8.14

* Update Jenkinsfile

---------

Co-authored-by: Bruno Verachten <gounthar@gmail.com>
Co-authored-by: Mark Waite <mark.earl.waite@gmail.com>
Co-authored-by: Tim Jacomb <21194782+timja@users.noreply.github.com>
2025-10-24 09:29:31 -06:00
Mark Waite be407f2119 Sanitize launchable build name (#11174)
* Launchable rejects a name with embedded '%2F'

The '%2F' is a URL encoded '/' and occurs when a branch name with a '/'
is pushed to the Jenkins core repository.

This first step in the fix is to show that the bug exists.

* Sanitize launchable build name
2025-10-08 08:18:03 +02:00
Hervé Le MeurandTim Jacomb 4e76327afe Retry failing Windows builds on non-spot agent (#11052)
Co-authored-by: Tim Jacomb <21194782+timja@users.noreply.github.com>
2025-10-07 09:52:01 +01:00
Basil Crow 75f6c56c77 Require Java 17 or newer (#9358) 2024-06-11 15:52:23 +01:00
Tim Jacomb fe60facf91 ci: Set tests check to pending when maven build starts (#9125) 2024-04-05 22:56:02 +01:00
Alexander Brandes 78628d2386 Replace Java 19 with 21 in Jenkinsfile (#8361) 2023-08-11 22:15:07 +02:00
Alexander Brandes 4acf2954e5 Revert "Temporarily disable selective ATH tests" (#8212)
Revert "Temporarily disable selective ATH tests (#8206)"

This reverts commit cb5aa8fd5b.
2023-06-30 17:53:05 +02:00
Alexander Brandes cb5aa8fd5b Temporarily disable selective ATH tests (#8206) 2023-06-29 11:06:33 +02:00
Alexander Brandes e2569d2d55 Run ATH tests on Java 17 (#8170)
Run ATH on Java 17
2023-06-21 12:40:03 +02:00
Alexander Brandes 87195210fa Shift quality gates for javadoc warnings from 'new' to 'total (#8026)
Aggregate total amount javadoc warnings
2023-05-21 14:45:55 -06:00
Basil Crow 60c97a96b7 Implement Launchable subsetting (#8020) 2023-05-21 09:15:13 -07:00
Alexander Brandes ddadebb7e9 Address javadoc warning and setup quality gates (#8024) 2023-05-21 12:22:46 +02:00
Basil Crow e1dca47fb9 Collect Launchable test results on Windows (#8016) 2023-05-18 13:51:50 -07:00
Basil Crow 04ee8e8134 Remove use of Launchable shared library functionality (#8014) 2023-05-17 17:09:05 -07:00
Ullrich HafnerandAlexander Brandes c430010639 [Jenkinsfile] Add source directory when recording coverage results (#7935)
* Add source directory when recording coverage results.

JaCoCo does not store absolute paths in a coverage report, so the
Jenkins coverage plugin needs to know where the source files are
located. Otherwise, source code rendering and source referencing
in GitHub checks does not work correctly.

* Satisfy spotless

---------

Co-authored-by: Alexander Brandes <mc.cache@web.de>
2023-05-05 09:48:31 +02:00
Basil Crow be7ad434db Fix Launchable test result collection (#7919) 2023-05-03 13:43:48 -07:00
renovate[bot] e535e820f8 Update jenkins/ath Docker tag to v5563 (#7890)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-27 09:38:13 -07:00
Basil Crow 8656c1f43c Record Launchable builds (to an approximation) (#7866) 2023-04-23 13:08:06 -07:00
Basil Crow 86a9d07557 Refactor combinations in Jenkinsfile for readability (#7869) 2023-04-21 08:36:50 +01:00
Basil Crow 3948a95cad Collect Launchable test results for core and ATH workspaces in core builds (#7857) 2023-04-19 08:06:26 -07:00
Alexander Brandes a5253b10e3 Update code coverage step (#7831) 2023-04-19 07:45:16 -07:00
Basil Crow a211c622be Format Groovy files in root Maven module with Spotless (#7834) 2023-04-18 16:10:26 -07:00
Basil Crow 2e9c67c4c6 Use withCredentials for Launchable in Jenkinsfile (#7789) 2023-03-31 18:56:26 -07:00
Basil Crow 545c3dfe33 Record Launchable commits for successful builds (#7780) 2023-03-30 14:17:41 -07:00
Hervé Le Meur 1305b24897 Use artifact caching proxy for Jenkins Core builds (#7649)
* Use artifact caching proxy for Jenkins Core builds

* pipeline library PR merged

* restore empty line
2023-02-18 06:41:20 -07:00
Basil Crow 3d0f03ca8f Add Java 19 to Jenkinsfile (#7482) 2022-12-08 13:16:20 -08:00
Stéphane MERLE 233ddbbb4a Provide an ACI agent for Windows with Java 17 (#7429) 2022-11-21 21:34:02 -08:00
Jesse GlickandDamien Duportal 5350e26e6a Stop using infra.runATH (#7397)
* Stop using `infra.runATH`

* Forget execute bit https://github.com/jenkinsci/jenkins/pull/7397#discussion_r1024934609

* Apply suggestions from code review

Co-authored-by: Damien Duportal <damien.duportal@gmail.com>

* More legible to read commands from a here-doc https://github.com/jenkinsci/jenkins/pull/7397#discussion_r1024933518

* May as well split up `run.sh` args by line too

* Spell out Bash options https://github.com/jenkinsci/jenkins/pull/7397#discussion_r1025152483

Co-authored-by: Damien Duportal <damien.duportal@gmail.com>
2022-11-21 21:38:50 +00:00
Tim JacombandBasil Crow a4b9658167 Retry build on agent error (#7220)
Co-authored-by: Basil Crow <me@basilcrow.com>
2022-10-10 19:57:17 -07:00
Vincent Latombe e33b546d91 Let the CI pass the appropriate fork count (#7110) 2022-09-16 20:13:51 -07:00
Basil Crow 21f198b68f Remove legacy frontend unit tests (#6908) 2022-07-23 11:07:02 -07:00
Alexander Brandes 1165b6205c Highlight Stylelint warnings (#6841) 2022-07-13 08:02:07 -07:00
Alexander Brandes f8c4c724ea Rewrite Jest config in JavaScript (#6821) 2022-07-10 10:38:59 -07:00
Ullrich Hafner 6675fd828b Move reference build step before coverage report (#6818) 2022-07-10 10:13:17 -07:00
Alexander Brandes 05c8cb4199 Publish ESLint results for builds on ci.jenkins.io (#6817) 2022-07-09 09:17:12 -07:00
Basil Crow ed0ce3877c Inline executable-war (#6706) 2022-07-02 09:10:20 -07:00
Basil Crow 68c4c8f7cf Increase timeout (#6697) 2022-06-24 15:20:09 -07:00
Basil Crow c60ea9210c [JEP-236] [JENKINS-68570] Require Java 11 or newer (#6083) 2022-06-24 09:56:33 -07:00
Basil Crow 112bb349f7 Preserve dumpstream on Maven failure (#6641) 2022-06-10 10:30:20 -07:00
Basil Crow 057e4f16f1 Clean up Jenkinsfile (#6513) 2022-04-26 06:33:06 -07:00
Basil Crow 4ec1a69880 Remove custom MAVEN_OPTS in favor of .mvn/jvm.config (#6494) 2022-04-23 09:15:21 -07:00
Basil Crow a9d4ee2c29 Remove pointless JAVA_OPTS variable (#6495) 2022-04-22 07:17:59 -07:00
Basil CrowandTim Jacomb 2830b3be32 Restore incrementals publishing (#6492)
* Restore incrementals publishing

* fix mvn install

* Exclude POM file

Co-authored-by: Tim Jacomb <21194782+timja@users.noreply.github.com>
2022-04-21 06:44:55 +01:00