refactor: .devops/未命名项目111.yml
This commit is contained in:
parent
3ee81cfbee
commit
b11b3e1ccb
|
|
@ -7,14 +7,61 @@ workflow:
|
|||
- ref: start
|
||||
name: 开始
|
||||
task: start
|
||||
- ref: shell_0
|
||||
name: shell
|
||||
image: docker.jianmuhub.com/library/alpine:3.17.0
|
||||
needs:
|
||||
- start
|
||||
- ref: end
|
||||
name: 结束
|
||||
task: end
|
||||
needs:
|
||||
- shell_0
|
||||
- ref: maven_build_0
|
||||
name: maven构建
|
||||
task: maven_build@1.4.0-jdk17
|
||||
input:
|
||||
workspace: '""'
|
||||
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.9
|
||||
input:
|
||||
remote_url: '""'
|
||||
ref: '"refs/heads/master"'
|
||||
commit_id: '""'
|
||||
depth: 1
|
||||
needs:
|
||||
- start
|
||||
- ref: docker_image_build_0
|
||||
name: docker镜像构建
|
||||
task: docker_image_build@1.6.0
|
||||
input:
|
||||
image_name: '""'
|
||||
image_tag: '"latest"'
|
||||
registry_address: '""'
|
||||
docker_file: '"Dockerfile"'
|
||||
docker_build_path: '"."'
|
||||
workspace: '"."'
|
||||
image_push: true
|
||||
build_args: '""'
|
||||
needs:
|
||||
- maven_build_0
|
||||
- ref: shell_0
|
||||
name: shell
|
||||
image: docker.jianmuhub.com/library/ubuntu:22.04
|
||||
needs:
|
||||
- docker_image_build_0
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue