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

java.lang.IllegalArgumentException: Jenkins already contains an item 'MyGeneratedJob'

    XMLWordPrintable

Details

    Description

      When updating a generated job I get:

      FATAL: Jenkins already contains an item 'XCSDK_prod_xcloud_python27_Functional_Tests'
      java.lang.IllegalArgumentException: Jenkins already contains an item 'MyGeneratedJob'
      at hudson.model.ItemGroupMixIn.createProjectFromXML(ItemGroupMixIn.java:227)
      at jenkins.model.Jenkins.createProjectFromXML(Jenkins.java:2944)
      at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.doRun(GeneratorRun.java:424)
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:566)
      at hudson.model.Run.execute(Run.java:1677)
      at org.jenkinsci.plugins.jobgenerator.GeneratorRun.run(GeneratorRun.java:281)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:231)
      at hudson.model.OneOffExecutor.run(OneOffExecutor.java:43)

      Attachments

        Activity

          syl20bnr Sylvain Benner created issue -
          syl20bnr Sylvain Benner made changes -
          Field Original Value New Value
          Status Open [ 1 ] In Progress [ 3 ]
          syl20bnr Sylvain Benner made changes -
          Resolution Fixed [ 1 ]
          Status In Progress [ 3 ] Resolved [ 5 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 152813 ] JNJira + In-Review [ 194352 ]

          People

            syl20bnr Sylvain Benner
            syl20bnr Sylvain Benner
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: