archive data

This commit is contained in:
s444417 2022-04-25 21:17:39 +02:00
parent e12ef61c2b
commit 59b7d21327
2 changed files with 6 additions and 3 deletions

7
Jenkinsfile vendored
View File

@ -17,6 +17,9 @@ pipeline {
)
}
agent { dockerfile true }
options {
copyArtifactPermission('s444417-training');
}
stages {
stage("Check out from version control") {
steps {
@ -28,12 +31,12 @@ pipeline {
// sh "KAGGLE_USERNAME=${params.KAGGLE_USERNAME} KAGGLE_KEY=${params.KAGGLE_KEY} CUTOFF=${CUTOFF} ./startscript1.sh"
// sh 'ls -la'
// sh './startscript1.sh'
archiveArtifacts 'data.txt'
archiveArtifacts 'Participants_Data_HPP'
}
}
stage ('Starting train job') {
steps {
build job: 's444417-training/master', wait: false
build job: 's444417-training/master', wait: true
}
}
}

View File

@ -5,7 +5,7 @@ pipeline {
stages {
stage('Test') {
steps {
archiveArtifacts './Participants_Data_HPP/Train.csv ./Participants_Data_HPP/Test.csv ./Participants_Data_HPP/Dev.csv'
copyArtifacts filter: 'Participants_Data_HPP' projectName: 's444417-create-dataset'
}
}
}