Create and deploy to a remote Windows server using Bamboo

I hope people are kind enough to point me in the right direction with the Bamboo request that I have.

The company I work with has an existing Bamboo CI server that works quite successfully (despite the old version - 2.6), and I need to configure a new build. The two people who completed almost all of Bamboo’s previous work are now gone, and therefore I really don’t want any of them to ask for advice.

I was hoping I could describe a manual process and then ask someone to suggest a better way to automate this.

Manual process (everything on the Windows Deployment Server):

  • Run svn update -force in six separate working directories, which in turn use two separate Subversion repositories.
  • Run "mvn clean install" in all six directories, one of which needs the extraDuser.timezone option added, which sometimes requires running two or three times before it is successfully executed.
  • Run the batch file DeployLocal.bat
  • Start two instances of JBOSS by executing the boot files "bin \ run.bat"

The batch file itself can be divided into several stages:

  • Build Maven from some projects (yes, redundantly after above)
  • Copy some assembly subdirectories to the deployment server location.
  • Configure self-signed SSL certificates and key stores for deployment servers
  • Copy more files to the desired location in the deployment server directories.

, Bamboo. , , ( ), !

- , , - Bamboo, , , , ?

- , . - , , , , !

:)

+3
2

, Bamboo Windows, :) , Bamboo 2.6:

https://confluence.atlassian.com/display/BAMBOO026/Bamboo+Administrator%27s+Guide

plans agents.

Bamboo , script. Ant script Maven script bash script. . Bamboo - .

, script, maven, DeployLocal.bat, JBoss. (Bamboo .) Bamboo script.

, !


+ Bamboo Windows? Windows?

-, , Bamboo . Bamboo "" . "" . " " . " " 0?

:! Windows capabilities. , Bamboo / / Windows. !

: Bamboo, . , :

  • Bamboo Windows. , , - NFS . FTP- .

  • Windows Bamboo, DeployLocal.bat JBoss. Unix ssh. Windows - , , Windows? MobaSSH Windows, MobaSSH , Bamboo Unix.

  • , Bamboo Windows. , maven Windows.

  • : script, , , , DeployLocal.bat jboss.


+ ?

, Bamboo 3.3 - , . : :

  • Bamboo. , , , , , . - - , .

  • svn: externals. subversion svn: externals , Bamboo . Bamboo, - voila, svn- .

  • - , , script, svn .


+ , .

. , , - , , .

+12

( ) , tomcat (, ):

  • svn git , linux windows
  • mvn clean install
  • scp
  • tomcat
  • Windows, powershell
0

All Articles