ium_470607/lab2/Jenkinsfile_dataset_stats
2021-04-11 13:01:37 +02:00

23 lines
449 B
Plaintext

pipeline {
agent {
docker {
image 'kubakonieczny/ium:v1.0'
}
}
stages {
stage('docker') {
steps {
sh '''
ls -lah
python3 python_script.py >> stats.txt
'''
}
}
stage('archive artifacts') {
steps {
archiveArtifacts 'stats.txt'
}
}
}
}