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,560,218
Community Members
 
Community Events
185
Community Groups

Bitbucket pipelines does not finish deploy war to tomcat

Edited

I am trying to run a script to deploy my war file to remote tomcat server on bitbucket pipelines and seems like it does not wait for the deployment to be finished. Any help?

curl -T $APPNAME#testapp.war https://tomcatadmin:testpwd@$REMOTESERVER/manager/text/deploy?path=/$APPNAME/testapp&update=true

1 answer

0 votes
mkleint
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Oct 21, 2019

This is not bitbucket pipelines specific problem. Please try a tomcat related forum or documentation.

Radek Antoniuk
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Oct 23, 2019

Maybe it's not pipelines specific problem, but I can imagine this should be solved by the BitBucket Pipelines pipes. In the same manner you could say that "scp-deploy" is not a pipeline specific problem.

I'd expect a pipe that does the transfer via Tomcat Manager, using Tomcat credentials and verifies that the return response is OK/DEPLOYED, similarly to Jenkins plugin.

mkleint
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Oct 23, 2019

Yes, you should be able to write a pipe that performs the deploy and waits for the application to be ready. You still need domain knowledge around tomcat to do so.

Documentation on how to write a pipe: https://confluence.atlassian.com/bitbucket/how-to-write-a-pipe-for-bitbucket-pipelines-966051288.html

Like Radek Antoniuk likes this
Radek Antoniuk
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Oct 24, 2019 • edited Nov 02, 2019

Thanks for the resources, indeed that's the path that I went by.

The pipe is already available here and the documentation will follow shortly: https://bitbucket.org/radekantoniuk/bitbucket-tomcat-deploy-pipe

mkleint
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Oct 24, 2019

awesome!

Hi Radek can u share with me the document for pipeline to deploy in a tomcat server

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events