Git checkout

This commit is contained in:
Michał Ulaniuk 2022-03-27 23:01:44 +02:00
parent 607fc36d76
commit ea7bbc2f05

54
Jenkinsfile vendored
View File

@ -1,28 +1,29 @@
node { pipeline {
stage('Preparation') { agent any
properties([ parameters{
parameters([ password(
string( defaultValue: '',
defaultValue: 'h7557h', description: 'Kaggle token taken from kaggle.json file, as described in https://github.com/Kaggle/kaggle-api#api-credentials',
description: 'Kaggle username', name: 'KAGGLE_SECRET_KEY'
name: 'KAGGLE_USERNAME', )
trim: false string(
), defaultValue: 'h7557h',
password( description: 'Kaggle username',
defaultValue: '', name: 'KAGGLE_USERNAME'
description: 'Kaggle token', )
name: 'KAGGLE_KEY' string(
), defaultValue: '10',
string( description: 'Value for head command',
defaultValue: '10', name: 'CUTOFF'
description: 'Cutoff', )
name: 'CUTOFF' }
) environment {
]) KAGGLE_USERNAME="$params.KAGGLE_USERNAME"
]) KAGGLE_KEY="$params.KAGGLE_KEY"
} CUTOFF="$params.CUTOFF"
}
stage('Checkout') { stages {
stage('Checkout') {
steps { steps {
script { script {
git credentialsId: 'jenkins-user-github', url: 'https://git.wmi.amu.edu.pl/s478855/ium_478855.git' git credentialsId: 'jenkins-user-github', url: 'https://git.wmi.amu.edu.pl/s478855/ium_478855.git'
@ -32,4 +33,5 @@ node {
} }
} }
} }
} }
}