feat: .devops/maven缓存.yml
This commit is contained in:
parent
d7424561bb
commit
c75ac47e3e
|
@ -0,0 +1,52 @@
|
|||
version: 2
|
||||
name: maven缓存
|
||||
description: ""
|
||||
global:
|
||||
concurrent: 1
|
||||
param: []
|
||||
cache: m1
|
||||
workflow:
|
||||
- ref: start
|
||||
name: 开始
|
||||
task: start
|
||||
- ref: maven_build_0
|
||||
name: maven构建
|
||||
cache:
|
||||
m1: /.m2/repository
|
||||
task: maven_build@1.4.0-jdk17
|
||||
input:
|
||||
workspace: git_clone_0.git_path
|
||||
mvn_action: '"install"'
|
||||
extra_arge: '""'
|
||||
nexus_username: admin
|
||||
nexus_password: "123456"
|
||||
maven_public_id: '"public"'
|
||||
maven_public_url: '"https://maven.aliyun.com/repository/public"'
|
||||
maven_release_id: '"release"'
|
||||
maven_release_url: '""'
|
||||
maven_snapshot_id: '"snapshot"'
|
||||
maven_snapshot_url: '""'
|
||||
docker_username: jianmudev
|
||||
docker_password: "123456"
|
||||
image_name: '"imagename"'
|
||||
image_tag: '"latest"'
|
||||
vc_pom_dir: '"."'
|
||||
local_repo_path: '"/.m2/repository"'
|
||||
needs:
|
||||
- git_clone_0
|
||||
- ref: git_clone_0
|
||||
name: git clone
|
||||
task: git_clone@1.2.6
|
||||
input:
|
||||
remote_url: '"https://gitee.com/jianmu-dev/jianmu.git"'
|
||||
ref: '"refs/heads/master"'
|
||||
commit_id: '""'
|
||||
depth: 1
|
||||
needs:
|
||||
- start
|
||||
- ref: end
|
||||
name: 结束
|
||||
task: end
|
||||
needs:
|
||||
- maven_build_0
|
||||
|
Loading…
Reference in New Issue