Skip to content

Commit

Permalink
[MPL] Added GitCheckout module to checkout project form a job script (#3
Browse files Browse the repository at this point in the history
)
  • Loading branch information
sparshev authored and pazovtsev committed Jun 17, 2018
1 parent 0d796ed commit bb1f8fe
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,7 @@
* Common checkout module
*/

MPLModule('Default Checkout', CFG)
if( CFG.'git.url' )
MPLModule('Git Checkout', CFG)
else
MPLModule('Default Checkout', CFG)
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/**
* Git Checkout
*/

git url: CFG.'git.url',
branch: CFG.'git.branch',
credentialsId: CFG.'git.credentials'

0 comments on commit bb1f8fe

Please sign in to comment.