Skip to main content

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 22:15
Craig Foote is currently offline Craig FooteFriend
Messages: 199
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"/>

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,
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: Tue Jun 19 16:36:15 GMT 2018

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

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

Back to the top