ium_151636/Jenkinsfile

33 lines
749 B
Plaintext
Raw Normal View History

2023-05-11 20:49:42 +02:00
pipeline {
2023-05-11 20:55:07 +02:00
agent {
2023-05-11 22:48:45 +02:00
dockerfile true
2023-05-11 20:55:07 +02:00
}
2023-05-11 20:49:42 +02:00
stages {
2023-05-11 22:48:45 +02:00
2023-05-11 20:55:07 +02:00
stage('Run Script') {
2023-05-11 20:49:42 +02:00
steps {
2023-05-12 15:40:02 +02:00
//echo ("checkout: check out from version control")
//git "https://git.wmi.amu.edu.pl/s151636/ium_151636.git"
2023-05-11 20:49:42 +02:00
2023-05-12 15:40:02 +02:00
//echo ("sh: Shell Script")
//sh "python3 script2.py"
2023-05-11 20:49:42 +02:00
2023-05-12 15:40:02 +02:00
//echo ("copyArtifacts")
2023-05-11 20:49:42 +02:00
2023-05-12 15:40:02 +02:00
//echo("archiveArtifacts")
2023-05-12 15:51:03 +02:00
2023-05-12 20:14:49 +02:00
//echo ("run dockerfile")
2023-05-12 15:51:03 +02:00
//sh docker
2023-05-12 20:14:49 +02:00
echo("run data script")
2023-05-12 20:41:31 +02:00
//sh "source docker_ium/bin/activate"
2023-05-12 20:37:17 +02:00
sh "ls -a"
2023-05-12 20:47:30 +02:00
sh "python3 script2.py"
2023-05-12 20:32:28 +02:00
2023-05-11 20:49:42 +02:00
}
}
}
}