2023-05-12 20:24:27 +02:00
|
|
|
pipeline {
|
2023-05-14 13:35:51 +02:00
|
|
|
agent any
|
2023-05-12 20:24:27 +02:00
|
|
|
|
|
|
|
stages {
|
|
|
|
|
|
|
|
stage('Run Script') {
|
|
|
|
steps {
|
|
|
|
//echo ("checkout: check out from version control")
|
|
|
|
//git "https://git.wmi.amu.edu.pl/s151636/ium_151636.git"
|
|
|
|
|
|
|
|
//echo ("sh: Shell Script")
|
|
|
|
//sh "python3 script2.py"
|
|
|
|
|
|
|
|
//echo ("copyArtifacts")
|
|
|
|
|
|
|
|
|
|
|
|
//echo("archiveArtifacts")
|
|
|
|
|
|
|
|
//echo ("run dockerfile")
|
|
|
|
//sh docker
|
|
|
|
|
|
|
|
echo("run data script")
|
2023-05-14 13:34:51 +02:00
|
|
|
sh "docker build . -t konmak/ium:1"
|
2023-05-14 13:32:57 +02:00
|
|
|
sh "pip3 install kaggle"
|
2023-05-12 20:24:27 +02:00
|
|
|
sh "pip3 install pandas"
|
2023-05-14 13:32:57 +02:00
|
|
|
sh "pip3 install scikit-learn"
|
|
|
|
|
|
|
|
sh "python3 script2.py"
|
2023-05-12 20:24:27 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|