|
@@ -14,20 +14,6 @@ steps:
|
|
commands:
|
|
commands:
|
|
- git clone $DRONE_GIT_HTTP_URL .
|
|
- git clone $DRONE_GIT_HTTP_URL .
|
|
|
|
|
|
-- name: build
|
|
|
|
- image: plugins/docker
|
|
|
|
- settings:
|
|
|
|
- username: admin
|
|
|
|
- password: Easou2)1*
|
|
|
|
- insecure: true
|
|
|
|
- mirror: https://ci7pm4nx.mirror.aliyuncs.com
|
|
|
|
- registry: hub.evbj.easou.com
|
|
|
|
- repo: hub.evbj.easou.com/qa/offline-process-promotion
|
|
|
|
- tag: r170272
|
|
|
|
-# build_args:
|
|
|
|
-# - JAR_FILE=offline-process-promotion-test.jar
|
|
|
|
-# - SERVER_PORT=8080
|
|
|
|
-
|
|
|
|
- name: deployment
|
|
- name: deployment
|
|
image: hub.evbj.easou.com/dev/drone-agent:v2.0.0
|
|
image: hub.evbj.easou.com/dev/drone-agent:v2.0.0
|
|
pull: always
|
|
pull: always
|
|
@@ -35,7 +21,7 @@ steps:
|
|
environment:
|
|
environment:
|
|
JNLP_ENV: qa
|
|
JNLP_ENV: qa
|
|
JNLP_REPLICAS: 4
|
|
JNLP_REPLICAS: 4
|
|
- JNLP_TAG: r170272
|
|
|
|
|
|
+ JNLP_TAG: r170452
|
|
JNLP_VERSION: v1 # default v1, v2 for canary
|
|
JNLP_VERSION: v1 # default v1, v2 for canary
|
|
DEPLOY_ENV: k8s-2 # 可以选择把应用部署到集群:k8s-1 or k8s-2
|
|
DEPLOY_ENV: k8s-2 # 可以选择把应用部署到集群:k8s-1 or k8s-2
|
|
JNLP_REPO: hub.evbj.easou.com
|
|
JNLP_REPO: hub.evbj.easou.com
|
|
@@ -70,8 +56,8 @@ steps:
|
|
corpid: ww419ee4063735e1c0
|
|
corpid: ww419ee4063735e1c0
|
|
corp_secret: zpiRBLETH9eLwIMQ4eJ_r_dcm3BPSGeLHvTcft8Ot-M
|
|
corp_secret: zpiRBLETH9eLwIMQ4eJ_r_dcm3BPSGeLHvTcft8Ot-M
|
|
agent_id: 1000004
|
|
agent_id: 1000004
|
|
- title: "Pipeline qa/offline-process-promotion:r170272 Success"
|
|
|
|
- description: "${DRONE_BUILD_LINK} qa/offline-process-promotion:r170272 部署完成 去掉activemq相关配置和代码"
|
|
|
|
|
|
+ title: "Pipeline qa/offline-process-promotion:r170452 Success"
|
|
|
|
+ description: "${DRONE_BUILD_LINK} qa/offline-process-promotion:r170452 部署完成 增加脚本注释"
|
|
msg_url: ${DRONE_BUILD_LINK}
|
|
msg_url: ${DRONE_BUILD_LINK}
|
|
btn_txt: "否"
|
|
btn_txt: "否"
|
|
when:
|
|
when:
|
|
@@ -84,8 +70,8 @@ steps:
|
|
corpid: ww419ee4063735e1c0
|
|
corpid: ww419ee4063735e1c0
|
|
corp_secret: zpiRBLETH9eLwIMQ4eJ_r_dcm3BPSGeLHvTcft8Ot-M
|
|
corp_secret: zpiRBLETH9eLwIMQ4eJ_r_dcm3BPSGeLHvTcft8Ot-M
|
|
agent_id: 1000004
|
|
agent_id: 1000004
|
|
- title: "Pipeline qa/offline-process-promotion:r170272 Failure"
|
|
|
|
- description: "${DRONE_BUILD_LINK} 部署失败,请检查配置!去掉activemq相关配置和代码"
|
|
|
|
|
|
+ title: "Pipeline qa/offline-process-promotion:r170452 Failure"
|
|
|
|
+ description: "${DRONE_BUILD_LINK} 部署失败,请检查配置!增加脚本注释"
|
|
msg_url: ${DRONE_BUILD_LINK}
|
|
msg_url: ${DRONE_BUILD_LINK}
|
|
btn_txt: "否"
|
|
btn_txt: "否"
|
|
when:
|
|
when:
|