更新Gitee流水线脚本

pull/29/MERGE
陈精华 2 years ago
parent 9860df9b6d
commit 4db74d0931
No known key found for this signature in database
GPG Key ID: 30BDC970902B755D

@ -1,53 +0,0 @@
version: '1.0'
name: branch-pipeline
displayName: BranchPipeline
stages:
- stage:
name: compile
displayName:
steps:
- step: build@maven
name: build_maven
displayName: Maven
# 67891011
jdkVersion: 8
# 2.2.13.2.53.3.93.5.23.5.33.5.43.6.13.6.3
mavenVersion: 3.3.9
#
commands:
- mvn -B clean package -Dmaven.test.skip=true
# 7
artifacts:
# BUILD_ARTIFACT${BUILD_ARTIFACT}
- name: BUILD_ARTIFACT
# jartarget
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
triggers:
push:
branches:
exclude:
- master
include:
- .*

@ -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
@ -22,28 +22,8 @@ stages:
- name: BUILD_ARTIFACT
# jartarget
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:

@ -1,40 +0,0 @@
version: '1.0'
name: pr-pipeline
displayName: PRPipeline
stages:
- stage:
name: compile
displayName:
steps:
- step: build@maven
name: build_maven
displayName: Maven
# 67891011
jdkVersion: 8
# 2.2.13.2.53.3.93.5.23.5.33.5.43.6.13.6.3
mavenVersion: 3.3.9
#
commands:
- mvn -B clean package -Dmaven.test.skip=true
# 7
artifacts:
# BUILD_ARTIFACT${BUILD_ARTIFACT}
- name: BUILD_ARTIFACT
# jartarget
path:
- ./server/target
- step: publish@general_artifacts
name: publish_general_artifacts
displayName:
# BUILD_ARTIFACT
dependArtifact: BUILD_ARTIFACT
# default
artifactRepository: default
# output
artifactName: output
dependsOn: build_maven
triggers:
pr:
branches:
include:
- master

@ -1,36 +0,0 @@
version: '1.0'
name: pipeline-20220716
displayName: pipeline-20220716
triggers:
trigger: manual
push:
branches:
prefix:
- ''
stages:
- name: stage-8b46aafe
displayName:
strategy: naturally
trigger: auto
executor: []
steps:
- step: build@maven
name: build_maven
displayName: Maven
jdkVersion: '8'
mavenVersion: 3.3.9
commands:
- mvn -B clean package -Dmaven.test.skip=true
artifacts:
- name: BUILD_ARTIFACT
path:
- ./server/target
settings: []
caches:
- ~/.m2
notify: []
strategy:
retry: '0'
permissions:
- role: admin
members: []
Loading…
Cancel
Save