ium_z487175/Jenkinsfile

30 lines
870 B
Plaintext
Raw Normal View History

2023-04-15 11:00:37 +02:00
node {
stage('Preparation') {
properties([
parameters([
string(
defaultValue: 'nbrt10',
description: 'Kaggle username',
name: 'KAGGLE_USERNAME',
trim: false
),
password(
defaultValue: '',
description: 'Kaggle token taken from kaggle.json file, as described in https://github.com/Kaggle/kaggle-api#api-credentials',
name: 'KAGGLE_KEY'
)
])
])
}
2023-04-15 11:07:01 +02:00
stage('Kaggle') {
2023-04-15 11:00:37 +02:00
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}",
"KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
sh 'echo KAGGLE_USERNAME: $KAGGLE_USERNAME'
}
}
2023-04-15 11:08:06 +02:00
stage('checkout') {
steps {
git branch: 'master', url: 'https://git.wmi.amu.edu.pl/s487175/ium_z487175.git'
}
}
2023-03-25 13:43:57 +01:00
}