Documente Academic
Documente Profesional
Documente Cultură
1. Introduction
2. Prerequisites
3. Installation Steps
3.1. Extract Artefacts
3.2. Set Environment Variables
3.3. Create Bamboo Home directory
3.4. Check Folder Permissions
3.5. Install Bamboo as a Windows Service
3.6. Run Bamboo Configuration Wizard
3.6.1. Give License Information
3.6.2. Configure Database
3.6.3. Setup Admin User
3.7. Enable HTTPS
3.7.1. Import Certificates
3.7.2. Update Jetty Configuration
3.7.3. Update Bamboo's Java Service Wrapper Configuration
3.7.4. Restart the Bamboo Service
4. Integration Steps
4.1. Integration Prerequisites
4.2. Import Plans
4.2.1. Export Old Bamboo Plans
4.2.2. Import Bamboo Plans
4.2.3. Reconfigure Bamboo-Crowd Integration
4.3. Add Plugins
4.4. Configure Single-Sign-On
4.4.1. Update Bamboo's Authentication class
4.5. SMTP Configuration
4.6. Update Fortify Configuration
4.7. Import Trusted Certificates
4.8. Add Artifactory and Sonar Plugins
4.9. Add Application Links
4.10. Configure Maven
5. Verification
1. Introduction
This page details how to install and configure Bamboo, and how to integrate it with Crowd, Artifactory, Sonar, JIRA and Confluence.
2. Prerequisites
The following AIS packages must exist on the machine:
atlassian-bamboo-5.0.zip
apache-maven-3.0.5-bin.zip
python_install.zip
HP_Fortify_SCA_and_Apps_3.50_Windows_x64.exe
portecle-1.7.zip
bambooPlugins.zip
The AIS team should have already installed the following products:
HP Fortify, in 'D:\Program Files\Fortify Software\'
Java JDK 1.7.0_25, in 'D:\Program Files\Java\'
The Bamboo Service Account exists
The SSL Certificates have been provided (Bamboo's Key Pair file, and the Root and Intermediate certificates)
Firewall ports have been opened
3. Installation Steps
Extract Artefacts
E
Extract the zip file 'atlassian-bamboo-5.0.zip' into the 'D:\devtools\Bamboo' directory, and rename the resulting 'atlassian-bamboo5.0' folder as 'install', so you end up with the contents of the zip file directly under the D:\devtools\Bamboo\ins folder.
E
E
Set the JAVA_HOME system variable, pointing it to the installation of Java in D:\Program Files\Java\jdk1.7.0_25
Add 'D:\Program Files\Java\jdk1.7.0_25\bin;D:\devtools\maven\bin' to the PATH system variable
bamboo.home=D:/devtools/Bamboo/home
In windows explorer, navigate to 'D:\devtools\Bamboo\install', and right-click on the batch file called 'InstallAsService.bat'. Select 'Run
as administrator'. You'll see a cmd prompt screen come up, then disappear straight away.
In the windows 'run' dialog, type 'services.msc' to open up the Windows Services console, and check to see that it has created a
service called 'Bamboo build server'.
Double-click on the 'Bamboo build server' service, and change the 'Startup type' to 'Automatic' and click 'Apply'. Sometimes process
will set to 'Automatic' by default.
E
Go to the 'Log On' tab, and select the 'This account' option, click 'Browse' and enter the service account name:
'GLOBALTEST\AUBamboodsa', then click 'Check Names' to ensure it finds the right service account, then click 'OK'.
Enter the password for the service account, then click 'OK'.
E
Right-click the 'Bamboo build server' service, and select 'Start'. You should now be able to open
the 'D:\devtools\Bamboo\home\logs\atlassian-bamboo.log' file and see that bamboo starts up
successfully.
In a web browser on the bamboo machine, navigate to 'http://localhost:8085',and run through the setup wizard.
E
When prompted, use the ServerID value from bamboo to retrieve the license key from the my.atlassian.com account.
Paste this license into the relevant field in the bamboo interface.
Configure Database
E
E
E
In the next stage of the configuration wizard, choose 'Custom Installation', as we want to configure bamboo to point to an
external database.
Accept the default values for the General Configuration, select 'Continue'.
Choose 'External Database', and specify the Microsoft SQL Server option from the drop-down list, then click 'Continue'.
Update the database URL to the following value:
jdbc:jtds:sqlserver://SQLAU001MEL0092.global.abc.com:49168/bamboo;useNTLMv2=tr
ue;domain=global
E
E
E
Add the username and password for the bamboo database service account
Click 'Continue'. Bamboo will now load for a while as it updates the database with the necessary data.
Select 'Create a new Bamboo home',then click 'Continue'.
Setup Admin User
Enter the details of the local Administrator user that you will use until the integration with Crowd is complete.
E
User name : bambooadmin
E
password : bambooadmin
E
email : bamboo.admin@gmail.com
Select 'Finish'. The configuration wizard is now complete!
Follow the instructions in the SSL Configuration Guide to import bamboo's Key Pair file (bamboo.service.pfx), the ABC Root and Intermediat
certificates, and the Crowd trusted certificate.
E
E
3. Add the following configuration, which will detail the connector to be used for https connections.
<Call name="addConnector">
<Arg>
<New class="org.eclipse.jetty.server.ssl.SslSelectChannelConnector">
<Arg>
<New class="org.eclipse.jetty.http.ssl.SslContextFactory">
<Set name="keyStore"><SystemProperty name="jetty.home"
default="D:/devtools/Bamboo/install/conf/bambooKeyStore.jks"/></Set>
<Set name="keyStorePassword">changeit</Set>
<Set name="keyManagerPassword">changeit</Set>
<Set name="trustStore"><SystemProperty name="jetty.home"
default="D:/devtools/Bamboo/install/conf/bambooKeyStore.jks"/></Set>
<Set name="trustStorePassword">changeit</Set>
</New>
</Arg>
<Set name="port">443</Set>
<Set name="maxIdleTime">30000</Set>
</New>
</Arg>
</Call>
In the same Jetty.xml file, there is another section under the comment '<!-- Add web applications Context. -->', which is titled '<Ca
name="setHandler">'. Under this tag, update the below values:
...
<SystemProperty name="bamboo.webapp" default="../webapp"/>
...
<Arg name="contextPath">/</Arg>
...
E
E
wrapper.app.parameter.2=../webapp/WEB-INF/classes/jetty.xml
Comment out the 3rd and 4th wrapper.app.parameter values, so ensure they won't get used. If they remain uncommented, when
you attempt to start the bamboo service, you'll get NumberFormatExceptions complaining that wrapper.app.parameter.2 cannot be
parsed as a number. If you comment out the 3 and 4 parameters, it will accept parameter 2 as a config file.
#wrapper.app.parameter.3=../webapp
...
#wrapper.app.parameter.4=/
E
E
E
Open the services console by typing 'services.msc' in the windows run dialog
Right-click on the 'Bamboo build server' service, and select 'Restart'.
Once bamboo has finished restarting, you should be able to access it from your local machine using https://bamboo.service.abc
4. Integration Steps
Integration Prerequisites
E
All of Crowd's users, groups and applications have been migrated from the old environment into the new enviroment.
E
A new application associated with the new bamboo instance, (eg, 'bambooqa') has been created, along with a new password,
and the relevant groups have been given access (ABC-bamboo-admin, etc).
Import Plans
Importing bamboo plans from one environment to another is not as simple as it should be. Unfortunately there is no way to export just the
plans themselves - when you run an export in bamboo, it will export the user-management data and some other configuration as well,
including the application links, crowd configuration, etc. For this reason, Crowd installation and configuration (including Integration steps)
must be completed prior to executing this step.
Whatever environment you import the plans into must have access to the same admin users as the environment where the export was taken.
As such, here are the steps we followed to get the bamboo plans migrated from the Tactical environment to the QA environment:
In the tactical environment, login to Bamboo as an admin user, navigate to the 'Administration' tab, and choose the 'Export' link f
underneath the 'System' menu heading.
E
E
E
use the bamboo server by clicking 'Pause Server' at the top of the screen, to ensure there are no jobs running during the
export process. This will prevent the export from becoming corrupted and will prevent any builds from being affected by the
export process.
Take note of the 'Export Directory Path', as you will need to retrieve the export zip file later.
Specify the export file name, and ensure 'Export Results' and 'Export Build Logs' are selected. Ensure 'Export Artifacts' notselecteis
d.
Click the 'Export' button, and wait for the Export to finish.
E
Once the export has finished, retrieve the export file from the bamboo server, and copy it across to the server running
the new bamboo instance.
Import Bamboo Plans
E
E
E
Copy the exported bamboo zip file across to the new bamboo instance
Login to the new bamboo instance
Update the 'User Repositories' page under 'Security' in the Administration page, changing the setting to 'Users and groups from or
Crowd'
E
Update the 'Server URL' value tohttps://crowd'.service.abc/crowd'(assuming crowd has https enabled)
E
Enter in 'bambooqa' as the 'Application name', and the associated password, both of which should match the values giv for
the new application in step 8.1
E
Leave the Cache refresh interval as the default value, and click 'Save'.
E Restart the bamboo service, and ensure you can login with the same administrator account as you can with the old
bamboo instance (this relies upon the crowd instances being synced as per step 8.1
Back in the Administration page, click 'Import' under the 'System' menu, and specify the path to the export zip file
E
E
Leave the other settings as default, with Backup data checked and the other two values unchecked ('Clear artifact directory'
and 'Apply imported data without server shutdown').
Click 'Import', and wait for the import to finish.
Once the import has completed, you will need to restart the bamboo service.
Reconfigure Bamboo-Crowd Integration
Once Bamboo finishes restarting after the import, you will notice that you can no longer login, even if you are using valid admin accounts that
you know exist in both crowd instances. This is because after the import, bamboo is configured to talk to the old crowd instance, which
requires a certificate in order to connect successfully. As this certificate doesn't currently exist, you'll notice a bunch of SSL errors in the log
bamboo started up. This is very simple to fix:
E
E
Login to the bamboo windows server, and navigate to the 'D:\devtools\Bamboo\home\xml-data\configuration' directory, and open th
'crowd.properties' file.
Update the application.name and crowd.base.url values to point to the new crowd instance:
application.name=bambooqa
crowd.base.url=http\://crowd.service.dev\:8080/crowd
Also ensure that the 'application.password' value matches what you specified when creating the application in crowd in step 8.1
E
Restart the bamboo service. Once bamboo has started up again, you should be able to login with the accounts that exist in
crowd, and you should see all of the imported jobs available and editable.
Add Plugins
Retrieve
the
D:\devtools
plugin-1.1.jar
following
a.
plugins
from
bamboo-variable-inject-
E
agent-smith-wallboard-4.4.2.3.jar
Copy the jars across to the Bamboo server to the following location:
D:\devtools\Bamboo\home\plugins
Configure Single-Sign-On
NOTE:This step requires Crowd to have already been configured with the necessary bamboo Application entry, Directories, users
and groups. You will need to know the application name and password specified in Crowd's bamboo application entry so they can
be entered into Bamboo's configuration.
E
E
E
<!--<authenticator
class="com.atlassian.bamboo.user.authentication.BambooAuthenticator"/>-->
<authenticator
class="com.atlassian.crowd.integration.seraph.v25.BambooAuthenticator"/>
session.validationinterval=30
E
E
In this same crowd.properties file, ensure that the 'application.name' and 'application.password' entries match the values specifie the
Crowd bamboo application configuration.
Start Bamboo. Bamboo's authentication and access request calls will now be performed using Seraph.
SMTP Configuration
Note: You will need to obtain the smtp server details, and some valid credentials to use it.
E
E
E
Hostname
IP Address
Tactical
appau182frm111.oceania.corp.abc.com
10.44.165.11
New
appau001mel0333.global.abc.com
10.44.204.225
Update the file 'server.properties' in the directory 'D:\Program Files\Fortify Software\HP Fortify v3.50\Core\config\' with the new f IP
address in these locations:
rulepackupdate.server=http\://10.44.204.225/ssc/
uploadclient.server=http\://10.44.204.225/ssc/
2. Run the rulepackupdate by opening a cmd prompt and running the rulepackupdate script:
$>fortifyupdate
Bamboo needs to communicate with a number of other applications: sonar, artifactory, jira, etc. This involves installing some Bamboo
plugins, and because each of the applications are SSL enabled, we will need to import some additional Trusted Certificates so that Bamboo
trusts the remote applications it is communicating with.
Follow the instructions in the SSL Configuration Guide under the 'Importing Trusted Certificates' heading, to import the
certificates for the following applications:
sonar.service.dev
artifactory.service.dev
jira.service.dev
confluence.service.dev
D:\devtools\Bamboo\home\plugins
D:\devtools\Bamboo\install\webapp\WEB-INF\lib
E
E
E
E
E
E
<server>
<username>admin</username>
<password>(removed)</password>
<id>central</id>
</server>
E
E
E Copy the encrypted password from the password field, and enter it in the Password field under the 'Artifactory Server
Details' screen in Bamboo.
Leave the Request timeout as default, and click the 'Test' button to validate the settings.
You should see a green box containing 'Connection Successful!". Click the 'Save' button
E
E
E
E
E
E
E
E
E
Configure Maven
Bamboo will execute maven commands during some of the builds. Although we have imported the Artifactory trusted certificate into
Bamboo's keystore, maven does not know about this keystore when connecting to Artifactory to download any necessary dependencies.
Therefore, we need to import the ABC root certificate, intermediate certificate, and the Artifactory certificate into Java's cacerts file so that
maven can connect successfully.
Follow the instructions in section 5 of the SSL Configuration Guide to import the root/intermediate/Artifactory certificates into the following
file: D:\Program Files\Java\jdk1.7.0_25\jre\lib\security\cacerts
Once this has been done, maven will be able to successfully download artifacts through Artifactory.
Verification
E
E
E
E
E
E
Backup
In the Source machine, the specific steps to follow to export the bamboo data are detailed in the bamboo install guide, section 4.2.1. This will
generate a zip file containing all the bamboo data, which you can then copy over to the target machine for importing.
Restore
After copying the backup zip file across to the target server, follow the steps in the bamboo install guide, section 4.2.2. This will import the
zip file containing all of the source machine's bamboo configuration.
5. Certificate Details
6. Housekeeping
1. Technical Specifications
Property
Value (Prod)
Application URL
https://bamboo.service.abc
Machine Name
APPAU001MEL0094.global.abc.com
DNS
bamboo.service.abc
IP address
10.46.167.193
Product Version
5.0
Install Path
D:\devtools\Bamboo\install
Home Path
D:\devtools\Bamboo\home
Log Path
D:\devtools\Bamboo\home\logs
GLOBAL\AUBamboodsa
Service Name
DB
SQLAU001MEL0092.global.abc.com:49168/bamboo
Vendor documentation
https://confluence.atlassian.com/display/BAMBOO/Bamboo+Documentation+Home
2. Known Issues
N/A
3. Lessons Learnt
Maven doesn't know about the bambooKeyStore.jks file, so needs to have the Artifactory and ABC root/intermediate certificates
imported into Java's cacerts file in order to successfully download artifacts.
4. FAQ
4.1. How can I stop/start/restart the bamboo service?
The Bamboo service is managed through the windows service dialog. Open the Run dialog and type 'services.msc'. The service name is
'Bamboo build server'. If you right-click on the service you can start/stop or restart the service from here.
RDP into the bamboo.service.dev machine and check that the bamboo service is running.
E This can be done through the Windows Task Manager. Sort the processes by the 'User Name' field, and if Bamboo is
running, there will be java.exe, wrapper.exe and conhost.exe processes running under the 'AUBamboodsa' user.
E
From the services application (services.msc) check the status of the 'Bamboo build server' service; if it is up and running,
the status should be 'started'.
i. If the service is not started, then right-click on the Bamboo service and click 'start'.
E
Check the Logs to see if there are any exceptions. If the log file hasn't been written to, check the security permissions on
the d:\devtools directory. The AUBamboodsa service account must have modify permissions on this directory in order to
write logs.
5. Certificate Details
Property
Value
D:/devtools/Bamboo/install/conf/bambooKeyStore.jks
bamboo
Truststore location
D:/devtools/Bamboo/install/conf/bambooKeyStore.jks
Trusted Hosts
ABC Root/Intermediate
artifactory
confluence
crowd
JIRA
sonar
6. Housekeeping
Database backup should be taken care of by the DBA team.
Build logs and plan configuration get backed up daily to 'D:\devtools\Bamboo\home\backups'.These backups will gradually get
larger as time goes on and more builds occur. Should disk space be running low, old backups from this directory can be safely
deleted.
Checked the Bamboo log in the server and found the below error:
TBOS - fix - dcmw251z-DEV BSTB-FIX-DEVDEPEXT-31 : Agent 'dcmw251z' went offline while building BSTB-FIX-DEVDEPEXT-31. The
build results did not finish.
Root Cause:
Symptom:
User reported that the build plan is failing in Bamboo CI tool.
Initial investigation:
Checked the bamboo logs and found the below:
build 30-Oct-2013 18:00:20 [ERROR] Failed to execute goal com.github.mcheely:requirejs-maven-plugin:2.0.0:optimize (optimize) on
project com.abc.web.caas.admin: r.js exited with an error. -> [Help 1]
build 30-Oct-2013 18:00:20 [ERROR]
build 30-Oct-2013 18:00:20 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
build 30-Oct-2013 18:00:20 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
build 30-Oct-2013 18:00:20 [ERROR]
From the artifactory it is found that the proxy in the artifactory is not set to access the github website.
Resolution:
Raise Work Order Request to 'CS messaging' team for adding the URLs referred by the 'Bamboo build plan' to the artifactory server proxw
hite list .
Get the Confirmation from the users about the issue resolution.
Root Cause:
The proxy in the artifactory is not set to access the github website.
TeamCity CI tool:
Checked the TeamCity logs and found that the job is failing while trying to execute the artifactory task.
From the artifactory logs it is found that the proxy in the artifactory is not set to access the URLs referred in the TeamCity build plan.
Resolution:
Raise Work Order Request to 'CS messaging' team for adding the URLs referred by the 'TeamCity build plan' to the artifactory server pro
white list .
Get the Confirmation from the users about the issue resolution.
Root Cause:
The proxy in the artifactory is not set to access the github website.
The plan was rerun by the development team and it has completed successfully.
https://confluence.service.abc/display/CONTRN/Bamboo-Sonar+task+failed+in+bamboo
Symptom:
Bamboo application is down. Below is the error received from the GUI:
Cause
Resolution
13-May-2014 [ERROR] Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.0:sonar (default-cli) on project tbos: Can not
21:19:04 execute Sonar: Fail to decorate 'com.abc.services.schedule.IntervalScheduleJob': Unable to persist :
org.sonar.api.database.model.RuleFailureModel@5ba65a63[snapshotId=5045,ruleId=475,priority=MAJOR,message=Variab
'endSecond' must be private and have accessor methods.,line=27,cost=<null>,createdAt=Tue May 13 21:02:45 EST
2014,checksum=63c956ab2caf9d12ec23f56526087bb0,permanentId=<null>,switchedOff=false,personId=<null>,id=<null>]:
org.hibernate.exception.GenericJDBCException: could not insert: [org.sonar.api.database.model.RuleFailureModel]: IO Exception:
"java.io.IOException: There is not enough space on the disk"; "D:/TBOS/DevTOOLS/Sonar/sonar-3.4.1/data/sonar.h2.db"; SQL
statement:
13-May-2014 [ERROR] insert into rule_failures (id, checksum, cost, created_at, line, message, permanent_id, person_id, failure_level,
21:19:04 rule_id, snapshot_id, switched_off) values (null, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [90031-167]
Root Cause:
Incorrect sonar setting were used for the bamboo-sonar plan.Also the driver setting were incorrect for the sonar server configured inside
bamboo.
Resolution:
To update a Sonar Server, simply click on the Edit link next to the server you want to edit on the Sonar Servers list page.
And enter the following parameters:
Name
Description (Optional)
The Sonar host username, used for authentication, together with the password, on the Sonar host front-end. (Mainly to
display Sonar data on with Bamboo of secured Sonar instances)
Password
The Sonar host password, used for authentication, together with the username, on the Sonar host front-end. (Mainly to
display Sonar data on with Bamboo of secured Sonar instances)
If This server uses the default Datasource is unchecked the following are also required:
URL
The Database JDBC url. You can find this in the sonar.properties file on your Sonar installation. Dont set this if you use the
default embedded database. (example for MySQL: jdbc:mysql://localhost:3306/sonar?useUnicode=true&char
acterEncoding=utf8)
Driver
The Database Driver class name. You can find this in the sonar.properties file on your Sonar installation. Dont set this if you
use the default embedded database. (example for MySQL: com.mysql.jdbc.Driver)
Username
The datasource username used, together with the password, for datasource authentication.
Password
The datasource password used, together with the username, for datasource authentication.
Bamboo FAQ
Bamboo 5.6.1
Bamboo Data Migration Procedure
PrIntroduction
Bamboo data migration involves exporting all the settings from one instance to another. This is relatively easy, but can only be done in a bigbang approach; there's no way to export a single plan by itself. All build plans and other configuration including user-management data will
be included in the backup.
Backup
In the Source machine, the specific steps to follow to export the bamboo data are detailed in the Bamboo Installation
Guide#ExportOldBambooPlans, section 4.2.1. This will generate a zip file containing all the bamboo data, which you can then copy over to
the target machine for importing.
convenient than performing an out-of-band backup. You can find these backup at the path D:\devtools\Bamboo\home\backups
Restore
After copying the backup zip file across to the target server, follow the steps in the bamboo install guide, section 4.2.2. This will import the
zip file containing all of the source machine's bamboo configuration.
Stop Bamboo
Go to the directory D:\devtools\Bamboo\home\xml-data\configuration
Copy the file "atlassian-user.xml"
Edit the file "atlassian-user.xml"
Replace the line <crowd name='Crowd Repository' key='crowd'/> <hibernatewith name="Hibernate Repository" key="hi
bernateRepository" description="Hibernate Repository" cache="true"/>
Start Bamboo
You should then be able to log into Bamboo with the username "localadmin" and the password "admin"
You can reset the local admin account by following these steps: https://confluence.atlassian.com/display/BAMBOO/Restoring+pas
swords+to+recover+admin+users
E
E
1. Click the
icon and select Overview.
Click Agents (under 'Build Resources')
Click either Enable Remote Agent Support or Disable Remote Agent Support.
E
E
E
E
1. Create a directory on the agent machine (e.g. bamboo-agent-home) to serve as the Bamboo agent home for the remote agent.
2. Click the
icon and select Overview.
Click Agents in the left panel (Under Build Resources). This will display the 'Agents' screen, showing lists of all local agents and al
remote agents that currently exist on your Bamboo system.
If not already enabled, click the Enable remote agent support link
Click Install Remote Agent. The 'Installing a remote agent' screen will display
Click DOWNLOAD Remote Agent JAR and save the JAR file to the directory on the agent machine that you created above.
Copy the command under 'Running a Remote Agent' to the clipboard for use in Step 3 that follow
Once installed, run the remote agent by executing the command line obtained above. This command will look something like this:
java -jar atlassian-bamboo-agent-installer-X.X.X.jar https://bamboo.service.dev/agentServer/
You can run the remote agent with a number of additional command line parameters. Configuration options include remote agent data
storage, capability detection and logging, suppression of self-signed certificate and running without the Remote Agent Supervisor or with
different start-up commands.
See Additional remote agent options for more information.
Step 4. Configure the remote agent's capabilities
All remote agents feature a capability that can be defined. Examples include an executable, such as Maven, a JDK, a DVCS client or a
custom capability. They typically define the path to an executable that has already been installed, and must be defined in Bamboo before
Bamboo or its agents can make use of them.
Capabilities can be defined specifically for an agent, or shared between all local or all remote agents.
Please see Configuring capabilities for more on defining capabilities.
Navigate to the configuration for the desired plan, as described on Configuring plans.
Click Miscellaneous to display the plan's current build expiry settings.
E
E
Select the Override global build expiry configuration check box. The following fields will be displayed:
Click Save.
Setting
Result
Minimum
builds to
keep
Labels to
keep
Specifies the build labels (not plan labels or job labels) applied to builds for which you want to keep build results, regardless
Expiry
period
Specifies the period (days, weeks or months) for which you want to keep build results.
E.g. specify '24 months' to keep all build results for the last two years.
Build
results
All build results data (including artifacts and build logs) are deleted.
of the Expiry period and Minimum builds to keep settings. Note that builds can be labelled
eithermanually or automatically.
Build logs Only build logs are deleted from the build results.
Artifacts
Note that the build expiry event is a global event that runs periodically, regardless of whether you disable or enable build expiry in
your plans. When this event occurs, the build results for your plan will be expired according to the criteria specified in the settings
above or globally. To configure the global event and global build expiry settings, please refer to Configuring global build results
expiry.
Navigate to the configuration for the desired plan, as described on Configuring plans.
Click Miscellaneous.
Select the Do not expire anything for this plan check box.
Click Save.
E Click "Add"
E Give the backup a name you can easily remember
E
E
Click OK
Wait until you see the message "The backup of database 'bamboo' completed successfully"
Stop Bamboo
E
E
E
E
E
E
Install Bamboo
E
E
E
E
E
E
E
E
E
E
Note: using Robocopy is much, much faster as there are lots of little files in the SVN caches. Windows Explorer does not copy these
efficiently
Configure listener
E
E
E
E
E
E
E
E
Start Bamboo
E
E
E
E
E
E Download Tomcat 7.0.55 x64 for Windows zip. The Bamboo .zip file only contains the x86 version (file downloaded to
"D:\devtools\Softwares\apache-tomcat-7.0.55-windows-x64.zip" on Bamboo QA)
Extract Tomcat x64 to a temporary location
Overwrite the following files with those from the bin folder of x64 Tomcat in the temporary location:
E
D:\devtools\bamboo-5.6.1\bin\tcnative-1.dll
E
D:\devtools\bamboo-5.6.1\bin\tomcat7.exe
Remove the following files from D:\devtools\Bamboo\home\plugins if they exist:
E
agent-smith-wallboard-4.4.2.3.jar
E
bamboo-sonar-tasks-1.8.0.jar
E
bamboo-sonar-tasks-1.8.1.obr
E
bamboo-sonar-web-1.8.0.jar
E Download http://dl.bintray.com/jfrog/jfrog-jars/org/jfrog/bamboo/bamboo-artifactory-plugin/1.7.4/bamboo-artifactory-plugin-1.7.4.jar (it
s 18.7MB)
Copy this plugin to D:\devtools\bamboo-5.6.1\atlassian-bamboo\WEB-INF\lib
Remove any other bamboo-artifactory-plugin-*.jar files
Start the Bamboo service
E Using cmtrace.exe (available in C:\Windows\cmtrace.exe on the Bamboo QA server) monitor the upgrade logs:
D:\devtools\bamboo-5.6.1\logs
E Once you see the line "[StrutsSpringObjectFactory] Struts-Spring integration initialised successfully" in the stdout.log, try to logon
and validate the upgrade
Application links
E
E
E
E
E
E
E
E
Figure 1 Jira 5
Figure 2 Bamboo
Rollback Plan
E
E
E
E
E
E
E
E
E
E
From the backup directory D:\DevTools\Bamboo\bamboo_50_data copy and overwrite the following into D:\DevTools\Bamboo\home:
E
E
E
E
Xml-data\configuration*
E
Bamboo.cfg.xml
E
Bamboo-mail.cfg.xml
Start the Bamboo service
Monitor the log file "C:\Users\AUBamboodsa\bamboo.log" and ensure Bamboo starts back up correctly
Validate you can log into the Bamboo web interface
Bamboo guide
Basically it involves downloading a jar file and running a command on the remote agent box.
To install a remote agent, please follow these instructions:
E
E
Ensure that you have Java Runtime Environment 5.0 or later installed on the agent machine.
Download the remote agent JAR file to a directory on the agent machine/ Copy the files from the below location:
Dev
Install command with no ssl check and in a new directory. (Default is "bamboo-agent-home")
Prod
Dev
The installation will be terminated with error. Please follow the below steps to restart the agent
Post install an number of config setting need set as well as trustedkeystore containing bamboo cert chain.
Edit the wrapper config file conf/wrapper.conf and add the following line to the config file in the correct order
Tells java where to find the ibm security libs ( Add these 2 lines only if you are getting IBM Java error)
wrapper.java.classpath.3=/app/WebSphere/AppServerV85/plugins/com.ibm.ws.security.cr
ypto.jar
wrapper.java.classpath.4=/app/WebSphere/AppServerV85/plugins/com.ibm.ffdc.jar
wrapper.java.additional.3=-Djavax.net.ssl.trustStore=<path>/bambooKeyStore.jks
wrapper.java.additional.4=-Djavax.net.ssl.trustStorePassword=<password>
After the above steps are completed, restart the agent by running the below command:
Path:/<installation folder>
Rerun agent
bamboo-agent.sh start
Additional Steps:
E
E
E
E