Debug 4
This commit is contained in:
parent
331b8de2d2
commit
f176ed32f1
@ -18,12 +18,17 @@ pipeline {
|
||||
)
|
||||
password (
|
||||
defaultValue: '',
|
||||
description: 'Kaggle token taken from kaggle.json file, as described in https://github.com/Kaggle/kaggle-api#api-credentials',
|
||||
description: 'Kaggle token taken from kaggle.json file, as described in https://github.com/Kaggle/kaggle-api/blob/main/docs/README.md#api-credentials',
|
||||
name: 'KAGGLE_KEY'
|
||||
)
|
||||
}
|
||||
|
||||
stages {
|
||||
stage('Test') {
|
||||
steps {
|
||||
sh 'pip3 list'
|
||||
}
|
||||
}
|
||||
stage('Checkout') {
|
||||
steps {
|
||||
checkout scmGit(
|
||||
@ -36,17 +41,13 @@ pipeline {
|
||||
steps {
|
||||
sh 'pip list'
|
||||
sh 'pip3 list'
|
||||
sh 'pip --version'
|
||||
sh 'pip3 --version'
|
||||
sh 'python --version'
|
||||
sh 'python3 --version'
|
||||
script {
|
||||
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", "KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
|
||||
sh 'pip list'
|
||||
sh 'pip3 list'
|
||||
sh 'pip --version'
|
||||
sh 'pip3 --version'
|
||||
sh 'python --version'
|
||||
sh 'python3 --version'
|
||||
sh 'echo KAGGLE_USERNAME: $KAGGLE_USERNAME'
|
||||
sh 'kaggle datasets list'
|
||||
|
Loading…
Reference in New Issue
Block a user