iumKC/Jenkinsfile

28 lines
732 B
Plaintext
Raw Normal View History

2024-03-20 12:47:00 +01:00
pipeline {
2024-03-20 12:51:18 +01:00
agent any
2024-03-20 12:51:18 +01:00
stages {
stage('Checkout') {
2024-03-20 12:51:18 +01:00
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
2024-03-20 12:51:18 +01:00
}
}
}
}