Squashed commit of the following:

commit 9787948ed049b6b78e3db8f66e5ffadc8ff7740a
Author: Wojciech Jarmosz <wojciech@jarmosz.com>
Date:   Sun Mar 28 00:19:13 2021 +0100

    Trigger Jenkins Build

commit 8e801aa82340ba6c0f24bb84595d2fef8ab50bdd
Author: Wojciech Jarmosz <wojciech@jarmosz.com>
Date:   Sun Mar 28 00:16:55 2021 +0100

    Trigger Jenkins Build

commit 6920e0dd0855a7b737375bf9fa3569dc248349ee
Author: Wojciech Jarmosz <wojciech@jarmosz.com>
Date:   Sun Mar 28 00:14:05 2021 +0100

    Trigger Jenkins Build

commit 45c89b74903896ed2b9c4a207ae1356043ad34bd
Author: Wojciech Jarmosz <wojciech@jarmosz.com>
Date:   Sun Mar 28 00:08:50 2021 +0100

    Trigger Jenkins Build

commit 6bdf8e6e0afd517490e4e75f99d6453299a26797
Author: Wojciech Jarmosz <wojciech@jarmosz.com>
Date:   Sun Mar 28 00:06:27 2021 +0100

    Trigger Jenkins Build

commit a1a283380c7465c064141286e137ad59887991ba
Author: Wojciech Jarmosz <wojciech@jarmosz.com>
Date:   Sun Mar 28 00:05:27 2021 +0100

    Trigger Jenkins Build

commit 80d285dca0bc0caae7001a6036f1f00622f5274b
Author: Wojciech Jarmosz <wojciech@jarmosz.com>
Date:   Sun Mar 28 00:03:24 2021 +0100

    Trigger Jenkins Build

commit b88fc7ef057dd4397e4cf865cdfe85d974301ee7
Author: Wojciech Jarmosz <wojciech@jarmosz.com>
Date:   Sun Mar 28 00:00:53 2021 +0100

    Trigger Jenkins Build

commit bf37be753c303c2123728cf585927b32a7ccd8dc
Author: Wojciech Jarmosz <wojciech@jarmosz.com>
Date:   Sat Mar 27 22:52:37 2021 +0100

    Add comments to Jenkinsfile
This commit is contained in:
Wojciech Jarmosz 2021-03-28 00:28:08 +01:00
parent 6653fcaa19
commit f785032fcd

3
Jenkinsfile vendored
View File

@ -5,9 +5,12 @@ pipeline {
stage('Clone repo + run bash script') { stage('Clone repo + run bash script') {
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
"KAGGLE_KEY=${params.KAGGLE_KEY}", "CUTOFF=${params.CUTOFF}" ]) { "KAGGLE_KEY=${params.KAGGLE_KEY}", "CUTOFF=${params.CUTOFF}" ]) {
// Chekout na reporyztorium
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[credentialsId: 'f746c8e0-e974-4758-838d-1920a7b0e3dc', url: 'https://git.wmi.amu.edu.pl/s434704/ium_434704']]]) checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[credentialsId: 'f746c8e0-e974-4758-838d-1920a7b0e3dc', url: 'https://git.wmi.amu.edu.pl/s434704/ium_434704']]])
// Uruchomienie skryptu
sh "chmod 777 ./data_sets.sh" sh "chmod 777 ./data_sets.sh"
sh "./data_sets.sh" sh "./data_sets.sh"
// Zapisanie artefaktów
archiveArtifacts "MoviesOnStreamingPlatforms_updated.dev" archiveArtifacts "MoviesOnStreamingPlatforms_updated.dev"
archiveArtifacts "MoviesOnStreamingPlatforms_updated.test" archiveArtifacts "MoviesOnStreamingPlatforms_updated.test"
archiveArtifacts "MoviesOnStreamingPlatforms_updated.train" archiveArtifacts "MoviesOnStreamingPlatforms_updated.train"