Skip to content

A collection of command line scripts for executing common build commands on Atlassian Bamboo

Notifications You must be signed in to change notification settings

Cellarise/script-cellarise-bamboo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

script-cellarise-bamboo

view on npm npm module downloads per month Dependency Status

A collection of command line scripts for executing common build commands on Atlassian Bamboo

##Installation

Install as a global package to call build-bamboo from any location.

This git-bamboo command executes batch scripts which require the windows command shell.

##Usage

From the command line

The build-bamboo command accepts one argument - the name of the batch script to be executed.

build-bamboo build

Each batch script may use Atlassian Bamboo build variables. These variables can be set manually if calling the script outside of Atlassian Bamboo or if you want to override the variable. For example, to override the build repository:

set bamboo_planRepository_repositoryUrl="[email protected]:Cellarise/script-git-bamboo.git"
build-bamboo build

#Scripts

##npm-rebuild

Rebuild npm packages using the following npm commands.

call npm prune
call npm update --msvs_version=2013
call npm dedupe --msvs_version=2013

##pre-build

Pre build tasks.

REM delete Build
rmdir .\Build /s /q

REM delete Reports
rmdir .\Reports /s /q
IF %ERRORLEVEL% LEQ 4 exit 0

##build

Build tasks.

call gulp

##post-build

Post build tasks.

cls

License

MIT License (MIT)

Copyright (c) 2014 John Barry

About

A collection of command line scripts for executing common build commands on Atlassian Bamboo

Resources

Stars

Watchers

Forks

Packages

No packages published