Note that there are some explanatory texts on larger screens.

plurals
  1. POjenkins ant invocation and ivy tasks
    primarykey
    data
    text
    <p>I have one jenkins installation on a os x server (Lion) and i want it to invoke an ant script to compile one sigle example project. </p> <p>The istallation has one dedicated user, "jenkins", and if i log him from an ssh instance i can successfully run the compile task (which is using ivy's tasks) with:</p> <pre><code>jenkins&gt;ant compile </code></pre> <p>Problems start when ant is invoked by the web interface, getting this error:</p> <pre><code>Problem: failed to create task or type antlib:org.apache.ivy.ant:resolve </code></pre> <p>The cause: ant does not load correctly ivy's <em>resolve</em> task from the library. I really can't understand the fix. I am sure jenkins runs the commands as the "jenkins" user. </p> <p><strong>edit: more information</strong></p> <pre><code>BUILD FAILED /Users/Shared/Jenkins/Home/jobs/example-build/workspace/build.xml:19: Problem: failed to create task or type antlib:org.apache.ivy.ant:resolve Cause: The name is undefined. Action: Check the spelling. Action: Check that any custom tasks/types have been declared. Action: Check that any &lt;presetdef&gt;/&lt;macrodef&gt; declarations have taken place. No types or tasks have been defined in this namespace yet This appears to be an antlib declaration. Action: Check that the implementing library exists in one of: -/usr/share/ant/lib -/Users/Shared/Jenkins/Home/.ant/lib -a directory added on the command line with the -lib argument Total time: 0 seconds Build step 'Invoke Ant' marked build as failure Finished: FAILURE </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload