2024-03-26 20:03:44 +01:00
|
|
|
pipeline {
|
2024-03-26 20:11:18 +01:00
|
|
|
agent any
|
|
|
|
|
|
|
|
stages {
|
|
|
|
stage('Clone repository') {
|
|
|
|
steps {
|
2024-03-26 21:33:27 +01:00
|
|
|
checkout([$class: 'GitSCM', branches: [[name: '*/master']], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s464906/ium_464906.git']]])
|
2024-03-26 20:11:18 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('Run shell script') {
|
|
|
|
steps {
|
|
|
|
script {
|
|
|
|
sh './scripts/data_processing.sh'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
post {
|
|
|
|
always {
|
|
|
|
archiveArtifacts artifacts: 'results.txt', allowEmptyArchive: true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|