Cheers!
I need to copy an .ear file generated in my build to a different folder in my server. The target folder's name should be equals to my project version's name.
For example: My project generates a my_project.ear. I'm building version 1.0 of my project. So I would like to have the my_project.ear file to be copied to /data/version/1.0/my_project.ear
I have tried using the script task, with no use. Can anyone help me?
Script task should work. Do you see any error when you use that?
I am using a script similar to this one:
mkdir /data/version/${project.version}
and a folder called ${project.version} is created.
if I use one of Bamboo's properties ${bamboo.buildNumber} for instance, then the created folder has its name resolved to the property value (/data/version/29, for instance)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In this doc page there are many examples on using variables but I couldn't find an example which uses project version....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.