Skip to content

Commit

Permalink
Use container agents for faster test startup (#511)
Browse files Browse the repository at this point in the history
Easier to administer container agents than full virual machines.

Also removes the setting of the jenkins version in the configuration
to null, since it is already set to null by default.
  • Loading branch information
MarkEWaite committed Jan 13, 2023
1 parent c22ba12 commit 2db107b
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
// While this isn't a plugin, it is much simpler to reuse the pipeline code for CI
// allowing easy windows / linux testing and producing incrementals
// the only feature that buildPlugin has that relates to plugins is allowing you to test against multiple jenkins versions
buildPlugin(configurations: [
[ platform: "linux", jdk: "11", jenkins: null ],
[ platform: "windows", jdk: "11", jenkins: null ]
buildPlugin(
// Container agents start faster and are easier to administer
useContainerAgent: true,
configurations: [
[ platform: "linux", jdk: "11" ],
[ platform: "windows", jdk: "11" ]
])

0 comments on commit 2db107b

Please sign in to comment.