Presently we have cloud version of Bamboo
I have a batch file run_script.bat in my local machine. Can you please let me know how to setup a Bamboo plan/job to call the windows batch file. Because the script needs Worksoft environment which is present on my laptop. I just need to run this batch file from Bamboo Cloud.
PLease give me in detail steps.
First of all I'd suggest to remove Bamboo Cloud reference from your question and label. Bamboo Cloud was dismissed year ago so you probably talk about Bamboo Server.
You have at least two options to execute some file from your laptop by Bamboo which is running at other server.
1. First option is described by @Jeyanthan Inbasekaran: setup SSH access to your laptop from other server and use SSH task which can be executed on Bamboo local agent
2. Setup remote agent on your laptop and use Script task to execute bat file from your laptop's disk. You need to configure you Bamboo job to be didicated to remote agent hosted on your laptop
How about using an ssh task in Bamboo to login to your Windows machine and execute your batch script from cmd prompt?
Note that you will have to install SSH server on your machine, so that Bamboo can ssh into your machine. Latest version of Windows now comes with SSH server by default.
Hope that helps.
You mean that I have to intall SSH server on my local machine which is a windows 8.1 ( Not a server) and then generate the SSH keys. Also when I set up SSH task in Bamboo it is asking for username and password. Can I give my userID and PWD or Do I need Admin user. My local machine and Bamboo cloud are in the same LAN network. Please suggest.
We’re excited to invite you to this action-packed webinar where we will demonstrate how to integrate Opsgenie’s powerful alerting and on-call management tools with your entire Atlassian stack. Mar...
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!
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