Attempt 11

This commit is contained in:
Paweł Skórzewski 2024-04-10 11:21:52 +02:00
parent 85a4a1830d
commit 11b26c5f21
1 changed files with 7 additions and 5 deletions

12
Jenkinsfile vendored
View File

@ -1,8 +1,10 @@
pipeline {
agent {
dockerfile true
}
parameters {
agent {
dockerfile {
args '-u root --privileged'
}
}
parameters {
string (
defaultValue: 'my_username',
description: 'Kaggle username',
@ -16,7 +18,7 @@ pipeline {
)
}
stages {
stage('Kaggle') {
stage('Test') {
steps {
script {
withEnv(["KAGGLE_USERNAME=${params.KAGGLE_USERNAME}", "KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {