DotCi
DotCi copied to clipboard
execution error inside before_run: for docker-compose build type does not abort the build
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