Files
jenkins_gitlab_cicd/pipline_script.txt
2023-03-13 06:39:47 +00:00

21 lines
458 B
Plaintext

pipeline {
agent any
stages {
stage('Git Clone Task') {
steps {
git credentialsId: 'gitid',
url: 'http://gitlab.dev-cloudps.com/root/bookinfo.git',
branch: 'main'
}
post {
failure {
echo 'Fail!'
}
success {
echo 'Done!'
}
}
}
}
}