2022-03-27 21:55:50 +02:00
|
|
|
node {
|
|
|
|
stage('Preparation') {
|
|
|
|
properties([
|
|
|
|
parameters([
|
|
|
|
string(
|
|
|
|
defaultValue: 'h7557h',
|
|
|
|
description: 'Kaggle username',
|
|
|
|
name: 'KAGGLE_USERNAME',
|
|
|
|
trim: false
|
|
|
|
),
|
|
|
|
password(
|
2022-03-27 22:04:39 +02:00
|
|
|
defaultValue: '',
|
2022-03-27 21:55:50 +02:00
|
|
|
description: 'Kaggle token',
|
|
|
|
name: 'KAGGLE_KEY'
|
2022-03-27 22:41:10 +02:00
|
|
|
),
|
|
|
|
string(
|
|
|
|
defaultValue: '10',
|
|
|
|
description: 'Cutoff',
|
|
|
|
name: 'CUTOFF'
|
2022-03-27 21:55:50 +02:00
|
|
|
)
|
|
|
|
])
|
|
|
|
])
|
|
|
|
}
|
2022-03-27 22:50:50 +02:00
|
|
|
|
|
|
|
stage('Checkout') {
|
|
|
|
steps {
|
2022-03-27 22:59:31 +02:00
|
|
|
script {
|
|
|
|
git credentialsId: 'jenkins-user-github', url: 'https://git.wmi.amu.edu.pl/s478855/ium_478855.git'
|
|
|
|
sh "ls -lart ./*"
|
|
|
|
sh "git branch -a"
|
|
|
|
sh "git checkout master"
|
|
|
|
}
|
2022-03-27 22:50:50 +02:00
|
|
|
}
|
|
|
|
}
|
2022-03-27 21:55:50 +02:00
|
|
|
}
|