No parameters test

This commit is contained in:
s478841 2022-03-26 17:47:15 +01:00
parent b4d4177068
commit d84f6f6f43

33
Jenkinsfile vendored
View File

@ -1,21 +1,20 @@
node { node {
stage('Preparation') { // stage('Preparation') {
properties ([ // properties ([
parameters([ // parameters([
string( // string(
defaultValue:'mateuszogrodowczyk', // defaultValue:'mateuszogrodowczyk',
description: 'Kaggle username', // description: 'Kaggle username',
name: 'KAGGLE_USERNAME', // name: 'KAGGLE_USERNAME',
trim: false // trim: false
), // ),
password( // password(
defaultValue: '', // description: 'Kaggle access token retrieved from kaggle.json file - https://github.com/Kaggle/kaggle-api#api-credentials',
description: 'Kaggle access token retrieved from kaggle.json file - https://github.com/Kaggle/kaggle-api#api-credentials', // name: 'KAGGLE_KEY'
name: 'KAGGLE_KEY' // )
) // ])
]) // ])
]) // }
}
stage('Install depends.') { stage('Install depends.') {
sh 'pip install --user -r requirements.txt' sh 'pip install --user -r requirements.txt'