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

Updating maven jobs that are running causes them to think modules are not built

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      If the seed job runs and updates a maven job that is already executing then all modules that have not built for that job are marked as 'not built' which then causes those artifacts to not be fingerprinted correctly. Looking at the console output for the job, it continues to execute correctly, but something about updating the job from the seed job causes it to break.

        Attachments

          Activity

          Hide
          owenmehegan Owen Mehegan added a comment -

          Daniel Spilker I may be seeing this issue or one similar to it with the current version of Job DSL. Is there anything I could do in terms of increasing logging or other debugging that might help identify the cause?

          Show
          owenmehegan Owen Mehegan added a comment - Daniel Spilker I may be seeing this issue or one similar to it with the current version of Job DSL. Is there anything I could do in terms of increasing logging or other debugging that might help identify the cause?
          Hide
          daspilker Daniel Spilker added a comment -

          I think it's a problem of the Maven Project plugin. Job DSL just uses standard Jenkins API to update configurations. The problem should also occur when using the REST API to update the config XML.

          I would recommend to avoid the Maven Project plugin at all costs. It's a PITA. I migrate any Maven job to free style or pipeline jobs, when I see one.

          Show
          daspilker Daniel Spilker added a comment - I think it's a problem of the Maven Project plugin. Job DSL just uses standard Jenkins API to update configurations. The problem should also occur when using the REST API to update the config XML. I would recommend to avoid the Maven Project plugin at all costs. It's a PITA. I migrate any Maven job to free style or pipeline jobs, when I see one.

            People

            • Assignee:
              Unassigned
              Reporter:
              lorenzhawkes Lorenz Bateman
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: