I'm trying to use the "Wsadmin Command" feature, but it is not working. It seems Jenkins is treating the field content as a single command.
This is the Console Output I'm receiving (note the quotation marks around what came from the "Wsadmin Command" field):Using user admin defined at the server level
$ "/usr/bin/sudo /home/was/IBM/WebSphere/AppServer01/bin/wsadmin.sh" -conntype SOAP -host zefiro.cit -port 8880 -user admin -password ******** -lang jython -f "/var/lib/jenkins/jobs/AVD ZEFIRO/workspace/newDeploy.py" "AVD ZEFIRO" zefiro Vendas
FATAL: Wsadmin execution failed
Build step 'IBM WebSphere Application Server 6.x/7.x' marked build as failure
Checking console output
Jenkins' log doesn't say anything usefull, but this:
Sep 19, 2011 4:18:01 PM hudson.model.Run runINFO: AVD ZEFIRO #12 main build action completed: FAILURE
My prime suspects are the quotation marks around the "sudo wsadmin" pair.
I'm using Jenkins 1.430 and WAS Builder Plugin 1.6.