iumKC/Jenkinsfile
2024-03-20 12:58:03 +01:00

28 lines
732 B
Groovy

pipeline {
agent any
stages {
stage('Checkout') {
steps {
// Clone the public repository
git url: 'https://git.wmi.amu.edu.pl/s495715/iumKC.git'
}
}
stage('Run Python Script') {
steps {
// Execute the main.py script
sh 'python3 main.py'
}
}
stage('Archive Artifacts') {
steps {
// Archive any artifacts generated by the script
// Adjust the path according to your script's output
archiveArtifacts artifacts: './football_dataset/*', fingerprint: true
}
}
}
}