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

Remote API to createItem configuration inconsistant

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • sonar-plugin
    • None
    • Hudson v1.395, Tomcat 6.0.26

      When using http://hudson/createItem and posting a config.xml file to the url, the job is created however the defaultGoals for Maven does not appear on the 'Configure'. But when I view http://hudson/job/xx/config.xml the defautGoals is what was set in the config.xml when it was posted to the api.

      When built it ignores the defaultGoal in the config.xml and takes the blank entry from the Configuration.

      Tested this with Maven 2.2.1 and Maven 3.0.2 with same result.

          [JENKINS-8821] Remote API to createItem configuration inconsistant

          Luke Robertson created issue -
          evernat made changes -
          Resolution New: Incomplete [ 4 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Luis Silva made changes -
          Resolution Original: Incomplete [ 4 ]
          Status Original: Resolved [ 5 ] New: Reopened [ 4 ]
          Luis Silva made changes -
          Priority Original: Minor [ 4 ] New: Blocker [ 1 ]
          Luis Silva made changes -
          Component/s New: sonar [ 15523 ]
          Component/s Original: core [ 15593 ]
          Luis Silva made changes -
          Priority Original: Blocker [ 1 ] New: Critical [ 2 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 138965 ] New: JNJira + In-Review [ 185989 ]

            Unassigned Unassigned
            lukerobertson Luke Robertson
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: