Commit Graph

125 Commits

Author SHA1 Message Date
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 Nord 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
Jesse Glick 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
Oleg Nenashev 9225492a0a
Revert "Revert "Disable Windows builds and ATH to mitigate the ongoing INFRA issue" (#4155)" (#4316)
This reverts commit e37cd74f04.
2019-10-25 13:15:01 +03:00
Jesse Glick 3b3a2f5760
[JENKINS-58625] Cancel older builds of a given branch. 2019-10-23 16:54:04 -04:00
Oleg Nenashev e37cd74f04
Revert "Disable Windows builds and ATH to mitigate the ongoing INFRA issue" (#4155)
* Revert "Disable Windows builds, ATH and Incrementals to mitigate the ongoing INFRA issue (#4153)"

This reverts commit 3356311377.

* Jenkinsfile: Prepare to Windows Docker agents

* Revert the Linux label patch for the ATH step

* Disable Benchmarks for Windows
2019-10-23 19:37:01 +03:00
Oleg Nenashev 3356311377
Disable Windows builds, ATH and Incrementals to mitigate the ongoing INFRA issue (#4153)
* Disable Windows builds, ATH and Incrementals to mitigate the ongoing INFRA issue

See https://groups.google.com/forum/#!topic/jenkinsci-dev/v9d-XosOp2s is resolved

* Restore incrementals publishing
2019-08-15 23:01:17 +02:00
Jesse Glick 07ef6650a6 Run the Linux JDK 8 & 11 builds using ACI agents rather than Ubuntu VMs (#4129)
* Run the Linux JDK 8 & 11 builds using ACI agents rather than Ubuntu VMs.

* A couple of tests failed when run as root.

* Since https://github.com/jenkinsci/jnlp-agents/pull/5 is as yet undeployed, install packages ourselves as a workaround.

* Revert "Since https://github.com/jenkinsci/jnlp-agents/pull/5 is as yet undeployed, install packages ourselves as a workaround."
This reverts commit 2f7e84d67a.
The changes have been deployed, so the workaround is no longer necessary.
2019-07-27 07:54:24 +02:00
Jesse Glick 9731522f27 [INFRA-2028] The timestamps step is no longer necessary. (#4068) 2019-06-15 20:05:12 +02:00
Daniel Beck 23d60086d0 Do not retain as many artifacts 2019-02-10 00:48:42 +01:00
Jesse Glick e237b22251
Artifacts for incrementals are only supposed to be archived from one branch. 2019-02-05 09:45:50 -05:00
Jesse Glick bb7ba911d8
Avoid archiving any test-related artifacts. 2019-01-28 15:33:09 -05:00
Jesse Glick c842062ac5
Simpler check for local file modifications. 2019-01-03 15:41:57 -05:00
Jesse Glick 55ce7a6924
Let us again try all matrix variants. 2018-12-12 10:41:04 -05:00
Jesse Glick f966a89170
Noticed a Surefire error.
https://ci.jenkins.io/job/Core/job/jenkins/job/master/1179/execution/node/38/log/?consoleFull
[WARNING] Corrupted stdin stream in forked JVM 2. See the dump file /home/jenkins/workspace/Core_jenkins_master-CZB5BLBJFXZE2BKR63DSXQKXRZJAOWBX73QP55GU5KMX7AHAF6CQ/test/target/surefire-reports/2018-12-12T10-57-04_077-jvmRun2.dumpstream
2018-12-12 09:04:59 -05:00
Oleg Nenashev 46824ec45d [JENKINS-53863] - Update JTH to 2.41.1 and enable testing with JDK 11 2018-11-13 18:48:52 +01:00
Oleg Nenashev 2d7b2b6e24 [JENKINS-51903] - Allow specifying multiple Java versions in Jenkinsfile
Backports Jenkinsfile from the java11-support branch
2018-09-28 20:46:29 +02:00
Jesse Glick e216995ee0
Avoid CI failures pending reincrementalifization. 2018-05-07 09:39:26 -04:00
Jesse Glick 3fb17fb0bb
[JENKINS-50692] [INFRA-1571] #3394: JEP-305 Incrementals in core 2018-05-03 10:13:39 -04:00
Baptiste Mathus f94ecf2c9f Set ATH mvn run: set batch mode, and show versions 2018-04-30 09:53:49 +02:00
Raul Arabaolaza 9f8b5d691e [JENKINS-50405] Run the entire thing in docker && highmem node 2018-03-26 17:42:19 +02:00
Raul Arabaolaza 198850a120 [JENKINS-49269] Cautious deleteDir 2018-03-20 14:56:25 +01:00
Raul Arabaolaza 36e9eb0344 [JENKINS-49269] Use correct maven env to buld war for ATH 2018-03-14 15:02:20 +01:00
Raul Arabaolaza 122ce9a048 [JENKINS-49269] Fix jenkinsfile and use latest commit of ath 2018-03-14 11:24:14 +01:00
Raul Arabaolaza 41c006d5ed [JENKINS-49269] Run ATH SmokeTest category on core builds 2018-03-13 10:26:05 +01:00
Sam Van Oort 05948995af Use performance-optimized build mode to reduce IO needs a bit 2018-02-16 18:07:30 -05:00
Jesse Glick 26e0ac5124
war/src/test/js/ apparently produces war/target/surefire-reports/JasmineReport.xml without the TEST- prefix used by Surefire. 2017-12-01 12:04:16 -05:00
Jesse Glick 7cbc8f5502
Only inspect direct subdirectories for Surefire reports. 2017-11-30 23:00:20 -05:00
Jesse Glick 9e8c772c43 Simplifying naming of publish stages. 2017-11-16 22:49:13 -05:00
Jesse Glick 4e78418433 javadoc:javadoc could fail under some circumstances. 2017-08-14 15:40:46 -04:00
Jesse Glick 7b69fe5be6 [INFRA-1032] ${user.name} might contain metacharacters. 2017-06-26 15:19:27 -04:00
Jesse Glick 902b901385 Deleting obsolete comment. 2017-05-19 12:04:04 -04:00
Jesse Glick 1e3f1226cd Adding -e to get stack traces on failures. 2017-05-18 17:39:30 -04:00
Jesse Glick 82db76d5c8 [INFRA-1176] Using repo.azure.jenkins.io as a mirror for CI builds. 2017-05-18 17:28:25 -04:00
Jesse Glick e713cb42f4 Rather than ignoring .repository, better to use a location in the workspace temp directory. 2017-04-27 11:35:27 -04:00
Jesse Glick 9d269168a5 Verify that there are no modified or untracked files at the end of the build. 2017-04-26 13:07:41 -04:00
Jesse Glick 7c16d8dc46 Fix Javadoc generation on JDK 8. 2017-04-11 09:26:45 -04:00
Baptiste Mathus 067ba0ebe8 Remove MaxPermSize usage
Obsolete with Java 8. Permanent generation was removed.
2017-04-03 15:43:42 +02:00
Daniel Beck 335fb4bc78 Merge pull request #2763 from slide/windows-ci
Fix tests on Windows
2017-02-26 21:25:25 +01:00
Daniel Beck 2a03dda885 Reference redirectors and jenkins.io as much as possible (#2756)
* Reference redirectors and jenkins.io as much as possible

* Something went wrong, so this is a troubleshooting URL

* More specific redirect URLs
2017-02-25 19:56:01 +01:00
Daniel Beck 1047a2a66c Add Windows build back
This will allow PRs to resolve failing tests on Windows
2017-02-08 22:11:30 +01:00
Jesse Glick d46fc53ca4 Disable Windows builds until they are fixed. 2017-02-03 12:23:03 -05:00
Baptiste Mathus a1fde68ed7 [INFRA-1032] hack around by forcing user.name 2017-01-14 23:38:26 +01:00
Alex Earl 8c54dd3dac Add comment about hackiness 2017-01-04 09:07:04 -07:00
Alex Earl 29d0d2cadf Add a comment pointing to the ci.adoc file for node types 2017-01-03 15:50:15 -07:00
Alex Earl e19d3aa9ba Add Windows build 2017-01-03 13:15:12 -07:00
R. Tyler Croy fdcb083587
Remove the packaging tests entirely to get valid pull request verification
This code can come back, IMO, after @svanoort and I fix the unpleasant/broken
tight-coupling between this Jenkinsfile and Groovy code floating around in the
jenkinsci/packaging repository
2016-09-21 11:02:16 -07:00
R. Tyler Croy f981977c11
Remove the broken packaging testing temporarily
This needs to be reworked a bit to accomodate more modern versions of Jenkins
Pipeline
2016-09-21 11:01:11 -07:00
R. Tyler Croy 09df83be00
Let Maven decide the appropriate amount of concurrency 2016-09-18 09:34:47 -07:00
R. Tyler Croy 423fca9c97 Revamp the Jenkinsfile to use more recent @Symbol steps and to run well on ci.j.io (#2549) 2016-09-17 20:29:26 -07:00
Sam Van Oort 5d4e167547 Ensure that Jenkins 2.0 Jenkinsfile uses correct packaging branch 2016-04-12 11:35:19 -04:00
Jesse Glick 1fedbe18b6 After https://github.com/github/linguist/pull/2861 we should not need the shebang for syntax highlighting. 2016-04-07 16:16:00 -04:00
Andrew Bayer 8fecbaabaa Switch to building/testing with JDK8.
Memory issues (suspected) are causing hanging test execution when
building/testing with JDK7u80, so at Daniel Beck's suggestion, let's
move to JDK8.
2016-04-04 08:18:16 -07:00
Andrew Bayer 4983b01d3a An attempt to skip execution of package testing for PR builds 2016-02-23 12:57:31 -08:00
Andrew Bayer a29f3d16b5 Re-enable installer tests
Now that we're using sh2ju for installer tests and not failing the
build for test failures, instead going unstable, let's re-enable
installer tests for 2.0.
2016-02-22 08:18:54 -08:00
Andrew Bayer a39a56f482 [FIXED JENKINS-33019] Use FQN for BuildDiscarderProperty
BuildDiscarderProperty was moved to core from Pipeline, but not in
time for the 1.642 LTS line. So you need to explicitly use the fully
qualified class name when using it as long as you might be running on
1.642 or earlier LTSes.
2016-02-18 11:34:14 -08:00
Andrew Bayer 5fc0a84227 Disabling installer test execution for now.
The tests have a tendency to hang badly and don't pass in the first
place, so disabling them for now.
2016-02-11 10:56:33 -06:00
Andrew Bayer 2eab78e744 Use deleteDir again, error out if missing packages. 2016-01-28 06:56:22 -08:00
Andrew Bayer d3a65df0ee Addressing comments 2016-01-27 09:41:10 -08:00
Andrew Bayer 77d0646a86 Adding timestampedNode function to Jenkinsfile. 2016-01-27 09:11:22 -08:00
Andrew Bayer cfde07bab1 Removing superfluous 'exclude: null's from Jenkinsfile 2016-01-27 09:09:05 -08:00
Andrew Bayer 20f5914a1a Switching packaging.git branch to master 2016-01-27 09:04:17 -08:00
Andrew Bayer 3d1f738b3d Switch to fingerprinting on archive 2016-01-27 09:03:31 -08:00
Andrew Bayer 34017ef01b Stop stashing and fetch archive instead, build with docker.image.inside
Some hacks in here to deal with building as root.
2016-01-27 09:03:31 -08:00
Andrew Bayer 14cf3a2753 Fix a lurking bad variable name, move to using findFiles from utility steps 2016-01-27 09:03:31 -08:00
Andrew Bayer 41028ffb46 Removing comment re 'checkout scm' not working for standalone Workflow 2016-01-27 09:03:30 -08:00
Andrew Bayer 7efd207d0b [INFRA-488] Add a Jenkinsfile for Jenkins 2.0.
More work to do - currently, we're not including the Acceptance Test
Harness here, but that may change - it takes a really, really long
time. We're still waiting for
https://github.com/jenkinsci/packaging/pull/34 to get merged and are
using a branch for packaging for the time being. And a lot of
packaging tests are failing - see
https://issues.jenkins-ci.org/issues/?filter=15257 for possible
related JIRAs.
2016-01-27 09:03:30 -08:00