Exclusion-Plugin: Dynamic Name of Resource

16 views
Skip to first unread message

mr

unread,
Jul 21, 2015, 5:00:12 AM7/21/15
to jenkins...@googlegroups.com
Is it possible to set the name of the resource to be managed dynamically? For example as ${testDatabase}

The aim is to start multiple execution of one job depending on the availability of test databases. The job can be executed with different test databases, and the parallel execution shall be allowed only with a test database which is currently not in use.

mr

unread,
Jul 30, 2015, 7:17:06 AM7/30/15
to Jenkins Users, m...@protel.net
It seems it works! I have set the resource as: ${DATABASE_NAME}-${DB_HOST}

mr

unread,
Jul 30, 2015, 11:16:18 AM7/30/15
to Jenkins Users, m...@protel.net
The only problem with Dynamic Name Resource is that within the Exclusion control panel in the List of your resources currently allocated only the variables are listed and not the assigned string values. Thus it is also not possible to Release a resource :-(
Reply all
Reply to author
Forward
0 new messages