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

Configuration doesn't copy over to a new job

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Component/s: promoted-builds-plugin
    • Labels:
      None
    • Environment:
      Platform: All, OS: All

      Description

      When a new job is created by copying from an existing job which has the
      promotion configuration, the configuration of promoted plugin doesn't get copied
      over to the new job.

        Activity

        Hide
        mindless Alan Harder added a comment -

        Copy job just copies the config.xml over to the new job. In the case of promoted builds plugin, this file just contains the list of promotion names, but there are separate config files for each promotion. The plugin needs an ItemListener with an onCopied method to copy over the additional data files.

        Show
        mindless Alan Harder added a comment - Copy job just copies the config.xml over to the new job. In the case of promoted builds plugin, this file just contains the list of promotion names, but there are separate config files for each promotion. The plugin needs an ItemListener with an onCopied method to copy over the additional data files.
        Hide
        mindless Alan Harder added a comment -
        r24890 | mindless | 2009-12-23 17:33:22 -0700 (Wed, 23 Dec 2009)
        Changed paths:
           M /trunk/hudson/plugins/promoted-builds/pom.xml
           A /trunk/hudson/plugins/promoted-builds/src/main/java/hudson/plugins/promoted_builds/CopyListener.java
           M /trunk/hudson/plugins/promoted-builds/src/main/java/hudson/plugins/promoted_builds/JobPropertyImpl.java
        
        [FIXED JENKINS-3489] Copy config for promotions when a job is copied.
        Requires Hudson 1.325 (set this as parent in pom).
        
        Show
        mindless Alan Harder added a comment - r24890 | mindless | 2009-12-23 17:33:22 -0700 (Wed, 23 Dec 2009) Changed paths: M /trunk/hudson/plugins/promoted-builds/pom.xml A /trunk/hudson/plugins/promoted-builds/src/main/java/hudson/plugins/promoted_builds/CopyListener.java M /trunk/hudson/plugins/promoted-builds/src/main/java/hudson/plugins/promoted_builds/JobPropertyImpl.java [FIXED JENKINS-3489] Copy config for promotions when a job is copied. Requires Hudson 1.325 (set this as parent in pom).

          People

          • Assignee:
            mindless Alan Harder
            Reporter:
            shibug shibug
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: