추가 'pipline_script.txt'
This commit is contained in:
21
pipline_script.txt
Normal file
21
pipline_script.txt
Normal file
@@ -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!'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user