Cron Trigger works on and off

2017-05-08 Thread Ohad Cohen
Hi All, I'm using the declarative pipeline approach and when ever i use: properties([pipelineTriggers([cron('H(0-0) 00 * * 2,3,4,5,6')])]) I can't really be sure when will it trigger, it sometime do and sometimes don't. I'm using the "Next Executions" plugin (https://wiki.jenkins-ci.org/displ

Jenkins Groovy Parameters on Pipelines

2017-04-25 Thread Ohad Cohen
Hi All, i'm trying to override pipeline parameters using groovy code or declarative code. i can't wrap this thing to work and i hope someone can help me figure out why. while working with the declarative pipelines i have used the following code: properties([ buildDiscarder(logRotator(artifact

Declarative Pipeline - setting up basic pipeline properties

2017-01-09 Thread Ohad Cohen
Hi All, I'm new to Jenkins and i have created a multibranch pipeline, does anyone knows how to set the pipeline description through the pipeline script? and also how can i use gerrit trigger from the pipeline script? Thanks in advance, Ohad Cohen -- You received this message becaus

Re: Using mailer publisher inside Jenkinsfile

2017-01-09 Thread Ohad Cohen
Hi Raffaele, If you are using the 'Declarative Pipleine' syntax and you want to use 'Job Dsl' features, I think you should do: jobDsl scriptText: '''publishers { mailer(\'m...@example.com\', true, true) }''' ** Taken from the snippet generator hope this was helpful בתאריך יום שני, 9 בינוא