This commit is contained in:
s434766 2021-04-10 15:45:02 +02:00
parent 6442eab2e3
commit e380a345e3

View File

@ -1,6 +1,8 @@
pipeline { pipeline {
agent any agent {
docker {image 'owczarczykp/ium_s434766' }
}
stages { stages {
stage('checkout') { stage('checkout') {
@ -10,13 +12,8 @@ pipeline {
} }
} }
stage('Docker image'){ stage('Docker image'){
agent {
docker {
image 'owczarczykp/ium_s434766'
}
}
steps { steps {
sh 'python3 ./stats.py >> data_stats.txt' sh 'python3 "./stats.py" > data_stats.txt'
} }
} }
stage('archiveArtifacts') { stage('archiveArtifacts') {