Hi,
I have created a job (Jenkins ver. 2.60.3) using pipeline definition and it's 'triggers' directive for eg.
```
triggers { cron('0 4 * * *') }
```
My expectation was that once the job is created, it would get triggered as per the specified cron expression by the system timer. However it seems the job doesn't get periodically scheduled on creation. Only when it's manually built once, the "Build periodically" field of the config gets populated with the same cron expression as the one in the pipeline definition. Then from next day onwards the job runs at 4 am as expected.
This is just my observation but I also noticed today that the docs do mention that 'triggers' actually means 're-triggers'.
Accepts a cron-style string to define a regular interval at which the Pipeline should be re-triggered
Just want to confirm that my conclusion about this behaviour of pipeline is correct as I couldn't find much clarification about it nor anyone else facing the same issue.
Thanks,
Vineet