Skip to content

damienbiggs/parameter-pool-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

parameter-pool-plugin

Jenkins plugin for selecting a unique parameter from a parameter pool

Plugin adds a build step for setting a pool of values for a paramter. Ensures that a unique value will be used for each concurrent build. E.g. no two running builds will use the same parameter value.

I needed to create something like this for our CI environment. We have test VMs that we set up then run tests against on a per commit basis. These VMs are separate to slaves. To run these tests concurrently, I needed to ensure that two test jobs wouldn't run against the same test VM.

We use the following flow.

After a code commit, the following runs

  1. A container tests job is kicked off
  2. This job uses the parameter pool plugin to select a vm name that is not in use in any other running container test job
  3. This vm is reverted
  4. This vm is rebuilt with the code from the commit
  5. Tests are run against that vm.

About

Jenkins plugin for selecting a unique parameter from a parameter pool

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors