tag:blogger.com,1999:blog-994665793725748583.post3404675231061888473..comments2024-03-11T05:05:29.160+00:00Comments on Hops to Raw Pointers: Performing nightly build steps with a Jenkinsfiletwmatrimhttp://www.blogger.com/profile/08108073888995076828noreply@blogger.comBlogger7125tag:blogger.com,1999:blog-994665793725748583.post-55725505591452723162017-11-01T08:34:18.152+00:002017-11-01T08:34:18.152+00:00I haven't tried it but think you might need th...I haven't tried it but think you might need the parameterized scheduler plugin and the format of the trigger would be<br /><br />parameterizedCron('H H(0-2) * * * %param1=true')twmatrimhttps://www.blogger.com/profile/08108073888995076828noreply@blogger.comtag:blogger.com,1999:blog-994665793725748583.post-3182428130262744182017-11-01T06:56:46.252+00:002017-11-01T06:56:46.252+00:00i have tried cron('H H(0-2) * * * %param1=true...i have tried cron('H H(0-2) * * * %param1=true')<br /><br />but it's not working for me.. what's the problem for this...???jphttps://www.blogger.com/profile/04722101861945833411noreply@blogger.comtag:blogger.com,1999:blog-994665793725748583.post-31470027058825546232017-11-01T06:43:47.428+00:002017-11-01T06:43:47.428+00:00how to specify parameter in crons..
if (env.BRANC...how to specify parameter in crons..<br /><br />if (env.BRANCH_NAME == "master) {<br /> triggers << cron('H H(0-2) * * *')<br />}jphttps://www.blogger.com/profile/04722101861945833411noreply@blogger.comtag:blogger.com,1999:blog-994665793725748583.post-53850868876756179302017-07-12T14:15:52.976+01:002017-07-12T14:15:52.976+01:00Random bypasser comment: I'm guessing Imran ha...Random bypasser comment: I'm guessing Imran has https://wiki.jenkins.io/display/JENKINS/EnvInject+Plugin which defines the BUILD_CAUSE variable.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-994665793725748583.post-68511406233574543162017-01-17T09:09:48.323+00:002017-01-17T09:09:48.323+00:00Do you have any documentation on that? I don't...Do you have any documentation on that? I don't see a BUILD_CAUSE in my environment variables on Jenkins 2.73twmatrimhttps://www.blogger.com/profile/08108073888995076828noreply@blogger.comtag:blogger.com,1999:blog-994665793725748583.post-28970165815617525712017-01-17T06:28:00.531+00:002017-01-17T06:28:00.531+00:00ummm jenkins has an environment variable BUILD_CAU...ummm jenkins has an environment variable BUILD_CAUSE which is equal to TIMEDTRIGGER if job was run by timer or MANUALTRIGGER if a user manually runs it..<br />just use that for build causeImran Hayderhttps://www.blogger.com/profile/02667334842321557327noreply@blogger.comtag:blogger.com,1999:blog-994665793725748583.post-89310630349535437892016-10-25T05:02:45.583+01:002016-10-25T05:02:45.583+01:00Interesting post! Recently I've been reading a...Interesting post! Recently I've been reading about pipelines in Jenkins, and was wondering about exactly this (how to perform a nightly build using a pipeline script)Daniel15https://www.blogger.com/profile/04777529932373198555noreply@blogger.com