Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ghost opened this issue May 5, 2016 · 0 comments

Comments

@ghost
Copy link

ghost commented May 5, 2016

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 ghost changed the title execution error inside before_run: for docker-compose build type does not fail the build execution error inside before_run: for docker-compose build type does not abort the build May 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants