|
@@ -10,7 +10,7 @@ volumes: # 声明数据卷
|
|
|
path: /home/ABServer/cache/mvn_repo
|
|
path: /home/ABServer/cache/mvn_repo
|
|
|
- name: mvn_config
|
|
- name: mvn_config
|
|
|
host:
|
|
host:
|
|
|
- path: /home/ABServer/config/settings.xml
|
|
|
|
|
|
|
+ path: /home/ABServer/config/mvn/
|
|
|
- name: uploadDir
|
|
- name: uploadDir
|
|
|
host:
|
|
host:
|
|
|
path: /home/ABServer/webroot/kxs-gateway/
|
|
path: /home/ABServer/webroot/kxs-gateway/
|
|
@@ -29,7 +29,7 @@ steps:
|
|
|
- name: targetDir
|
|
- name: targetDir
|
|
|
path: /drone/kxs-gateway/target
|
|
path: /drone/kxs-gateway/target
|
|
|
- name: mvn_config
|
|
- name: mvn_config
|
|
|
- path: /drone/usr/share/maven/conf/settings.xml
|
|
|
|
|
|
|
+ path: /drone/usr/share/maven/conf/
|
|
|
commands: # 执行命令
|
|
commands: # 执行命令
|
|
|
- pwd # 查看当前目录
|
|
- pwd # 查看当前目录
|
|
|
- cat /usr/share/maven/conf/settings.xml
|
|
- cat /usr/share/maven/conf/settings.xml
|