ium_478839/Jenkinsfile-stats

35 lines
1.0 KiB
Plaintext
Raw Normal View History

2022-03-27 22:37:12 +02:00
pipeline {
2022-04-03 15:06:19 +02:00
agent {
docker { image 'sebastianwalesa/ium:1.0' }
}
2022-03-27 22:37:12 +02:00
stages {
stage('First step') {
steps {
echo 'Hello world!'
}
}
stage('Checkout') {
steps {
checkout([$class: 'GitSCM', branches: [[name: '*/feature']], extensions: [], userRemoteConfigs: [
[url: 'https://git.wmi.amu.edu.pl/s478839/ium_478839.git']]])
}
}
stage('Copy Artifacts') {
2022-03-27 22:43:04 +02:00
steps {
2022-03-27 22:51:43 +02:00
copyArtifacts fingerprintArtifacts: true, projectName: 's478839-create-dataset', selector: lastSuccessful()
2022-03-27 22:43:04 +02:00
}
2022-03-27 22:37:12 +02:00
}
stage('Shell Script') {
steps {
sh "chmod +x -R ${env.WORKSPACE}"
sh './skrypt-simplestats.sh'
}
}
stage('Arichve') {
steps{
2022-03-27 22:55:23 +02:00
archiveArtifacts artifacts: 'wynik.txt', followSymlinks: false
2022-03-27 22:37:12 +02:00
}
}
}
}