DotCi icon indicating copy to clipboard operation
DotCi copied to clipboard

execution error inside before_run: for docker-compose build type does not abort the build

Open ghost opened this issue 9 years ago • 0 comments

The .ci.yml has the following configuration before section run:

before_run: "git submodule init && git submodule update && (cd bats; ./install.sh /usr/local) && bats tests"
run:
  master: java -version

Yet it appears the build continued on regardless of the setup failure

$  git submodule init && git submodule update && (cd bats; ./install.sh /usr/local) && bats tests
Submodule 'bats' (https://github.com/sstephenson/bats.git) registered for path 'bats'
Cloning into 'bats'...
Submodule path 'bats': checked out '03608115df2071fff4eaaff1605768c275e5f81f'
cp: cannot create symbolic link `/usr/local/bin/bats': Permission denied
Build step 'Execute shell' marked build as failure
Triggering org » repo » script=master
Run script=master finished with : FAILURE
setting commit status on Github for https://github.xxx
Finished: FAILURE

ghost avatar May 05 '16 20:05 ghost