I have Bamboo 5.7.2 build 5716 plan that runs a Maven 3.x task `clean deploy`
Nightly I'd like to be able to trigger a Maven profile `clean deploy -Pmyprofile`. However I'd only like to do this nightly say 12am.
All other builds should run `clean deploy`
Bamboo Command Line Interface (CLI) has a queueBuild action that lets you set variables for the build. Make the -Pmyprofile a bamboo variable normally that defaults to blank. Use the Bamboo task from Run CLI Actions in Bamboo to schedule the queuing of the build at 12am.
Is is possible to run this within the same Plan as my exists build that runs every commit? Task 1 will have my normal build that runs on every commit and Task 2 will run my queueBuild to only runs @ 12am? Or would your approach require a separate Bamboo Plan?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Separate build that just runs the queueBuild with the special parameter setting.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
But I was hoping for Cron based Scheduling at the Bamboo Task level i.e My build will trigger on every commit. But 1 Maven Task in that build should be skipped and only scheduled to run to @ 12am Or alternatively, Cron based Scheduling at the Bamboo Stage level i.e. Stage 1 is triggered to run on every commit while Stage 2 is triggered to run based on cron. I guess this is not possible?
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.