ium_478855/Jenkinsfile
Michał Ulaniuk 607fc36d76 Git
2022-03-27 22:59:31 +02:00

36 lines
874 B
Groovy

node {
stage('Preparation') {
properties([
parameters([
string(
defaultValue: 'h7557h',
description: 'Kaggle username',
name: 'KAGGLE_USERNAME',
trim: false
),
password(
defaultValue: '',
description: 'Kaggle token',
name: 'KAGGLE_KEY'
),
string(
defaultValue: '10',
description: 'Cutoff',
name: 'CUTOFF'
)
])
])
}
stage('Checkout') {
steps {
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"
}
}
}
}