Commit Graph
114 Commits
Author SHA1 Message Date
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
Basil Crow 4eb00bef36 Enable JaCoCo code coverage (#5825) 2022-04-17 13:22:11 -07:00
Basil Crow 2ad5073a39 Add Java 17 to build/test matrix (#6364) 2022-03-21 11:20:30 -07:00
Basil Crow ee12b2df0b Remove japicmp (#6367) 2022-03-14 18:23:50 -07:00
Basil Crow f64669d0a1 Clean up Jenkinsfile (#6104) 2021-12-24 16:35:53 -08:00
Basil CrowandJesse Glick 86ce50e78f Display JUnit test results as they appear (#6091)
Co-authored-by: Jesse Glick <jglick@cloudbees.com>
2021-12-23 19:19:50 +00:00
Basil Crow 67cfa954c8 Run tests on Windows (#6024) 2021-12-21 06:50:01 -08:00
Basil Crow 18009fbee7 Switch ATH from Java 8 to Java 11 (#6086) 2021-12-20 07:59:41 -08:00
Damien Duportal d738127bc3 chore(Jeninsfile) Switch Maven commands to infra.runWithMaven (#5843) 2021-10-22 09:56:42 +01:00
Hervé Le Meur 77982afc9a fix: use specific 'docker-highmem' instead of the combination of 'docker' and 'highmem' (INFRA-3099) (#5830)
So we can ensure only these pipelines with require a docker highmem machine
2021-10-18 16:37:24 +01:00
Jesse Glick 3824166269 disableConcurrentBuilds(abortPrevious: true) (#5812) 2021-10-13 08:08:10 +01:00
Stefan Spieker 9ee5c64518 fix pipeline syntax error 2021-10-12 23:11:28 +02:00
Damien Duportal a709794932 chore: Reverts #3297 to ensure pipeline maximum persistence (#5809) 2021-10-12 19:49:08 +01:00
Basil Crow 3d6d8ffaaf Enable Warnings Next Generation (#5752)
* Fix Javadoc warnings

* Enable Warnings Next Generation plugin

* Stop recording Maven warnings
2021-10-05 19:11:09 +02:00
James NordandMark Waite 76a9dac136 Prevent Junit 4 tests from being skipped due to jupiter engine (#5713)
* Prevent Junit 4 tests from being skipped due to jupiter engine

@jglick suggested before when this happened we should have a check but I
never implemented it.
now it has happened again lets add the checj to make sure tests do not
get skipped withouth anyone realising because we accidently pull in
jupiter-engine.

* Update core/src/test/java/jenkins/Junit4TestsRanTest.java

Co-authored-by: Mark Waite <mark.earl.waite@gmail.com>

* test case needs to be public!

* the missing tests where from the test package

The tests not being executied due to #5703 where in the test package, so
add a test and check there too.

Co-authored-by: Mark Waite <mark.earl.waite@gmail.com>
2021-09-09 14:12:30 +02:00
Tim Jacomb d697219e80 Increase timeout for branch (#5667) 2021-08-15 12:20:22 +01:00
a9ca5ef3d4 [JEP-227] Replace Acegi Security with Spring Security & upgrade Spring Framework (#4848)
Replacing Acegi Security with Spring Security

Co-authored-by: Tim Jacomb <timjacomb1+github@gmail.com>
Co-authored-by: James Nord <jtnord@users.noreply.github.com>
2020-11-06 11:30:25 -07:00
Tim Jacomb 9ac18faaa4 Configure test reporter for javascript tests 2020-10-25 20:38:53 +00:00
Mark Waite 7026b4d042 Do not use Azure maven cache - unavailable
The Azure maven cache was removed at the end of January 2020.  When the
DNS entry was also removed, builds began failing. Fix the builds.
2020-02-13 12:08:13 -07:00
Jesse Glick 50c68f851c ath branch also needs to suppress download messages, though 3.5.4 is too old for -ntp. 2019-11-26 09:08:48 -05:00
Jesse Glick b4856f6a17 -ntp 2019-11-25 16:26:22 -05:00
Oleg Nenashev e0d90f1148 Reenable ATH in Jenkinsfile 2019-10-31 18:03:59 +03:00