diff --git a/Jenkinsfile b/Jenkinsfile index 616c701..debf113 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,5 +1,7 @@ pipeline { - agent any + agent { + dockerfile true + } parameters { string ( defaultValue: 'mikolajpokrywka', @@ -30,7 +32,7 @@ pipeline { withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", "KAGGLE_KEY=${params.KAGGLE_KEY}", "CUTOFF=${params.CUTOFF}"]) { - sh "./process_data.sh" + // sh "./process_data.sh" archiveArtifacts artifacts: "data_test.csv, data_dev.csv, data_train.csv" } } diff --git a/README.md b/README.md index 1c6c07c..257dcb8 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ # Run with docker `docker build -t ium .` -`docker run -i -e KAGGLE_USERNAME='your_kaggle_username' -e KAGGLE_KEY='' -i ium:latest` \ No newline at end of file +`docker run -e KAGGLE_USERNAME='your_kaggle_username' -e KAGGLE_KEY='' -i ium:latest`