ium_434760/Jenkinsfile
Anna Nowak daea941b07 fix
2021-03-28 22:31:55 +02:00

24 lines
620 B
Groovy

pipeline {
agent any
stages {
stage('checkout: Check out from version control') {
steps {
git 'https://git.wmi.amu.edu.pl/s434760/ium_434760.git'
}
}
stage('sh: Shell Script')
{
steps {
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
"KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
sh './script.sh'
}
}
}
stage('archive artifacts') {
steps {
archiveArtifacts 'output.txt'
}
}
}
}