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

Ant doesn't pass the command line properties correctly and they are null/blank

XMLWordPrintable

      When using the Ant Build Step and passing properties using the 'property' option in the UI. The resulting build.xml doesn't echo the property value and it is blank.

      If I run the same file from the command line and pass the property as;

      > ant -DmyProperty=test1

      The build.xml file correctly echo'es the result as;
      [echo] myProperty = test1

      Thanks

            bap bap
            fmhome fmhome
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: