You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
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
This is not bitbucket pipelines specific problem. Please try a tomcat related forum or documentation.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
awesome!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Radek can u share with me the document for pipeline to deploy in a tomcat server
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.