From 419ecdf1cb92e836adb652f093b867a865b63582 Mon Sep 17 00:00:00 2001 From: Artur Date: Thu, 3 Oct 2024 06:14:19 +0200 Subject: [PATCH] dir( './deploy-this' ) --- deploy-this/create-and-start-aaa.jenkinsfile | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/deploy-this/create-and-start-aaa.jenkinsfile b/deploy-this/create-and-start-aaa.jenkinsfile index 7d8f8f3..899a48c 100755 --- a/deploy-this/create-and-start-aaa.jenkinsfile +++ b/deploy-this/create-and-start-aaa.jenkinsfile @@ -4,13 +4,17 @@ pipeline { stages{ stage('create arti-angular-app') { steps { - script{ - def nxinx_build ="docker build --file angular.dockerfile -t arti-angular-app ." - sh(nxinx_build); - def start_aaa ="docker compose --file deploy-dc.yml up --detach " - sh(start_aaa); - - } + dir( './deploy-this' ){ + script{ + def nxinx_build ="docker build --file angular.dockerfile -t arti-angular-app ." + sh(nxinx_build); + def start_aaa ="docker compose --file deploy-dc.yml up --detach " + sh(start_aaa); + + } + } + + } } }