dir( '.' )

This commit is contained in:
Artur 2024-10-03 06:29:15 +02:00
parent 621f44488e
commit ad8280bebf
2 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
FROM node:alpine
WORKDIR ./../usr/src/app
WORKDIR ./usr/src/app
COPY . /usr/src/app

View File

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