diff --git a/.workflow/pipeline-20240129.yml b/.workflow/pipeline-20240129.yml index 7d32df95e68de7f92e02882e357fb97ac9aae244..5fe6f7f2778eeb6cf1f7306fab3045ae31715bd8 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 diff --git a/.workflow/pipeline-20240129_pub.yml b/.workflow/pipeline-20240129_pub.yml index 5a5fc07efc54290df8a8e252dd92b1882d1b2220..169f238cc7875b01bc7eaa7d1054f2e1827ed033 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