ium_464906/Jenkinsfile

25 lines
689 B
Plaintext
Raw Normal View History

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 {
2024-03-26 21:53:23 +01:00
chmod +x data_processing.sh
2024-03-26 21:51:34 +01:00
sh './data_processing.sh'
2024-03-26 20:11:18 +01:00
}
}
post {
always {
archiveArtifacts artifacts: 'results.txt', allowEmptyArchive: true
}
}
}
}
}