Details
-
Type:
Bug
-
Status: Resolved (View Workflow)
-
Priority:
Major
-
Resolution: Not A Defect
-
Component/s: core
-
Labels:
-
Environment:Jenkins Version: 1.480
-
Similar Issues:
Description
We have Jobs with timer trigger and SCM timer trigger.
Every trigger has an comment like this:
# every 30 minutes
*/30 * * * *
If we copy jobs with these triggers by URL(<Jenkins-URL>/createItem?name=copyOfJob) and config.xml as post data, then the triggers are not activ. Jenkins handles
# every 30 minutes
*/30 * * * *
as a whole comment.
If the trigger configuration ist like:
*/30 * * * *
# every 30 minutes
then copy by URL ist not possible. Jenkins gives an Exception (see Attachment)
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
Description |
We have Jobs with timer trigger and SCM timer trigger. Every trigger has an comment like this: # every 30 minutes */30 * * * * If we copy jobs with these triggers by URL(<Jenkins-URL>/createItem?name=copyOfJob) and config.xml as post data, then the triggers are not activ. Jenkins handles # every 30 minutes */30 * * * * as a whole comment. If the trigger configuration ist like: */30 * * * * # every 30 minutes then copy by URL ist not possible. Jenkins gives an Exception (see Attachment) |
We have Jobs with timer trigger and SCM timer trigger. Every trigger has an comment like this: ## every 30 minutes */30 * * * * If we copy jobs with these triggers by URL(<Jenkins-URL>/createItem?name=copyOfJob) and config.xml as post data, then the triggers are not activ. Jenkins handles ## every 30 minutes */30 * * * * as a whole comment. If the trigger configuration ist like: */30 * * * * ## every 30 minutes then copy by URL ist not possible. Jenkins gives an Exception (see Attachment) |
Description |
We have Jobs with timer trigger and SCM timer trigger. Every trigger has an comment like this: ## every 30 minutes */30 * * * * If we copy jobs with these triggers by URL(<Jenkins-URL>/createItem?name=copyOfJob) and config.xml as post data, then the triggers are not activ. Jenkins handles ## every 30 minutes */30 * * * * as a whole comment. If the trigger configuration ist like: */30 * * * * ## every 30 minutes then copy by URL ist not possible. Jenkins gives an Exception (see Attachment) |
We have Jobs with timer trigger and SCM timer trigger. Every trigger has an comment like this: \# every 30 minutes */30 * * * * If we copy jobs with these triggers by URL(<Jenkins-URL>/createItem?name=copyOfJob) and config.xml as post data, then the triggers are not activ. Jenkins handles \# every 30 minutes */30 * * * * as a whole comment. If the trigger configuration ist like: */30 * * * * \# every 30 minutes then copy by URL ist not possible. Jenkins gives an Exception (see Attachment) |
Component/s | core [ 15593 ] | |
Component/s | plugin-proposals [ 15491 ] |
Labels | jenkins trigger | trigger |
Resolution | Not A Defect [ 7 ] | |
Status | Open [ 1 ] | Resolved [ 5 ] |
Workflow | JNJira [ 146973 ] | JNJira + In-Review [ 192169 ] |