Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

how to copy the files to remote server via scp task when the remote path is determined by the build number

chen, zhen
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!
March 16, 2016

I am working with bamboo scp task.

I have some binary files to be copied from local machine to a remote server.

However, the remote path is not fixed and determined by the buildKey and buildNumber.

so I would like to copy files to remote path like this: /home/admin/bamboo_release/${bamboo.buildKey}/${bamboo.buildNumber}

It's better that if this directory not exist in remote server, the scp task can help to create it.

1 answer

0 votes
sparshgu April 11, 2016

Did you have any luck in this regard?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events