diff --git a/Jenkinsfile b/Jenkinsfile index 8661ff9..48317cc 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -57,16 +57,16 @@ pipeline { sh 'docker build --no-cache -t ium -f dockerfile .' } } - stage('Run command in container') { + stage('Run command in container') { steps { script { // Uruchamia instancje obrazu ium - sh 'docker run -d ium' + sh 'docker run -it ium' // Uruchomienie skryptu w kontenerze sh 'docker exec ium python3 /app/s487175-create-dataset-script.py >> output.txt' } - } - } + } + } stage('Archive file') { steps { archiveArtifacts artifacts: 'output.txt, diamonds.csv', fingerprint: true