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

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

    XMLWordPrintable

    Details

    • Similar Issues:

      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

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: syl20bnr
          Path:
          src/main/java/org/jenkinsci/plugins/jobgenerator/GeneratorRun.java
          http://jenkins-ci.org/commit/jobgenerator-plugin/6d63adae1203e7e5d9e348686f71c5ec7a700164
          Log:
          JENKINS-20972 Exception when updating a generated job

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: syl20bnr Path: src/main/java/org/jenkinsci/plugins/jobgenerator/GeneratorRun.java http://jenkins-ci.org/commit/jobgenerator-plugin/6d63adae1203e7e5d9e348686f71c5ec7a700164 Log: JENKINS-20972 Exception when updating a generated job
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: syl20bnr
          Path:
          src/main/java/org/jenkinsci/plugins/jobgenerator/GeneratorRun.java
          http://jenkins-ci.org/commit/jobgenerator-plugin/da375e54af06b3532ce7b576d99a29fab5d15dad
          Log:
          JENKINS-20972 Exception when updating a generated job

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: syl20bnr Path: src/main/java/org/jenkinsci/plugins/jobgenerator/GeneratorRun.java http://jenkins-ci.org/commit/jobgenerator-plugin/da375e54af06b3532ce7b576d99a29fab5d15dad Log: JENKINS-20972 Exception when updating a generated job

            People

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

              Dates

              • Created:
                Updated:
                Resolved: