Easer form
This commit is contained in:
parent
ccd853368c
commit
597da4c1e7
|
|
@ -38,20 +38,18 @@ pipeline{
|
|||
dir( repo_name ){
|
||||
|
||||
sh "git log -n 5"
|
||||
|
||||
sh "docker compose -f deploy-this/deploy-dc.yml down"
|
||||
|
||||
sh "mvn clean package"
|
||||
|
||||
sh "docker compose -f ./deploy-dc.yml down"
|
||||
|
||||
// sh "cp ./deploy-dc.yml ${system_dir}"
|
||||
sh "cp ./target/*.jar ${system_dir}"
|
||||
|
||||
sh "docker compose -f deploy-this/deploy-dc.yml up --detach"
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
dir("${system_dir}"){
|
||||
sh "docker compose -f ./deploy-dc.yml up --detach"
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue