|
- kind: pipeline
- type: docker
- name: dockerpipe
- platform:
- os: linux
- arch: arm64
- steps:
- - name: detection
- image: python:3
- failure: ignore
- commands:
- - echo **detection test**
- - curl 'http://121.40.129.71:40111/openi/projects/droneDetect' -X POST --header 'content-type:application/json;charset=UTF-8' -d '{"currentUser":"wangwei","repoOwner":"wangwei","repository":"jwebssh","branchName":"docker"}'
-
- - name: maven
- image: maven:3-jdk-10
- volumes:
- - name: cache
- path: /root/.m2
- commands:
- - mvn compile
-
- - name: docker
- image: plugins/docker
- settings:
- username: 153692771@qq.com
- password: Docker199637
- repo: foo/bar
- tags: latest
- trigger:
- branch:
- - docker
- event:
- - push
- - pull_request
|