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

When a job is copied, the aliases as copied over and corrupt the new job

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      When a job with aliases is used as a copy for a new job, the build aliases are copied over to the new project.
      It might not fail immediately, but at the very least the job can't be reloaded from disk and it can't be found.
      Sample from system logs include:

      Failed Loading job XXXXXXXXXX (new job)
      java.lang.NullPointerException
      at java.util.Vector.addAll(Vector.java:880)
      at hudson.model.AbstractProject.createTransientActions(AbstractProject.java:756)
      at hudson.model.Project.createTransientActions(Project.java:213)
      at hudson.model.AbstractProject.updateTransientActions(AbstractProject.java:749)
      at hudson.model.AbstractProject.onLoad(AbstractProject.java:336)
      ....

      Feb 09, 2014 7:03:14 PM INFO jenkins.InitReactorRunner$1 onAttained
      Loaded all jobs

        Attachments

          Activity

          pmatignon Patrice Matignon created issue -
          olivergondza Oliver Gondža made changes -
          Field Original Value New Value
          Assignee Oliver Gondža [ olivergondza ]
          scm_issue_link SCM/JIRA link daemon made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 153734 ] JNJira + In-Review [ 194673 ]

            People

            Assignee:
            olivergondza Oliver Gondža
            Reporter:
            pmatignon Patrice Matignon
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: