If I use this syntax 

properties([
    pipelineTriggers([cron('0 21 * * *')])
])

Then the cron spec shows up under "periodic build trigger' in my list 
views. But it does not  show up if I use this syntax 

properties([
    pipelineTriggers([
        [$class: "SCMTrigger", scmpoll_spec: 'H 22 * * *']
    ])
])

Is there a workaround? A plugin I should use?  

BTW, The 'cron Trigger' column never shows me anything.

Also, is there a way to make a property take affect without running the job 
once? 




-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/156556c6-5c62-49ac-ae7e-035fe8d47246%40googlegroups.com.

Reply via email to