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

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

chen, zhen 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
Sparsh Gupta 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