Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-55261

Errors visible in UI are hidden if you use job-dsl

    Details

    • Similar Issues:

      Description

      If you try to enter a cron expression in the Web UI like H/2 * * * * * you will get an error.

      If you use job-dsl construct like

       { scm 'H/2 * * * *' } 

      the job will be created without any issues. The incorrect values will be there in the config.xml, but if you open the Web UI you will not see the trigger at all. There is nothing to be seen in jenkins log. This won't be flagged in the Manage Old Data monitor either.

      Best solution would be too tighten validation for the executed job-dsl to not allow such values. If that's not possible it would be nice to at least be able to see a notification about the error somewhere.

        Attachments

          Issue Links

            Activity

            There are no comments yet on this issue.

              People

              • Assignee:
                daspilker Daniel Spilker
                Reporter:
                jbochenski Jakub Bochenski
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: