Fix pipeline

This commit is contained in:
Paulo Gustavo Veiga 2022-01-03 16:08:03 -08:00
parent 6b97736d59
commit 4fb144b63c

View File

@ -10,30 +10,30 @@ image: maven:3.6.3
pipelines: pipelines:
default: default:
- parallel: - parallel:
- step: - step:
name: Build and Test name: Build and Test
caches: caches:
- maven - maven
- node - node
script: script:
- curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.36.0/install.sh | bash - curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.36.0/install.sh | bash
- . $HOME/.nvm/nvm.sh && nvm install node - . $HOME/.nvm/nvm.sh && nvm install node
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.3.2 || true - curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.3.2 || true
- export PATH=$HOME/.yarn/bin:$PATH - export PATH=$HOME/.yarn/bin:$PATH
# Workaround for jaxb plugin bug on java 11 or higher. # Workaround for jaxb plugin bug on java 11 or higher.
- export MAVEN_OPTS="--illegal-access=permit" - export MAVEN_OPTS="--illegal-access=permit"
- yarn --version - yarn --version
- mvn -B verify --file pom.xml install - mvn -B verify --file pom.xml install
after-script: after-script:
# Collect checkstyle results, if any, and convert to Bitbucket Code Insights. # Collect checkstyle results, if any, and convert to Bitbucket Code Insights.
- pipe: atlassian/checkstyle-report:0.2.0 - pipe: atlassian/checkstyle-report:0.2.0
- step: - step:
name: Security Scan name: Security Scan
script: script:
# Run a security scan for sensitive data. # Run a security scan for sensitive data.
# See more security tools at https://bitbucket.org/product/features/pipelines/integrations?&category=security # See more security tools at https://bitbucket.org/product/features/pipelines/integrations?&category=security
- pipe: atlassian/git-secrets-scan:0.4.3 - pipe: atlassian/git-secrets-scan:0.4.3
- step: - step:
runs-on: self.hosted runs-on: self.hosted
script: echo hello script: echo hello