Update 'Jenkinsfile'
This commit is contained in:
parent
05d24b1fb5
commit
33a4bb1a6b
14
Jenkinsfile
vendored
14
Jenkinsfile
vendored
@ -2,22 +2,10 @@ pipeline {
|
|||||||
agent {
|
agent {
|
||||||
docker { image 'python:3' }
|
docker { image 'python:3' }
|
||||||
}
|
}
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
stage('Build') {
|
|
||||||
steps {
|
|
||||||
sh 'pip install black'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
stage('Test') {
|
stage('Test') {
|
||||||
steps {
|
steps {
|
||||||
echo 'Testing..'
|
sh 'pip --version'
|
||||||
sh 'black ./'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
stage('Deploy') {
|
|
||||||
steps {
|
|
||||||
echo 'Deploying....'
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user