Jenkins AntExec plugin not working with ant contrib -


I have been working on the latest Jenkins Windows 2003 server Manage Jenkins: I have IBM JDK set I have ant: Org.apache.ant_1.7.1.v20100518-1145 Ant is set as a house, I have Jenkins antique plug install. I have anthom / lib inside ant-contrib-0.6.jar.

I have created a job, and have added a build step, execute Apache ant, and I have it:

   & Lt; Project name = "test" & gt; & Lt; Description & gt; Sample bulid file & lt; / Description & gt; & Lt; Target name = "first" & gt; & Lt; Echo message = "The first five letters of the alphabet are:" /> & Lt; Antcontrib: list = "a, b, c, d, e" param = "letter" & gt; For & lt; Sequential & gt; & Lt; Echo & gt; Letter @ {letter} & lt; / Echo & gt; & Lt; / Sequential & gt; & Lt; / Antcontrib: for & gt; & Lt; / Target & gt; & Lt; / Project & gt;  

When I run the build, it fails

  antexec_build.xml: [echo] ant home = $ {ANT_HOME} [echo] Java home = $ {JAVA_HOME} Build C: \ Program Files (x86) \ Jenkins \ Jobs \ MCSOWelcome \ Workspace \ antexec_build.xml: 13: Problem: Failed to create work or type project Cause: Name is undefined. Action: Check spelling Action: Check that any custom works / types have been declared. Action: Check that any & lt; Presetdef & gt; / & Lt; Macrophage & gt; Announcements have taken place  

I have tried many different things, no fate. Please suggest

The bundle comes with anticoxic anticonnectibs, you do not need to add or define it. On the contrary, for disabled , you need to open 2 Advanced ... dialog before getting the option.

What do you have to do, however, use antcontrib namespace. For example, use for , type:
& lt; Antcontrib: for & gt;


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -