ium_478841/jenkins/Jenkinstats
2022-04-03 19:39:46 +02:00

27 lines
861 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 "chmod +x -R ${env.WORKSPACE}"
sh './data_stats.sh'
}
}
stage('Archive artifacts') {
steps {
archiveArtifacts artifacts: 'stats.txt', followSymlinks: false
}
}
}
}