2022-03-24 16:08:04 +01:00
|
|
|
pipeline {
|
|
|
|
agent any
|
|
|
|
stages {
|
2022-03-24 17:40:59 +01:00
|
|
|
stage("Hello") {
|
|
|
|
steps {
|
|
|
|
echo "Start.."
|
|
|
|
}
|
|
|
|
}
|
2022-03-24 16:08:04 +01:00
|
|
|
stage("Check out from version control") {
|
|
|
|
steps {
|
|
|
|
checkout scm
|
|
|
|
}
|
|
|
|
}
|
2022-03-24 17:40:59 +01:00
|
|
|
|
|
|
|
stage("Shell Script") {
|
2022-03-24 17:41:58 +01:00
|
|
|
steps {
|
|
|
|
sh "chmod u+x ./startscript.sh"
|
|
|
|
}
|
2022-03-24 17:40:59 +01:00
|
|
|
}
|
2022-03-23 11:11:31 +01:00
|
|
|
}
|
2022-03-23 11:09:04 +01:00
|
|
|
}
|