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

Simple check of configuration and less verbose output

    Details

    • Similar Issues:

      Description

      When setting config-rotator up for an invalid clear case configuration, eg. including the same component twice, the logs is very verbose and does not hint what is wrong.

      The build is also started.

        Attachments

          Activity

          Hide
          bue Bue Petersen added a comment -

          If configuration is not valid, and there is no existing build we can not prevent the build from being started by the poller.

          We will do a simple check of configuration by checking if same component is included more than once. Checks can later be improved or extended. At the moment it can not be done during configuration as we have no workspace there.

          Show
          bue Bue Petersen added a comment - If configuration is not valid, and there is no existing build we can not prevent the build from being started by the poller. We will do a simple check of configuration by checking if same component is included more than once. Checks can later be improved or extended. At the moment it can not be done during configuration as we have no workspace there.
          Hide
          bue Bue Petersen added a comment -

          We have implemented to levels of check of configuration. The first check is if configuration is loadable in ClearCase. The second level of check is if the configuration added make sense in a context of configuration rotation. Eg. config-rotator does not allow the same component more the once.

          Polling check the first level, and abort polling if check is not passed.
          Builds do both checks and fail if not passed.

          Show
          bue Bue Petersen added a comment - We have implemented to levels of check of configuration. The first check is if configuration is loadable in ClearCase. The second level of check is if the configuration added make sense in a context of configuration rotation. Eg. config-rotator does not allow the same component more the once. Polling check the first level, and abort polling if check is not passed. Builds do both checks and fail if not passed.

            People

            • Assignee:
              bue Bue Petersen
              Reporter:
              bue Bue Petersen
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: