Attempt 11

This commit is contained in:
Paweł Skórzewski 2024-04-10 11:21:52 +02:00
parent 85a4a1830d
commit 11b26c5f21

12
Jenkinsfile vendored
View File

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