28 lines
732 B
Groovy
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
|
|
}
|
|
}
|
|
}
|
|
}
|