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

CodeBuild #9

Open
miparnisari opened this issue Jul 13, 2020 · 0 comments
Open

CodeBuild #9

miparnisari opened this issue Jul 13, 2020 · 0 comments

Comments

@miparnisari
Copy link

miparnisari commented Jul 13, 2020

build:
commands:
# pre-build check for commit hooks
- pre-commit run --all-files
# install cloudformation-cli dependencies
- pip install cloudformation-cli cloudformation-cli-java-plugin

Your CodeBuild config is not building anything. Please change this to mimic this:

  build:
    commands:
      - pre-commit run --all-files
      - |
        for directory in $CODEBUILD_SRC_DIR/*/; do
          cd "$directory"
          mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B clean verify --no-transfer-progress
        done
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

1 participant