Open fenchu opened 6 years ago
parameterized-scheduler=0.5 jenkins 2.107.1
org.jenkinsci.plugins.parameterizedscheduler.ParameterizedTimerTrigger.run() failed for testapi_events java.lang.IllegalArgumentException: Illegal choice for parameter HOST: "welfare-qa testapi"
setup is like this:
H 22 * * 1-5 % HOST="welfare-dev testapi"; SITENAME=GX8Autotest30; WAIT=0.5 H 22 * * 1-5 % HOST="welfare-dev testapi"; SITENAME=Institusjon; WAIT=0.5 H 22 * * 1-5 % HOST="welfare-dev testapi"; SITENAME='Sensio Kontor'; WAIT=0.5 H 22 * * 1-5 % HOST="welfare-dev testapi"; SITENAME='Sensio Labs'; WAIT=0.5 H 22 * * 1-5 % HOST="welfare-qa testapi"; SITENAME=GX8AutoTest; WAIT=0.5
Works fine as plain HOST dropdown
If anyone faces the same issue, just remove a quotes from a parameters string. Like that: H 22 * * 1-5 % HOST=welfare-dev testapi; SITENAME=GX8Autotest30; WAIT=0.5
H 22 * * 1-5 % HOST=welfare-dev testapi; SITENAME=GX8Autotest30; WAIT=0.5
parameterized-scheduler=0.5 jenkins 2.107.1
setup is like this:
Works fine as plain HOST dropdown