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

View File

@ -5,7 +5,7 @@ pipeline {
stages { stages {
stage('Test') { stage('Test') {
steps { 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'
} }
} }
} }