21 lines
684 B
Plaintext
21 lines
684 B
Plaintext
pipeline {
|
|
agent any
|
|
stages {
|
|
stage('Checkout') {
|
|
steps {
|
|
checkout([$class: 'GitSCM', branches: [[name: '*/master']], extensions: [], userRemoteConfigs: [[credentialsId: 's470623', url: 'https://git.wmi.amu.edu.pl/s470623/ium_470623.git']]])
|
|
}
|
|
}
|
|
stage('Copy artifacts') {
|
|
steps {
|
|
copyArtifacts fingerprintArtifacts: true, projectName: 's470623-create-dataset', selector: lastSuccessful()
|
|
sh 'chmod u+x ./stats.sh'
|
|
sh './stats.sh'
|
|
}
|
|
}
|
|
stage('Archive') {
|
|
steps {
|
|
archiveArtifacts 'stats.txt'
|
|
}
|
|
}
|
|
} |