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

Remote API to createItem configuration inconsistant

XMLWordPrintable

    • 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.

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

              Created:
              Updated: