ium_478815/Jenkinsfile_stats

26 lines
721 B
Plaintext

pipeline {
agent {
docker { image 'korneliag/ium478815:1.0' }
}
stages {
stage('First') {
steps {
checkout([$class: 'GitSCM', branches: [[name: '*/master']], extensions: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s478815/ium_478815.git']]])
}
}
stage('CopyArtifacts') {
steps {
copyArtifacts fingerprintArtifacts: true, projectName: 's478815-create-dataset', selector: lastSuccessful()
sh "chmod +x -R ${env.WORKSPACE}"
sh './skrypt_stats.sh'
}
}
stage('Archive') {
steps {
archiveArtifacts 'output.txt'
}
}
}
}