You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
661 B
30 lines
661 B
kind: pipeline
|
|
type: docker
|
|
name: default
|
|
platform:
|
|
arch: amd64
|
|
os: linux
|
|
steps:
|
|
- name: test
|
|
image: maven:3.6.3-openjdk-8
|
|
commands:
|
|
- java -version
|
|
- mvn -v
|
|
- mvn test
|
|
- name: build
|
|
image: maven:3.6.3-openjdk-8
|
|
commands:
|
|
- pwd
|
|
- mvnw clean package
|
|
- pwd
|
|
|
|
# - name: publish
|
|
# image: plugins/docker:19.03.8
|
|
# environment:
|
|
# PLUGIN_REGISTRY: 192.168.100.144:5000
|
|
# PLUGIN_REPO: 192.168.100.144:5000/node/example
|
|
# settings:
|
|
# insecure: true
|
|
# tags:
|
|
# - latest
|
|
# - ${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH}-${DRONE_REPO_BRANCH}-${DRONE_COMMIT_SHA:0:8} |