mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-22 14:17:57 +01:00
Fix pipeline
This commit is contained in:
parent
83f5a04197
commit
844edf2f61
@ -15,24 +15,20 @@ pipelines:
|
|||||||
caches:
|
caches:
|
||||||
- node
|
- node
|
||||||
- maven
|
- maven
|
||||||
|
- docker
|
||||||
script:
|
script:
|
||||||
# Compile sources ...
|
# Compile sources ...
|
||||||
- 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
|
||||||
- mvn -B verify --file pom.xml
|
- mvn -B verify --file pom.xml
|
||||||
|
# Publish to docker repo ...
|
||||||
|
- docker login --username $DOCKER_USERNAME --password $DOCKER_PASSWORD
|
||||||
|
- docker build -t veigap/wisemapping:latest -f distribution/Dockerfile wise-webapp/target/
|
||||||
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.3.0
|
- pipe: atlassian/checkstyle-report:0.3.0
|
||||||
- step:
|
|
||||||
name: Docker publish
|
|
||||||
script:
|
|
||||||
- echo $DOCKER_USERNAME
|
|
||||||
- docker login --username $DOCKER_USERNAME --password $DOCKER_PASSWORD
|
|
||||||
- docker build -t veigap/wisemapping:latest -f distribution/Dockerfile wise-webapp/target/
|
|
||||||
services:
|
services:
|
||||||
- docker
|
- docker
|
||||||
caches:
|
|
||||||
- docker
|
|
||||||
- step:
|
- step:
|
||||||
name: Security Scan
|
name: Security Scan
|
||||||
script:
|
script:
|
||||||
|
Loading…
Reference in New Issue
Block a user