-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.local.yml
executable file
·37 lines (36 loc) · 1.02 KB
/
.local.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
kind: pipeline
name: build
steps:
- name: version
image: registry.cn-beijing.aliyuncs.com/king019/docker:build
privileged: true
volumes:
- name: maven
path: /root/.m2
commands:
- source /etc/profile;java -version
- cd src/version
- mvn versions:display-property-updates
- name: build
image: registry.cn-beijing.aliyuncs.com/king019/docker:build
privileged: true
volumes:
- name: maven
path: /root/.m2
- name: sock
path: /var/run/docker.sock
commands:
- chmod -R 777 /bin
- which docker
- docker version
- source /etc/profile;java -version
- mvn clean compile exec:java -Dexec.mainClass="com.k.docker.jenkins.JenkinsBuildShell" -Dexec.args="ws=/drone/src@thread=3@rep=true@push=true@local=true@rpgit=true"
- pwd;ls
- sh ./target/local_region/platform/noSuffix_false.sh
volumes:
- name: maven
host:
path: /opt/soft/docker/data/maven/m2
- name: sock
host:
path: /var/run/docker.sock