0.1.3 • Published 11 years ago

script-cellarise-bamboo v0.1.3

Weekly downloads
21
License
-
Repository
github
Last release
11 years ago

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="git@github.com: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

0.1.3

11 years ago

0.0.0

11 years ago

0.1.1

11 years ago

0.1.0

11 years ago