Removed the Jenkinsfile
This commit is contained in:
20
jenkinsfile
20
jenkinsfile
@@ -1,20 +0,0 @@
|
||||
pipeline {
|
||||
agent { label 'jenkins-agent' }
|
||||
stages {
|
||||
stage('Build') {
|
||||
steps {
|
||||
sh 'docker-compose build'
|
||||
}
|
||||
}
|
||||
stage('Test') {
|
||||
steps {
|
||||
sh 'docker-compose run --rm app python -m pytest'
|
||||
}
|
||||
}
|
||||
stage('Deploy') {
|
||||
steps {
|
||||
sh 'docker-compose up -d'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user