Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Hudson » antrun target 'unless' ignored(works in eclipse and on command line but not in hudson)
icon9.gif  antrun target 'unless' ignored [message #1203887] Fri, 22 November 2013 17:15
Craig Foote is currently offline Craig Foote
Messages: 195
Registered: July 2009
Senior Member
Hi, wondering if anyone else has seen this or have any ideas how to solve.

We have a war pom that uses maven-antrun-plugin to prompt for a password used in its integration tests:

<target unless="tests.password">
<input message="password:" addproperty="tests.password"/>
</target>

This works great on the command line, prompting unless I add -Dtests.password=secretpassword.

On hudson I've added a password parameter called tests.password that I can supply when it's run but when I do I still get prompted. I even added an echo of the variable value inside the target and it does display its value - it ignored the 'unless'.

Any help appreciated,
Craig
Previous Topic:Team concept and API access
Next Topic:How to get email on triggering a build if it gets success/failure
Goto Forum:
  


Current Time: Fri Aug 01 12:13:13 EDT 2014

Powered by FUDForum. Page generated in 0.07728 seconds