25 lines
504 B
Groovy
25 lines
504 B
Groovy
pipeline {
|
|
agent {
|
|
docker {
|
|
image 'ium'
|
|
}
|
|
}
|
|
|
|
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")
|
|
}
|
|
}
|
|
}
|
|
}
|