getting the following error :
05-Feb-2018 12:46:47 releaseCompleteWar.bat: line 1: Rem: command not found
05-Feb-2018 12:46:47 releaseCompleteWar.bat: line 2: Rem: command not found
05-Feb-2018 12:46:47 releaseCompleteWar.bat: line 4: SETLOCAL: command not found
05-Feb-2018 12:46:47 releaseCompleteWar.bat: line 73: unexpected EOF while looking for matching `"'
05-Feb-2018 12:46:47 releaseCompleteWar.bat: line 82: syntax error: unexpected end of file
Hi Loveleen,
Thanks for your question!
It seems the interpreter is not set correctly in the script task. Also, check for the Agent used to run the build plan (confirm that the plan is executed on the Windows by the Agent as you commands are Windows Compatible)
Thanks,
Robhit
Hi Robhit,
thanks for getting back. I dont see the interpreter option, when I am trying to set up a script task. It gives me options - Task Description, Script location, script file, arguments,environment variables and working sub directory. no option to say that it is a batch file.
Thanks
Loveleen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Robhit,
Still trying to find solution. The script task has batch file mentioned. It is executing the batch file as per required but ant commands in it are failing. cant recognise ant. I added ant as a requirement. Installed ant on the windows bamboo agent but no use.
Thanks
Loveleen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Loveleen,
How about sharing the screenshot? and the Bamboo Version you are using?
Also, share the commands that you are using.
My Screen Shot:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Robhit,
this is the task page I see on bamboo. Solved this one by installing ant on the server which was actually missing. But I cant see any interpreter dropdown option on my task page.
Thanks,
Loveleen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It was fixed in Bamboo 5.13, but you have 5.9.9: https://confluence.atlassian.com/bamboo/bamboo-5-13-release-notes-829057609.html#Bamboo5.13ReleaseNotes-Improvementsforthescripttask
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.