2023-05-11 20:49:42 +02:00
|
|
|
pipeline {
|
2023-05-11 20:55:07 +02:00
|
|
|
agent {
|
|
|
|
docker {
|
|
|
|
image 'ium'
|
|
|
|
}
|
|
|
|
}
|
2023-05-11 20:49:42 +02:00
|
|
|
|
|
|
|
stages {
|
2023-05-11 20:55:07 +02:00
|
|
|
stage('Run Script') {
|
2023-05-11 20:49:42 +02:00
|
|
|
steps {
|
|
|
|
echo ("checkout: check out from version control")
|
|
|
|
git "https://git.wmi.amu.edu.pl/s151636/ium_151636.git"
|
|
|
|
|
|
|
|
echo ("sh: Shell Script")
|
2023-05-11 21:30:58 +02:00
|
|
|
sh "python3 script2.py"
|
2023-05-11 20:49:42 +02:00
|
|
|
|
|
|
|
echo ("copyArtifacts")
|
|
|
|
|
|
|
|
|
|
|
|
echo("archiveArtifacts")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|