34 lines
858 B
Plaintext
34 lines
858 B
Plaintext
|
pipeline {
|
||
|
agent any
|
||
|
|
||
|
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")
|
||
|
sh "docker build . -t konmak/ium:1"
|
||
|
sh "pip3 install kaggle"
|
||
|
sh "pip3 install pandas"
|
||
|
sh "pip3 install scikit-learn"
|
||
|
sh "pip3 install tensorflow==2.12.*"
|
||
|
|
||
|
sh "python3 script2.py"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|