Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

how to deploy the source code directly to the IIS windows server from Bamboo ?

Pundarikaksha Kakkirala
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 8, 2024

We are using Bamboo Pipeline for building the Git-Hub repo using Msbuild tool of .Net core 4.5.2 version &  deploying the code to the final deployment servers using octopus as a deployment.

Do we have any feasibility to deploy the builded code or artifact or source code directly in to the windows server IIS deploy without using OCTOPUS. Also do we have any code revert back options, if we having any issues with the fresh code, hence we are using for environments like Development, Staging, UAT, Pre-Production & Production as well.


  Need suggestion and Procedure to deploy it 

1 answer

1 vote
Jyothi Charupalli
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 12, 2024

Hi @Pundarikaksha Kakkirala ,


Thanks for reaching out to Atlassian Community! 

I understand you want to directly deploy your source code to the IIS Windows Server without using the Octopus.

You can use the multiple tasks like SCP and SSH tasks available in Bamboo in your deployment project to copy the source code to the remote Windows server through the SCP task and then use the SSH task to run the required commands to deploy the code on the Windows remote server.

Yes, you can use different environments for deployments like Development, Staging, and UAT to test your deployment code and then release that to the higher environment like the Production environment, when the deployment is successful in lower environments.

You can rollback the deployment to previous releases from the rollback option available under the deployment environment like below:

Screenshot 2024-02-12 at 15.11.14.png

You can also rollback by deploying the Release that you want to rollback to and using the bamboo.deploy.rollback (true|false) Bamboo variable or BAMBOO_DEPLOY_ROLLBACK environment variable within your deployment scripts to detect the rollback case and execute different steps.

Hope this helps!


Jyothi Charupalli 

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events