Debug 4
This commit is contained in:
parent
331b8de2d2
commit
f176ed32f1
@ -18,12 +18,17 @@ pipeline {
|
|||||||
)
|
)
|
||||||
password (
|
password (
|
||||||
defaultValue: '',
|
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'
|
name: 'KAGGLE_KEY'
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
|
stage('Test') {
|
||||||
|
steps {
|
||||||
|
sh 'pip3 list'
|
||||||
|
}
|
||||||
|
}
|
||||||
stage('Checkout') {
|
stage('Checkout') {
|
||||||
steps {
|
steps {
|
||||||
checkout scmGit(
|
checkout scmGit(
|
||||||
@ -36,17 +41,13 @@ pipeline {
|
|||||||
steps {
|
steps {
|
||||||
sh 'pip list'
|
sh 'pip list'
|
||||||
sh 'pip3 list'
|
sh 'pip3 list'
|
||||||
sh 'pip --version'
|
|
||||||
sh 'pip3 --version'
|
sh 'pip3 --version'
|
||||||
sh 'python --version'
|
|
||||||
sh 'python3 --version'
|
sh 'python3 --version'
|
||||||
script {
|
script {
|
||||||
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", "KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
|
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", "KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
|
||||||
sh 'pip list'
|
sh 'pip list'
|
||||||
sh 'pip3 list'
|
sh 'pip3 list'
|
||||||
sh 'pip --version'
|
|
||||||
sh 'pip3 --version'
|
sh 'pip3 --version'
|
||||||
sh 'python --version'
|
|
||||||
sh 'python3 --version'
|
sh 'python3 --version'
|
||||||
sh 'echo KAGGLE_USERNAME: $KAGGLE_USERNAME'
|
sh 'echo KAGGLE_USERNAME: $KAGGLE_USERNAME'
|
||||||
sh 'kaggle datasets list'
|
sh 'kaggle datasets list'
|
||||||
|
Loading…
Reference in New Issue
Block a user