add docker agent to jenkinsfile

This commit is contained in:
Yevhenii Poliakov 2023-05-11 20:55:07 +02:00
parent 9cb0709b75
commit 3582fb8610

8
Jenkinsfile vendored
View File

@ -1,8 +1,12 @@
pipeline { pipeline {
agent any agent {
docker {
image 'ium'
}
}
stages { stages {
stage('Stage1') { stage('Run Script') {
steps { steps {
echo ("checkout: check out from version control") echo ("checkout: check out from version control")
git "https://git.wmi.amu.edu.pl/s151636/ium_151636.git" git "https://git.wmi.amu.edu.pl/s151636/ium_151636.git"