update: UM_04.Konteneryzacja zadanie 3.2
This commit is contained in:
parent
f9789a944f
commit
e1c01f43bf
@ -22,12 +22,10 @@ pipeline {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Shell Script') {
|
stage('Run a shell script in a docker container') {
|
||||||
steps {
|
steps {
|
||||||
// Stats
|
//Docker image - pobieranie i uruchomienie
|
||||||
sh 'chmod +x s487175-dataset-stats-script.sh'
|
sh 'docker run nbrt10/ium:v1 python3 /app/s487175-dataset-stats-script.sh > output.txt'
|
||||||
// Run script
|
|
||||||
sh './s487175-dataset-stats-script.sh > output.txt'
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Archive file') {
|
stage('Archive file') {
|
||||||
|
Loading…
Reference in New Issue
Block a user