From 5d02e6704c5a9dbf0922c04e5a58ef38ce5205e8 Mon Sep 17 00:00:00 2001 From: Artur Date: Thu, 3 Oct 2024 13:26:12 +0200 Subject: [PATCH] /apps_data/angular-services-0.0.1.jar --- deploy-this/deploy-dc.yml | 2 +- deploy-this/deploy.jenkinsfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy-this/deploy-dc.yml b/deploy-this/deploy-dc.yml index d7d6e85..1d2c345 100644 --- a/deploy-this/deploy-dc.yml +++ b/deploy-this/deploy-dc.yml @@ -14,7 +14,7 @@ services: entrypoint: - java - -jar - - /apps_data/jars/angular-services-0.0.1.jar + - /apps_data/angular-services-0.0.1.jar ports: - 8800:8800/tcp # exposing port for www diff --git a/deploy-this/deploy.jenkinsfile b/deploy-this/deploy.jenkinsfile index a5ddda2..77f11f5 100644 --- a/deploy-this/deploy.jenkinsfile +++ b/deploy-this/deploy.jenkinsfile @@ -44,7 +44,7 @@ pipeline{ sh "mvn clean package" - sh "mkdir -p /apps_data/jars && cp ./target/*.jar /apps_data/jars" + sh "mkdir cp ./target/*.jar /apps_data" sh "docker compose -f deploy-this/deploy-dc.yml up --detach"