@@ -34,7 +34,7 @@ stages:
34
34
- regadpole
35
35
steps :
36
36
- step : build@maven
37
- name : build_bukkit
37
+ name : build
38
38
displayName : Maven 构建
39
39
jdkVersion : ' 17'
40
40
mavenVersion : 3.6.3
@@ -57,57 +57,47 @@ stages:
57
57
- name : BUILD_BUKKIT
58
58
path :
59
59
- ./plumbot-bukkit/target/plumbot*.jar
60
+ - name : BUILD_BUNGEE
61
+ path :
62
+ - ./plumbot-bungee/target/plumbot*.jar
63
+ - name : BUILD_VELOCITY
64
+ path :
65
+ - ./plumbot-velocity/target/plumbot*.jar
60
66
settings : []
61
67
caches : []
62
68
notify : []
63
69
strategy :
64
70
retry : ' 0'
71
+ - name : stage-d36277c4
72
+ displayName : 上传文件
73
+ strategy : naturally
74
+ trigger : auto
75
+ executor :
76
+ - regadpole
77
+ steps :
65
78
- step : publish@general_artifacts
66
- name : publish_bukkit_artifacts
67
- displayName : 上传制品
79
+ name : upload_bukkit
80
+ displayName : 上传bukkit插件
68
81
dependArtifact : BUILD_BUKKIT
69
82
artifactName : plumbot-bukkit
70
83
notify : []
71
84
strategy :
72
85
retry : ' 0'
73
- dependsOn : build_bukkit
74
- - step : build@maven
75
- name : build_velocity
76
- displayName : Maven 构建
77
- jdkVersion : ' 17'
78
- mavenVersion : 3.6.3
79
- commands :
80
- - ' # 功能:打包'
81
- - ' # 参数说明:'
82
- - ' # -Dmaven.test.skip=true:跳过单元测试'
83
- - ' # -U:每次构建检查依赖更新,可避免缓存中快照版本依赖不更新问题,但会牺牲部分性能'
84
- - ' # -e -X :打印调试信息,定位疑难构建问题时建议使用此参数构建'
85
- - ' # -B:以batch模式运行,可避免日志打印时出现ArrayIndexOutOfBoundsException异常'
86
- - ' # 使用场景:打包项目且不需要执行单元测试时使用'
87
- - mvn clean package -Dmaven.test.skip=true -U -e -X -B
88
- - ' '
89
- - ' # 功能:自定义settings配置'
90
- - ' # 使用场景:如需手工指定settings.xml,可使用如下方式'
91
- - ' # 注意事项:如无需自定义settings配置且需要私有依赖仓库,可在该任务配置《私有仓库》处添加私有依赖'
92
- - ' # mvn -U clean package -s ./settings.xml'
93
- - ' '
94
- artifacts :
95
- - name : BUILD_VELOCITY
96
- path :
97
- - ./plumbot-velocity/target/plumbot*.jar
98
- settings : []
99
- caches : []
86
+ - step : publish@general_artifacts
87
+ name : upload_bungee
88
+ displayName : 上传bungee插件
89
+ dependArtifact : BUILD_BUNGEE
90
+ artifactName : plumbot-bungee
100
91
notify : []
101
92
strategy :
102
93
retry : ' 0'
103
94
- step : publish@general_artifacts
104
- name : publish_velocity_artifacts
105
- displayName : 上传制品
95
+ name : upload_velocity
96
+ displayName : 上传velocity插件
106
97
dependArtifact : BUILD_VELOCITY
107
98
artifactName : plumbot-velocity
108
99
notify : []
109
100
strategy :
110
101
retry : ' 0'
111
- dependsOn : build_velocity
112
102
strategy :
113
103
blocking : true
0 commit comments