ium_478841/jenkins/stats.Jenkinsfile

27 lines
861 B
Plaintext
Raw Permalink Normal View History

2022-03-28 00:22:45 +02:00
pipeline {
agent any
stages {
stage('Checkout') {
steps {
checkout([$class: 'GitSCM', branches: [[name: '*/master']], extensions: [], userRemoteConfigs: [
[url: 'https://git.wmi.amu.edu.pl/s478841/ium_478841.git']]])
}
}
stage('Copy Artifacts') {
steps {
copyArtifacts fingerprintArtifacts: true, projectName: 's478841-create-dataset', selector: lastSuccessful()
}
}
stage('sh: Shell Script') {
steps {
2022-03-28 00:26:08 +02:00
sh "chmod +x -R ${env.WORKSPACE}"
2022-03-28 00:24:40 +02:00
sh './data_stats.sh'
2022-03-28 00:22:45 +02:00
}
}
stage('Archive artifacts') {
steps {
archiveArtifacts artifacts: 'stats.txt', followSymlinks: false
}
}
}
}