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

project update with dsl-script does not update "rootPom" settings for maven job

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Duplicate
    • Component/s: job-dsl-plugin
    • Labels:
      None
    • Environment:
      jobDslVersion=1.53
      jenkinsVersion=2.19.3 (LTS)
    • Similar Issues:

      Description

      We have some job-dsl scripts which are generating maven jobs.

      I have run the scripts with a seed job with a setup of something like this:

      ...
        rootPOM('myproject')
      ...
      

      This generates a jenkins job where in the rootPom section the correct setting "myproject/pom.xml" is generated.

      Now I needed, because of project refactoring, to remove this setting in my job-dsl script.

      After removing the statement and running the seed job again, the root pom entry "myproject/pom.xml" is still there. So it seems, the update does not affect this statement.

      After remove the jenkins job per hand and running the seed job again, the root pom statement was correct removed. So in general the generation of the job seems to be correct.

      It seems that only a job-update for the root-pom section is defect.

        Attachments

          Issue Links

            Activity

            Hide
            daspilker Daniel Spilker added a comment -

            This is the same problem as described in JENKINS-26825.

            Show
            daspilker Daniel Spilker added a comment - This is the same problem as described in JENKINS-26825 .

              People

              Assignee:
              daspilker Daniel Spilker
              Reporter:
              waffel Thomas Wabner
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: