32 lines
719 B
Groovy
32 lines
719 B
Groovy
pipeline {
|
|
agent {
|
|
dockerfile true
|
|
}
|
|
|
|
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 "source docker_ium/bin/activate"
|
|
sh "python3 script2.py"
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|