From fb9c039c19748da648c34e7b547665d9afc1de9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E9=AA=A2?= <2592509183@qq.com> Date: Mon, 29 Jan 2024 07:44:24 +0000 Subject: [PATCH 1/2] update pipeline-20240129_pub.yml --- .workflow/pipeline-20240129_pub.yml | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/.workflow/pipeline-20240129_pub.yml b/.workflow/pipeline-20240129_pub.yml index 5a5fc07e..169f238c 100644 --- a/.workflow/pipeline-20240129_pub.yml +++ b/.workflow/pipeline-20240129_pub.yml @@ -9,7 +9,7 @@ triggers: - master stages: - name: stage-4d07c82f - displayName: 未命名 + displayName: build strategy: naturally trigger: auto executor: [] @@ -30,8 +30,22 @@ stages: notify: [] strategy: retry: '0' + - name: stage-87689e6d + displayName: upload + strategy: naturally + trigger: auto + executor: [] + steps: + - step: publish@general_artifacts + name: publish_general_artifacts + displayName: 上传制品 + dependArtifact: BUILD_ARTIFACT + artifactName: firmware + notify: [] + strategy: + retry: '0' - name: stage-6f7f1ad3 - displayName: 未命名 + displayName: publish strategy: naturally trigger: auto executor: [] @@ -39,9 +53,12 @@ stages: - step: publish@release_artifacts name: publish_release_artifacts displayName: 发布 - dependArtifact: BUILD_ARTIFACT + dependArtifact: firmware version: 1.0.0.0 autoIncrement: true notify: [] strategy: retry: '0' +strategy: + cloneDepth: 1 + blocking: true -- Gitee From 4c16dd63355de45adaccbe5b1c4abc44852bd1da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E9=AA=A2?= <2592509183@qq.com> Date: Mon, 29 Jan 2024 07:46:22 +0000 Subject: [PATCH 2/2] update pipeline-20240129.yml --- .workflow/pipeline-20240129.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.workflow/pipeline-20240129.yml b/.workflow/pipeline-20240129.yml index 7d32df95..5fe6f7f2 100644 --- a/.workflow/pipeline-20240129.yml +++ b/.workflow/pipeline-20240129.yml @@ -5,8 +5,8 @@ triggers: trigger: auto push: branches: - exclude: - - master + precise: + - dev pr: branches: prefix: @@ -25,13 +25,11 @@ stages: certificate: '' image: xrimage/build command: - - '# 请在此输入您想执行的脚本' - python project.py init-cn - export HOME=/root && python project.py build all all - artifacts: - - name: BUILD_ARTIFACT - path: - - ./firmware notify: [] strategy: retry: '0' +strategy: + cloneDepth: 1 + blocking: true -- Gitee