diff --git a/Jenkinsfile b/Jenkinsfile index c6a871a..c3c19c4 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -7,5 +7,14 @@ pipeline { url: 'https://git.wmi.amu.edu.pl/s434784/ium_434784' } } + stage('sh: Shell Script') { + steps { + withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", + "KAGGLE_KEY=${params.KAGGLE_KEY}" ]) { + sh 'echo KAGGLE_USERNAME: $KAGGLE_USERNAME' + sh 'kaggle datasets list' + } + } + } } } \ No newline at end of file