Remote Agent Download

I need to run .bat file from bamboo remote agent
I have one remote agent and i need to run this .bat file

1 answer

0 votes

Hi Sam,

 What issue are you running into when you try to run the .bat file? If you add a Script Task, and set the path there what happens and do you get any errors in your log?

 Cheers,

 

Branden

Basically i am  trying to run Tosca from bamboo. I have attached two files 

Shell.bat

cd %TRICENTIS_HOME%\ToscaCommander

TCShell.exe -workspace "C:\Tosca_Projects\Tosca_Workspaces\Demo\Demo.tws" "D:\Telstra\shell.tcs" -login "Admin" ""

Shell.tcs

//Admin Mode
adminModusOn

//Navigate to your test case folder you want to run
jumptonode "/Execution/ExecutionLists/New ExecutionList"
//Task Run
settcparam EnvIdentifier = PROD01
jumptonode "/Execution/ExecutionLists/New ExecutionList/Customer"
settcparam MyName = CSDEV01
//Save your work
save

 

when i am running the bat file using remote agent like using

 

command -bamboo.png

 Build is running and just calling the bat file and even though  tosca testcases failed its showing success build.

Suggest an answer

Log in or Sign up to answer
Community showcase
Asked Thursday in Jira Ops

I'm John Allspaw, Ask Me Anything about incident analysis and postmortems

I'm John Allspaw, co-founder of   Adaptive Capacity Labs, where we help teams use their incidents to learn and improve. We bring research-driven methods and approaches to drive effective inciden...

464 views 2 5
View question

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you