ium_464906/Jenkinsfile
2024-03-26 20:11:18 +01:00

24 lines
631 B
Groovy

pipeline {
agent any
stages {
stage('Clone repository') {
steps {
checkout([$class: 'GitSCM', branches: [[name: '*/master']], userRemoteConfigs: [[url: 'https://github.com/your/repo.git']]])
}
}
stage('Run shell script') {
steps {
script {
sh './scripts/data_processing.sh'
}
}
post {
always {
archiveArtifacts artifacts: 'results.txt', allowEmptyArchive: true
}
}
}
}
}