Update 'Jenkinsfile1'
This commit is contained in:
parent
e26ab7e41d
commit
7603e15e80
13
Jenkinsfile1
13
Jenkinsfile1
@ -13,10 +13,19 @@ pipeline {
|
||||
}
|
||||
stage('Stage 1') {
|
||||
steps {
|
||||
echo 'Checking out...'
|
||||
checkout([$class: 'GitSCM', branches: [[name: '*/master']], extensions: [], userRemoteConfigs: [[credentialsId: 'f695fe86-8cca-47f7-a546-d3bfd1059fd4', url: 'https://git.wmi.amu.edu.pl/s449288/ium_s449288.git']]])
|
||||
echo 'Checked out'
|
||||
echo 'Copying artifacts...'
|
||||
copyArtifacts fingerprintArtifacts: true, projectName: 's449288-create-dataset', selector: buildParameter('BUILD_SELECTOR')
|
||||
sh './statystyki.sh lego_sets.train.csv'
|
||||
|
||||
echo 'Artifacts copied'
|
||||
sh 'chmod u+x ./statystyki.sh'
|
||||
echo 'Creating statistics file...'
|
||||
sh './statystyki.sh'
|
||||
echo 'Statistics file created'
|
||||
echo 'Archiving results...'
|
||||
archiveArtifacts 'statystyki.txt'
|
||||
echo 'Results archived'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user