PostgreSQL Ubuntu

PostgreSQL Ubuntu installation. Default port 5432. Install sudo apt-get update sudo apt-get install postgresql postgresql-contrib Test Installation sudo -i -u postgres psql \quit Example: Create Bamboo Database sudo -s -H -u postgres createuser -S -d -r -P -E bamboouser createdb -O bamboouser bamboodb Testing the connection sudo adduser bamboouser sudo -i -u bamboouser psql -d bamboodb Links https://www.digitalocean.com/community/tutorials/how-to-install-and-use-postgresql-on-ubuntu-14-04 https://confluence.atlassian.com/bamboo/postgresql-289276816.html

March 20, 2017 · 1 min · Mario Moreno

SQL Server Windows Installation

SQL Server Windows Installation (thinking on an installation of JIRA, Bamboo and Crucible afterward) The installation steps are based on SQL Server 2014 (the current version supported by JIRA and Bamboo) you can download it from the official Microsoft site: https://www.microsoft.com/en-US/download/details.aspx?id=42299 Additionally you can download and install SQL Server Management Studio. 16.5.3 in this case. Again you can download it from the official Microsoft site: https://msdn.microsoft.com/library/mt238290.aspx Installation Click on New SQL Server stand-alone installation… ...

March 20, 2017 · 2 min · Mario Moreno

Bamboo Linux Agent Installation

On this post I will describe my experience installing a Bamboo agent on a Linux server (CentOS based) Requirements JDK It’s strongly recommended to install the same JDK version as the Bamboo server. You can follow my post about how to install the JDK in a CentOS server. In my case the configuration is: java version "1.8.0_51" Java(TM) SE Runtime Environment (build 1.8.0_51-b16) Java HotSpot(TM) 64-Bit Server VM (build 25.51-b03, mixed mode) Agent JAR The next step is to download the agent JAR from our Bamboo server. It can be found in: ...

March 4, 2017 · 3 min · Mario Moreno

.NET Code Coverage Process

In this post I will describe a very cheap process to calculate unit tests Code Coverage and generate a html report with the results as part of our development process. I’m using OpenCover and ReportGenerator. You can directly call them by command line they support several configurations and parameters: OpenCover Usage Wiki, ReportGenerator. In this case I’m using two .cmd files I wrote and usually include in my development projects. The open-cover.cmd file recursively look for test assemblies and run opencover to generate an open-cover.xml report. The report-generator.cmd file take an open-cover.xml report as input and generate a coverage-report folder with a human friendly html report ready to be deployed to a web server. ...

February 27, 2017 · 3 min · Mario Moreno

Bamboo .NET Continuous Integration

On this post I will describe the configuration of a Continuous Integration plan with Bamboo. The project is a simple wrapper for Virtual Clone Drive. A .Net application initially written several years ago. This simple application will serve as a good example about how to configure a Continuous Integration plan in Bamboo. Create Plan First we should create the Plan. In order to do that we should go to Create > Create a new plan option and configure the project name, project key, plan name and plan key. Also we have to configure the source code repository in this case GitHub. ...

February 26, 2017 · 4 min · Mario Moreno

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