I added a simple if else statement as a part of my bash script.

if [[ $xml_name = "xmlnew" ]]
then
    partnerfolder = "update"
else
    partnerfolder = $partner
fi

and when i run the build job, i get this error.

+ [[ xmlnew = \x\m\l\n\e\w ]]
+ partnerfolder = update/tmp/hudson3128957863523275001.sh: line 21: 
partnerfolder: command not found
Build step 'Execute shell' marked build as failure
Finished: FAILURE


Can someone tell me what could be wrong?

There are other jobs running on the same jenkins with if-else statements and 
they seem to be working. Please help!!

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/63d8c0d9-4b7d-4452-a6c5-f724c8859952%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to