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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,559,898
Community Members
 
Community Events
185
Community Groups

Help with setting ANT deploy task in Bamboo

Hi there,

I am trying to create a CI deploy task using ANT. In my setup we use remote agents (AWS eleastic agents) to run the task.

My first task is 'Sourcecode checkout' - which works fine

Second task in same stage is build using ANT :

I do have deploy.xml which will eventuelly build and move the code to server.I also haveall supporting jar files. 

Now the question, i fail to understand where i should place my jar files and deploy.xml. 

I have placed 'Build file' as path to my Deploy.xml in linked bitbucket project

and Target as path to jar files in bitbucket  

 

I tried to place them in my bitbucket along with my source code but when run the build i get below error:

 

**Please ask if something is not clear - i am newbie and trying this for first time**

 

18-Apr-2023 13:28:22Starting task 'Deploytoudvk' of type 'com.atlassian.bamboo.plugins.ant:task.builder.ant'
18-Apr-2023 13:28:22
Beginning to execute external process for build 'Central Applications - Deploy-UDVK - Default Job #21 (CENTRALDEVELOPMENT-DEP-JOB1-21)'
... running command line:
C:\opt\ant-1.10\bin\ant.bat -Djava.io.tmpdir=C:\Users\Bamboo\AppData\Local\Temp\CENTRALDEVELOPMENT-DEP-JOB1 -f https://bitbucket.abcd.net/projects/CEN/repos/smallmaster/browse/Smallmaster/deploy.xml?at=feature%2FFeature1 https://bitbucket.abcd.net/projects/CEN/repos/smallmaster/browse/Smallmaster/masterdeploy.xml?at=refs%2Fheads%2Ffeature%2FFeature1
... in: C:\build\CENTRALDEVELOPMENT-DEP-JOB1
18-Apr-2023 13:28:22Buildfile: https:\bitbucket.abcd.net\projects\CEN\repos\smallmaster\browse\Smallmaster\deploy.xml?at does not exist!
18-Apr-2023 13:28:22Build failed
18-Apr-2023 13:28:22Failing task since return code of [C:\opt\ant-1.10\bin\ant.bat -Djava.io.tmpdir=C:\Users\Bamboo\AppData\Local\Temp\CENTRALDEVELOPMENT-DEP-JOB1 -f https://bitbucket.abcd.net/projects/CEN/repos/smallmaster/browse/Smallmaster/deploy.xml?at=feature%2FFeature1 https://bitbucket.abcd.net/projects/CEN/repos/smallmaster/browse/Smallmaster/masterdeploy.xml?at=refs%2Fheads%2Ffeature%2FFeature1] was 1 while expected 0

   

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events