dir( './deploy-this' )
This commit is contained in:
parent
4ba348bf60
commit
419ecdf1cb
|
|
@ -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);
|
||||||
}
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue