ium_478841/Jenkinstats
2022-03-28 00:24:40 +02:00

26 lines
811 B
Plaintext

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 {
sh './data_stats.sh'
}
}
stage('Archive artifacts') {
steps {
archiveArtifacts artifacts: 'stats.txt', followSymlinks: false
}
}
}
}