[Ci-users] Is there an easy way to run a scheduled Jenkins job with different parameters?

Tue Mar 15 08:25:19 UTC 2016
Arie Bregman <abregman at redhat.com>

On Tue, Mar 15, 2016 at 10:06 AM, Niels de Vos <ndevos at redhat.com> wrote:
> Hi,
> I would like to run a Jenkins job on a regular schedule, and this job
> should run with different CentOS and Gluster versions. It is easy to
> write the job and pass the different environment. This works fine for
> manual execution with the Jenkins web interface
> Now, is there a trick or job-type in Jenkins that I can use to setup a
> schedule *and* pass different environment parameters for different
> times?
> The workaround would be to create multiple Jenkins jobs with different
> default parameters... But I do not think that is a very elegant
> solution.

You may want to look into Dynamic Parameter plugin[1]

Anther workaround (or solution?) would be to check the time by
yourself in 'virtualenv builder'/shell and set the parameters

[1] https://wiki.jenkins-ci.org/display/JENKINS/Dynamic+Parameter+Plug-in

> Thanks,
> Niels
> _______________________________________________
> Ci-users mailing list
> Ci-users at centos.org
> https://lists.centos.org/mailman/listinfo/ci-users