Jenkinsfile

This commit is contained in:
Kornelia Girejko 2022-03-27 21:29:40 +02:00
parent 4046b6e91b
commit cb095b2f0e

5
Jenkinsfile vendored
View File

@ -31,9 +31,12 @@ pipeline {
stages {
stage('First') {
steps {
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}","KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
sh 'echo KAGGLE_USERNAME: $KAGGLE_USERNAME'
sh 'kaggle datasets list'
}
checkout([$class: 'GitSCM', branches: [[name: '*/master']], extensions: [], userRemoteConfigs: [[url: 'https://git.wmi. amu.edu.pl/s478815/ium_478815.git']]])
sh "chmod a+x ./skrypt.sh"
sh "KAGGLE_USERNAME=${KAGGLE_USERNAME} KAGGLE_KEY=${KAGGLE_KEY} CUTOFF=${CUTOFF} ./skrypt.sh"
archiveArtifacts 'data.csv'
}