Bamboo CMD tools

Introduction I found useful to configure different tools and batch files as Commands in Bamboo. To support and easily configure my build plans later. There is a basic list of tools and their configuration, also some of them are based on different batch file created by me that you can find in this repo. 7zip It’s always useful to compress stuff and make it available as an artifact for example. You can configure 7zip as a command in Bamboo and use it in your plans. The basic workflow is compress stuff, delete previous zip files (to avoid adding new files to an existing file container) and uncompress stuff. ...

February 4, 2017 · 8 min · Mario Moreno

Bamboo Net Agent

Initial State After the Bamboo .NET Agent Setup This should be the initial state: The following is a list of tools to install and configure in Bamboo in order to support .NET builds. Add Capabilities In Bamboo you can add a capability to an agent going to Administration > Agents Then select the agent where you want to add the capability and click in Add capability option ...

January 21, 2017 · 2 min · Mario Moreno

Bamboo Ubuntu Install

Initial Notes I have installed it on my laptop so I have skipped some steps like create a specific bamboo user, etc. Create Database If you don’t have a database you can follow the guidelines described in requirements/postgres or requirements/sql-server Remember to create an application database and user. For example: bamboodb and bamboouser Create Installation Directory cd /opt mkdir atlassian cd atlassian wget https://www.atlassian.com/software/bamboo/downloads/binary/atlassian-bamboo-5.10.3.tar.gz tar zxvf atlassian-bamboo-5.10.3.tar.gz cd ../.. ln -s atlassian/atlassian-bamboo-5.10.3 bamboo chown [user] atlassian Set Bamboo Home vi atlassian-bamboo/WEB-INF/classes/bamboo-init.properties Uncommment bamboo.home with a value like: bamboo.home=/opt/atlassian/app-data/bamboo-home ...

January 3, 2017 · 2 min · Mario Moreno

CentOS 7 Minimal

CentOS 7 Minimal Installation Configuration Based on: http://www.tecmint.com/things-to-do-after-minimal-rhel-centos-7-installation/ A small subset of steps I was executing after a CentOS 7 minimal installation. In this case it was to configure different Bamboo, Crucible and JIRA test server instances. Static IP Install ifconfig utility sudo yum install net-tools Show IP address ip addr show Edit ifcfg file sudo vi /etc/sysconfig/network-scripts/ifcfg-enp0s3 For example: IPADDR="10.0.64.2" GATEWAY="10.0.64.1" DNS1="8.8.8.8" DNS2="8.8.4.4" Restart network service network restart Test configuration ...

December 25, 2016 · 1 min · Mario Moreno

Bamboo .NET Agent Setup

Bamboo .NET Agent setup In this post we will see how to setup a Windows Agent to build .NET solutions. Prerequisites: a Bamboo Server & Agent already configured. https://mamcer.github.io/2016-12-11-bamboo-windows-install/ https://mamcer.github.io/2016-12-20-bamboo-windows-agent-installation/ The example in this post it’s based on a Windows Server 2008 R2 SP1. Most of this tools can be downloaded from www.visualstudio.com Tools for Visual Studio section Install GIT Extend support for the built-in Bamboo agent Git support. https://git-scm.com/ ...

December 24, 2016 · 2 min · Mario Moreno

JDK linux install

JDK Tested on a CentOS 7 minimal installation Install The current latest stable version is 1.8.0_77 cd /opt/ wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/8u77-b03/jdk-8u77-linux-x64.tar.gz" tar xzf jdk-8u77-linux-x64.tar.gz cd /opt/jdk1.8.0_77/ alternatives --install /usr/bin/java java /opt/jdk1.8.0_77/bin/java 2 alternatives --config java Set environment variable add a jdk.sh file in /etc/profile.d/ With the following content export JAVA_HOME=/opt/jdk1.8.0_77 export PATH=${PATH}:/opt/jdk1.8.0_77/bin Logout gnome-session-quit Test Test the installation by executing java -version

December 24, 2016 · 1 min · Mario Moreno

Bamboo Windows Agent Installation

Based on https://confluence.atlassian.com/bamboo/bamboo-remote-agent-installation-guide-289276832.html https://confluence.atlassian.com/bamboo/additional-remote-agent-options-436044733.html Requirements JDK To avoid any version conflict it’s recommended to install the same JDK version as the Bamboo Server. Define JAVA_HOME environment variable and optionally add %JAVA_HOME%\bin to PATH then you should be able to run in any command prompt: java -version java version "1.8.0_101" Java(TM) SE Runtime Environment (build 1.8.0_101-b13) Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode) Bamboo Agent User You can run the agent as an administrator. For different reasons we prefer to create a specific non-admin user for the agent ...

December 20, 2016 · 3 min · Mario Moreno

Bamboo Windows Install

On this post I will describe my experience step by step installing Atlassian Bamboo on Windows with SQL Server as database. This installation was done following the official documentation: https://confluence.atlassian.com/bamboo/installing-bamboo-on-windows-289276813.html Requirements You can check the current Bamboo supported versions in the following Atlassian confluence page: https://confluence.atlassian.com/bamboo/supported-platforms-289276764.html In this case we have a clean Windows Server 2012 Standard installation. Our first steps are the installation of the JDK and SQL Server. Install Prerequisites JDK First of all we want to install Java. In this case Oracle JDK, you can find the latest version in: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html ...

December 11, 2016 · 6 min · Mario Moreno