Skip to content

Commit

Permalink
更新Gitee流水线脚本
Browse files Browse the repository at this point in the history
  • Loading branch information
gitchenjh committed Dec 12, 2022
1 parent 9860df9 commit 4db74d0
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 152 deletions.
53 changes: 0 additions & 53 deletions .workflow/BranchPipeline.yml

This file was deleted.

26 changes: 3 additions & 23 deletions .workflow/MasterPipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ stages:
# 支持67891011六个版本
jdkVersion: 8
# 支持2.2.13.2.53.3.93.5.23.5.33.5.43.6.13.6.3八个版本
mavenVersion: 3.3.9
mavenVersion: 3.6.3
# 构建命令
commands:
- mvn -B clean package -Dmaven.test.skip=true
Expand All @@ -22,28 +22,8 @@ stages:
- name: BUILD_ARTIFACT
# 构建产物获取路径是指代码编译完毕之后构建物的所在路径如通常jar包在target目录下当前目录为代码库根目录
path:
- ./server/target
- step: publish@general_artifacts
name: publish_general_artifacts
displayName: 上传制品
# 上游构建任务定义的产物名默认BUILD_ARTIFACT
dependArtifact: BUILD_ARTIFACT
# 上传到制品库时的制品命名默认output
artifactName: output
dependsOn: build_maven
- stage:
name: release
displayName: 发布
steps:
- step: publish@release_artifacts
name: publish_release_artifacts
displayName: '发布'
# 上游上传制品任务的产出
dependArtifact: output
# 发布制品版本号
version: '1.0.0.0'
# 是否开启版本号自增默认开启
autoIncrement: true
- ./server/target/kkFileView-*.tar.gz
- ./server/target/kkFileView-*.zip
triggers:
push:
branches:
Expand Down
40 changes: 0 additions & 40 deletions .workflow/PRPipeline.yml

This file was deleted.

36 changes: 0 additions & 36 deletions .workflow/pipeline-20220716.yml

This file was deleted.

0 comments on commit 4db74d0

Please sign in to comment.