Update Jenkinsfile
This commit is contained in:
parent
82c588153c
commit
c7169904a4
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@ -6,11 +6,6 @@ pipeline {
|
||||
string(name: 'CUTOFF', defaultValue: '100', description: 'cut off number')
|
||||
}
|
||||
stages {
|
||||
stage('Git Checkout') {
|
||||
steps {
|
||||
checkout scm
|
||||
}
|
||||
}
|
||||
stage('Build') {
|
||||
steps {
|
||||
script {
|
||||
@ -18,6 +13,7 @@ pipeline {
|
||||
"KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
|
||||
def customImage = docker.build("custom-image")
|
||||
customImage.inside {
|
||||
checkout scm
|
||||
sh 'bash ./get_dataset.sh $CUTOFF'
|
||||
archiveArtifacts artifacts: 'artifacts/*', onlyIfSuccessful: true
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user