diff --git a/Jenkinsfile b/Jenkinsfile index 344890e..7bfc523 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -14,8 +14,10 @@ pipeline { stage('deploy') { steps { - dir(path: '/home/administrator/apps/karmmania/') - sh 'docker-compose up -d' + dir(path: '/home/administrator/apps/$IMAGE_NAME/') { + sh 'docker-compose up -d' + } + } }