2023-10-24 17:51:47 +02:00
|
|
|
pipeline {
|
2023-10-24 18:40:20 +02:00
|
|
|
agent {
|
|
|
|
docker { image 'python:3' }
|
|
|
|
}
|
2023-10-24 17:51:47 +02:00
|
|
|
|
|
|
|
stages {
|
|
|
|
stage('Build') {
|
|
|
|
steps {
|
2023-10-24 18:39:20 +02:00
|
|
|
sh 'pip install -r requirements.txt'
|
|
|
|
sh 'black ./'
|
2023-10-24 17:51:47 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('Test') {
|
|
|
|
steps {
|
|
|
|
echo 'Testing..'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('Deploy') {
|
|
|
|
steps {
|
|
|
|
echo 'Deploying....'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|