[JIRA] [core] (JENKINS-16352) Add ability to specify parameters in the crontab

5 views
Skip to first unread message

batmat@batmat.net (JIRA)

unread,
Nov 16, 2015, 5:03:03 AM11/16/15
to jenkinsc...@googlegroups.com
Baptiste Mathus commented on New Feature JENKINS-16352
 
Re: Add ability to specify parameters in the crontab

Daniel Beck just found this issue and the plugin above.

> Let the job be parameterless (or at least without these parameters), and determine day of week in the build script and adapt behavior there.

Actually, for the use case that led me here, that wouldn't seem doable: in our situation, people who are going to specify those values aren't developers/very technical. It's far easier to ask them to specify cron + param=value form than to twiddle with shell-scripting. So I'd personnally like to consider this plugin get forked.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265)
Atlassian logo

dbeck@cloudbees.com (JIRA)

unread,
Nov 16, 2015, 9:08:52 AM11/16/15
to jenkinsc...@googlegroups.com

I have nothing against a plugin, but James Wilson argued for making this a core feature. If James can commit to maintaining it, I see no problem in forking it into jenkinsci and releasing it into the Jenkins community update site.

jw.mach1@gmail.com (JIRA)

unread,
Nov 16, 2015, 9:26:02 AM11/16/15
to jenkinsc...@googlegroups.com

It's been a while. The best I can remember about plugin vs core for this functionality was centered around how hard it was to create the plugin. I think it felt a bit out-of-phase as a plugin. I completely understand the hesitance to add something like this to core as it would have a relatively small audience of users.

That being said, I should have taken the final step to register the plugin with Jenkins so others can discover it easier. Maybe it has a larger audience than I think.

batmat@batmat.net (JIRA)

unread,
Nov 16, 2015, 10:47:02 AM11/16/15
to jenkinsc...@googlegroups.com

Still double-checking, but as I said we have a use-case for it here. So I'm planning to be a maintainer if I fork it.
Cheers

batmat@batmat.net (JIRA)

unread,
Nov 16, 2015, 10:47:03 AM11/16/15
to jenkinsc...@googlegroups.com
Baptiste Mathus edited a comment on New Feature JENKINS-16352
Still double-checking, but as I said we have a use-case for it here. So I'm planning to be a maintainer if I fork it.
And no problem James, we all have projects and prototypes we didn't finish ;-), that's [hacker] life after all :).

Cheers

andrew.paul.gray@gmail.com (JIRA)

unread,
Dec 13, 2016, 6:20:07 PM12/13/16
to jenkinsc...@googlegroups.com
Andrew Gray edited a comment on New Feature JENKINS-16352
+1 for this addition . .

I have exactly this use-case.  Will try out the parameterized-scheduler-plugin in the meantime.
This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)
Atlassian logo

andrew.paul.gray@gmail.com (JIRA)

unread,
Dec 13, 2016, 6:20:08 PM12/13/16
to jenkinsc...@googlegroups.com

+1 for this addition.I have exactly this use-case. Will try out the parameterized-scheduler-plugin in the meantime.

bsrikanthrdd@gmail.com (JIRA)

unread,
Jan 11, 2017, 5:04:01 PM1/11/17
to jenkinsc...@googlegroups.com

I have same problem,
I am not able to pass parameters from Job A to Job B. Job A is Approval job which will be approved by manager.
The second job has to pick the parameter and should wait for the scheduled production time and gets build.
I am not sure about this parameterized scheduler plugin.
I will give a try and let you guys know how it works.
If you guys any alternative way please let me know.

Thanks

paul.lanzerstorfer@bet-at-home.com (JIRA)

unread,
Mar 29, 2017, 6:19:05 AM3/29/17
to jenkinsc...@googlegroups.com

+1

I have exactly this use-case. Will try out the parameterized-scheduler-plugin in the meantime.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)
Atlassian logo

cody.casterline@gmail.com (JIRA)

unread,
Mar 28, 2018, 2:35:03 PM3/28/18
to jenkinsc...@googlegroups.com

Was this fixed and added to Jenkins core, or is the "fix" to go use the Parameterized Scheduler Plugin?

I ask, because I found parameterizedCron documented over at https://jenkins.io/doc/pipeline/steps/workflow-multibranch/ for the "Pipeline: Multibranch" plugin. However, despite having the latest version of the plugin listed at https://plugins.jenkins.io/workflow-multibranch (2.17), Jenkins still tells me:
java.lang.NoSuchMethodError: No such DSL method 'parameterizedCron' found among steps

dbeck@cloudbees.com (JIRA)

unread,
Mar 28, 2018, 3:47:03 PM3/28/18
to jenkinsc...@googlegroups.com

Cody Casterline Unfortunately the docs are structured by top-level element, in this case properties. Since that one allows you to specify any job properties, those will show up nested below it, no matter what plugin provides them.

bassam.khouri@gmail.com (JIRA)

unread,
Sep 14, 2018, 11:09:51 AM9/14/18
to jenkinsc...@googlegroups.com
Bassam Khouri updated an issue
 
Jenkins / New Feature JENKINS-16352
Change By: Bassam Khouri
Attachment: Screen Shot 2018-09-14 at 11.07.22 AM.png
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

bassam.khouri@gmail.com (JIRA)

unread,
Sep 14, 2018, 11:11:02 AM9/14/18
to jenkinsc...@googlegroups.com
Bassam Khouri commented on New Feature JENKINS-16352
 
Re: Add ability to specify parameters in the crontab

"Parameterized Scheduler" plugin's helpdoc has the following

 

Clicking on "this Jenkins issue" points to this ticket.  Clearly, the original author the "Parameterized Scheduler" plugin has idea to integrate the plugin into the core.   This ticket should be reopened, or the help test from the "Parameterized Schedule" plugin should be updated.

FATEMA.HASTA@DELL.COM (JIRA)

unread,
Oct 29, 2019, 10:31:04 AM10/29/19
to jenkinsc...@googlegroups.com

Are we still available to use job dsl support for Parameterized Schedular for the Job dsl v 1.76? I am not able to get this plugin working 

This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

FATEMA.HASTA@DELL.COM (JIRA)

unread,
Oct 29, 2019, 10:44:02 AM10/29/19
to jenkinsc...@googlegroups.com
Fatema Hasta edited a comment on New Feature JENKINS-16352
[~batmat] Are we still available to use job dsl support for Parameterized Schedular for the Job dsl v 1.76? I am not able to get this plugin working 
Reply all
Reply to author
Forward
0 new messages