Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Andrew Lyons
pipeline
Commits
b6bdb408
Commit
b6bdb408
authored
Dec 15, 2017
by
Andrew Nicols
Browse files
baseCheckout: Correct call
parent
fbffdb8c
Changes
1
Hide whitespace changes
Inline
Side-by-side
vars/baseCheckout.groovy
View file @
b6bdb408
pipeline
{
agent
{
label
'docker'
}
def
call
()
{
pipeline
{
agent
{
label
'docker'
}
stages
{
stage
(
"Git Checkout"
)
{
steps
{
checkout
(
[
$class
:
'GitSCM'
,
branches:
[
[
name:
"master"
]
],
doGenerateSubmoduleConfigurations:
false
,
extensions:
[
[
$class
:
'CloneOption'
,
depth:
0
,
noTags:
false
,
shallow:
true
]
],
submoduleCfg:
[],
userRemoteConfigs:
[
[
url:
"https://github.com/moodle/moodle.git"
stages
{
stage
(
"Git Checkout"
)
{
steps
{
checkout
(
[
$class
:
'GitSCM'
,
branches:
[
[
name:
"master"
]
],
doGenerateSubmoduleConfigurations:
false
,
extensions:
[
[
$class
:
'CloneOption'
,
depth:
0
,
noTags:
false
,
shallow:
true
]
],
submoduleCfg:
[],
userRemoteConfigs:
[
[
url:
"https://github.com/moodle/moodle.git"
]
]
]
]
)
)
}
}
}
}
}
return
this
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment