|
pipeline {
|
|
agent any
|
|
|
|
stages{
|
|
stage('start proxy-nginx') {
|
|
steps {
|
|
script{
|
|
def nxinx_build ="docker compose --file deploy-this/deploy-dc.yml up --detach "
|
|
sh(nxinx_build);
|
|
sh "rm /apps-data/*.conf"
|
|
sh "cp ./nginx-config/${PROTOCOL}/* /apps-data"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |