diff --git a/pipline_script.txt b/pipline_script.txt new file mode 100644 index 0000000..a4a4d5b --- /dev/null +++ b/pipline_script.txt @@ -0,0 +1,21 @@ +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!' + } + } + } + } +} \ No newline at end of file