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?
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.