Update Jenkinsfile

This commit is contained in:
Alicja Szulecka 2024-04-02 16:33:57 +02:00
parent 82c588153c
commit c7169904a4

6
Jenkinsfile vendored
View File

@ -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
}