added env vars
This commit is contained in:
parent
94d054c24e
commit
79abbbbd96
@ -11,7 +11,7 @@ WORKDIR /app
|
||||
COPY ./figlet-loop.sh ./
|
||||
COPY ./download.sh ./
|
||||
COPY ./script.py ./
|
||||
COPY ./kaggle.json /root/.kaggle/kaggle.json
|
||||
# COPY ./kaggle.json /root/.kaggle/kaggle.json
|
||||
|
||||
# RUN ./download.sh 117928
|
||||
RUN python3 ./script.py
|
15
Jenkinsfile3
15
Jenkinsfile3
@ -2,10 +2,23 @@ pipeline {
|
||||
agent {
|
||||
dockerfile true
|
||||
}
|
||||
parameters {
|
||||
string(
|
||||
defaultValue: 'heatedboss2',
|
||||
description: 'Kaggle username',
|
||||
name: 'KAGGLE_USERNAME',
|
||||
trim: false
|
||||
)
|
||||
password(
|
||||
defaultValue: '',
|
||||
description: 'Kaggle token',
|
||||
name: 'KAGGLE_KEY'
|
||||
)
|
||||
}
|
||||
stages {
|
||||
stage('Test') {
|
||||
steps {
|
||||
sh 'cat /etc/issue'
|
||||
sh 'env'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user