Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » 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 22:15
Craig Foote is currently offline Craig FooteFriend
Messages: 217
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: Mon May 06 15:49:38 GMT 2024

Powered by FUDForum. Page generated in 0.03034 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top