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!' } } } } }