Is it possible to deploy to another webserver with the hosted solution?

Hello, our company uses the hosted companyname.jira.com solution for our PHP projects. I have bamboo setup to run phpunit currently. Would it be possible to either svn export or remote svn update one of our webservers for continuous integration?

1 answer

1 accepted

Accepted Answer
0 votes

Just to clarify - you'd like to remotely update your websites as part of your build? You could set up a script builder within a Job that would do it.

Depending on your use case, it may be simpler once Studio is updated to the next Bamboo release which includes support for tasks - that would let you structure your build more easily.

Right, we use JIRA svn, commits cause Bamboo to initiate a PHPUnit job. At this point 1 of the developers has to update files on our QA webserver (rackspace hosted if it matters) and instead we would like for this to be handled automatically when a successful PHPUnit test completes.

I'm still learning the ropes, when you say setup a script builder, would I need to write an ant task that can work with svn and ftp into our server to transfer updates?

Create a new stage in your plan - it will be run only if your job in first stage completes successfully. In that stage, add a job with a script builder. In this way, you don't need an ant task, you can write a script in Bash. You can use the variable custom.svn.revision.numberto find out which revision was used to trigger your 'green' build.

Thanks for your help.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

2,394 views 9 12
Read article

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