Doubt in Scheduling freestyle project

24 views
Skip to first unread message

selva vignesh

unread,
Sep 18, 2019, 9:01:58 AM9/18/19
to Jenkins Developers
Hi,
Is there any method available to check to find whether cron has been enabled in freestyle project.
Thanks in Advance

Robert Sandell

unread,
Sep 20, 2019, 5:25:31 AM9/20/19
to Jenkins Developer List
project.getTrigger(TimerTrigger.class) != null

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/3fe4d6f8-ed02-46a1-8d6f-5cecd2bf3dc6%40googlegroups.com.


--
Robert Sandell
Software Engineer
CloudBees, Inc.
CloudBees-Logo.png
Twitter: robert_sandell
Reply all
Reply to author
Forward
0 new messages