2023-10-24 18:03:37 +02:00
|
|
|
pipeline {
|
|
|
|
agent any
|
|
|
|
|
|
|
|
stages {
|
|
|
|
stage('Build') {
|
|
|
|
steps {
|
|
|
|
echo 'Building..'
|
2023-10-24 18:07:32 +02:00
|
|
|
// Run black to format all Python files
|
|
|
|
sh 'find . -name "*.py" -exec black {} +'
|
2023-10-24 18:03:37 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('Test') {
|
|
|
|
steps {
|
|
|
|
echo 'Testing..'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('Deploy') {
|
|
|
|
steps {
|
|
|
|
echo 'Deploying....'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|