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')
|
string(name: 'CUTOFF', defaultValue: '100', description: 'cut off number')
|
||||||
}
|
}
|
||||||
stages {
|
stages {
|
||||||
stage('Git Checkout') {
|
|
||||||
steps {
|
|
||||||
checkout scm
|
|
||||||
}
|
|
||||||
}
|
|
||||||
stage('Build') {
|
stage('Build') {
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
@ -18,6 +13,7 @@ pipeline {
|
|||||||
"KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
|
"KAGGLE_KEY=${params.KAGGLE_KEY}" ]) {
|
||||||
def customImage = docker.build("custom-image")
|
def customImage = docker.build("custom-image")
|
||||||
customImage.inside {
|
customImage.inside {
|
||||||
|
checkout scm
|
||||||
sh 'bash ./get_dataset.sh $CUTOFF'
|
sh 'bash ./get_dataset.sh $CUTOFF'
|
||||||
archiveArtifacts artifacts: 'artifacts/*', onlyIfSuccessful: true
|
archiveArtifacts artifacts: 'artifacts/*', onlyIfSuccessful: true
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user