dir( './deploy-this' )

This commit is contained in:
Artur 2024-10-03 06:14:19 +02:00
parent 4ba348bf60
commit 419ecdf1cb
1 changed files with 11 additions and 7 deletions

View File

@ -4,13 +4,17 @@ pipeline {
stages{ stages{
stage('create arti-angular-app') { stage('create arti-angular-app') {
steps { steps {
script{ dir( './deploy-this' ){
def nxinx_build ="docker build --file angular.dockerfile -t arti-angular-app ." script{
sh(nxinx_build); def nxinx_build ="docker build --file angular.dockerfile -t arti-angular-app ."
def start_aaa ="docker compose --file deploy-dc.yml up --detach " sh(nxinx_build);
sh(start_aaa); def start_aaa ="docker compose --file deploy-dc.yml up --detach "
sh(start_aaa);
}
}
}
} }
} }
} }