How to start Play using Bamboo without having the deployment continue forever?

We have created a Play application in Java and are deploying it to a dev-environment virtual machine using Atlassian Bamboo's SSH task: cd path/to/application/directory && start "" play run. This goes to the proper location, launches a new console, and starts play: the server is started successfully and we can access the site with no issues.

The problem is that the deployment task in Bamboo never stops because it is still monitoring the console where play run was called -- in the Bamboo status, we are seeing things like Deploying for 7,565 minutes. We thought adding the start "" would fix that issue, but in Bamboo it is the same as just doing the play run. Also, when we need to redeploy, we must first stop the deployment in process, and manually relaunch it.

Two questions:

  1. How can we start the server from Bamboo in such a way that the deployment plan finishes?
  2. How can we stop/kill the previous server from Bamboo at the beginning of the next deployment?

Bamboo is pretty bad for background tasks. Had a similar problem, eventually, we wrote a bash script that was run in background.

start.sh &1> /dev/null &2 > /dev/null &

Bamboo deployment, how to trigger it without compl, Bamboo is pretty bad for background tasks. Had a similar problem, eventually, we wrote a bash script that was run in background. start.sh &1> /dev/null &2  Bamboo can start deployments either by automated triggers, or by starting the process manually. Manually executing the deployment gives you the ability to start the process at your convenience, without having to wait for a scheduled event or trigger to take place.

not at all familiar with WAMP stack or the play cli, but try running it as a powershell command, which should run in and exit immediately

powershell -command "& <your command here>"

or failing that

powershell -command "& start-job { <your command here>} "

Congressional Record: Proceedings and Debates of the Congress, I have this plan linked to a Deployment Project with a couple of test environments​, let's say: Test; Production. I would like that, once the Test stage has been  To deploy the artifact, you add a Tomcat deploy task to the plan, as follows: Navigate to the task configuration for the job (this will be the default job if you are creating a new plan). Click Add Task and then Deploy Tomcat Application. Configure the Tomcat task settings, as described below. Click Save.

For Windows you can run background tasks using Groovy script. Groovy can execute an external program as an process:

"/bin/application.exe".execute()

And then you can check that application is running:

println "tasklist /fi \"imagename eq application.exe\"".execute().text

Continuous Delivery for Oracle Databases, with Atlassian Bamboo , Millions of men, women, and children will attend open house programs at our During the ages of sail and steam, with two broad oceans to isolate us from conflicts however, we shall not be given any time to make up for lack of preparedness. Our soldiers' presence along the iron and bamboo curtains is heartening  What is available in Bamboo Deployment space to deploy the build artifacts to the Windows OS targets? In our environment, the Bamboo server and agents are on Windows OS, running under service accounts that are permissioned on deployment target Windows OS servers. Would like to be able to copy to a U

Bamboo vs Jenkins, Continuous Delivery for Oracle Databases, with Atlassian Bamboo and By automatically deploying to an integration environment, you are Open Redgate Schema Compare for Oracle's GUI. It'll turn into a play button; click it, which runs a build. I'm not that patient, so I like to increase the polling rate. Bamboo Server is the choice of professional teams for continuous integration, deployment, and delivery. Focus on coding and count on Bamboo as your CI and build server! Create multi-stage build plans, set up triggers to start builds upon commits, and assign agents to your critical builds and deployments. Testing is a key part of continuous

[PDF] Documentation for Bamboo 6.2, Subjectively or not, Jenkins has a larger choice of plugins of all kinds With Bamboo you start by creating Build Plan. Checkout git repository; Build; Test; Deploy; Generate test report This is where plugins get into play. If branch hasn't been updated for a long time, Bamboo will remove its build plan. I have setup an Atlassian Bamboo deploy plan. One of its steps is to run a command to run automated UI tests written in Selenium for Python. This runs on a headless Centos 6 server. I had to inst

Environments and deployments, This page describes how to install, set up, and start using Bamboo. If you're automatic deployment to a server, such as the App Store or Google Play. If you work in a your build and test process is not dependent on a specific local environment. the images will continue to be available on upgraded instances, but will not. To create a new deployment project: Click Create > Create deployment project in the drop down menu from the header bar. The 'Setup deployment project' screen will appear: If your build plan has a plan branch, Bamboo will detect it and offer an additional field for completion: Complete the 'Setup deployment project' screen using the following fields:

Comments
  • Do you have an equivalent .bat for Windows?
  • You are deploying on windows?
  • Yes, our client has a WAMP stack and we are mimicking that in our dev / test environment.
  • You are mimicking a PHP stack for a Play app? Dafuq? However, got no idea how to do that on windows environment. I assume it creates a PID file as on Linux. You might start from there.