24 lines
446 B
Groovy
24 lines
446 B
Groovy
pipeline {
|
|
agent {
|
|
docker { image 'python:3' }
|
|
}
|
|
|
|
stages {
|
|
stage('Build') {
|
|
steps {
|
|
sh 'pip install -r requirements.txt'
|
|
sh 'black ./'
|
|
}
|
|
}
|
|
stage('Test') {
|
|
steps {
|
|
echo 'Testing..'
|
|
}
|
|
}
|
|
stage('Deploy') {
|
|
steps {
|
|
echo 'Deploying....'
|
|
}
|
|
}
|
|
}
|
|
} |