Jenkins docker test
This commit is contained in:
parent
f73705bb68
commit
05e88e5fd4
@ -4,6 +4,7 @@ ARG KAGGLE_USERNAME
|
||||
ARG KAGGLE_KEY
|
||||
ARG CUTOFF
|
||||
ENV CUTOFF=${CUTOFF:-260000}
|
||||
ENV IS_DOCKER=True
|
||||
|
||||
WORKDIR /app
|
||||
COPY ./download_data.sh calc_stats.sh ./
|
||||
|
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -18,6 +18,9 @@ pipeline {
|
||||
name: 'CUTOFF'
|
||||
)
|
||||
}
|
||||
agent {
|
||||
dockerfile true
|
||||
}
|
||||
stages {
|
||||
stage('Hello') {
|
||||
steps {
|
||||
@ -36,6 +39,7 @@ pipeline {
|
||||
"CUTOFF=${params.CUTOFF}"]) {
|
||||
sh "./download_data.sh"
|
||||
sh "python3 clean_and_split_data.py"
|
||||
sh "echo $IS_DOCKER"
|
||||
archiveArtifacts artifacts: "crime.test, crime.dev, crime.train", onlyIfSuccessful: true
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user