dir( '.' )
This commit is contained in:
parent
621f44488e
commit
ad8280bebf
|
|
@ -1,6 +1,6 @@
|
|||
FROM node:alpine
|
||||
|
||||
WORKDIR ./../usr/src/app
|
||||
WORKDIR ./usr/src/app
|
||||
|
||||
COPY . /usr/src/app
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue