Attempt 11
This commit is contained in:
parent
85a4a1830d
commit
11b26c5f21
12
Jenkinsfile
vendored
12
Jenkinsfile
vendored
@ -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}" ]) {
|
||||||
|
Loading…
Reference in New Issue
Block a user