From 0c489b7f8843e40fbe4bf99e4a88fc9a663985d3 Mon Sep 17 00:00:00 2001 From: Artur Date: Thu, 3 Oct 2024 13:42:13 +0200 Subject: [PATCH] sh "cp ./target/*.jar /apps_data/" --- deploy-this/deploy-dc.yml | 2 +- deploy-this/deploy.jenkinsfile | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/deploy-this/deploy-dc.yml b/deploy-this/deploy-dc.yml index 1d2c345..89739fc 100644 --- a/deploy-this/deploy-dc.yml +++ b/deploy-this/deploy-dc.yml @@ -30,7 +30,7 @@ services: volumes: - apps_data: + apps-data: external: true diff --git a/deploy-this/deploy.jenkinsfile b/deploy-this/deploy.jenkinsfile index 7811e99..8fc6f75 100644 --- a/deploy-this/deploy.jenkinsfile +++ b/deploy-this/deploy.jenkinsfile @@ -43,7 +43,6 @@ pipeline{ sh "mvn clean package" - sh "cp ./target/*.jar /apps_data/" sh "docker compose -f deploy-this/deploy-dc.yml up --detach"