mieszkania5/Jenkinsfile

24 lines
432 B
Groovy

pipeline {
agent {
docker { image 'python:3' }
}
stages {
stage('Build') {
steps {
sh 'pip install black'
}
}
stage('Test') {
steps {
echo 'Testing..'
sh 'black ./'
}
}
stage('Deploy') {
steps {
echo 'Deploying....'
}
}
}
}