fixed test
continuous-integration/drone/push Build is failing Details

master
zhangjinli 2 years ago
parent 77fc672911
commit 2c3b747322

@ -19,8 +19,6 @@ steps:
- name: build
image: maven:3.8-openjdk-8
volumes: # 将容器内目录挂载到宿主机仓库需要开启Trusted设置
# - name: maven-cache
# path: /root/.m2 # 将maven下载依赖的目录挂载出来防止重复下载
- name: maven-build
path: /app/build # 将应用打包好的Jar和执行脚本挂载出来
commands:
@ -60,9 +58,9 @@ steps:
settings:
host: 121.41.171.43
username:
from_secret: linac
from_secret: root
password:
from_secret: linac
from_secret: zhang123.
port: 22
command_timeout: 5m
script:
@ -83,9 +81,6 @@ volumes: # 定义流水线挂载目录,用于共享数据
- name: maven-build
host:
path: /data/wwwroot/docker/maven/build # 从宿主机中挂载的目录
- name: maven-cache
host:
path: /data/wwwroot/docker/maven/cache
- name: cache
host:
path: "/var/lib/cache"

Loading…
Cancel
Save