Skip to content

Commit

Permalink
Remove default values from git plugin example
Browse files Browse the repository at this point in the history
Default values for submodule configuration generation are
ignored in git plugin 4.6.0.  Changes from the default values
are untested and expected to be unworkable in earlier plugin
versions.

Remove those settings to reduce "noise"
  • Loading branch information
MarkEWaite committed Feb 16, 2021
1 parent 4ffdfa2 commit 658a12f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -123,7 +123,7 @@ This test will print the call stack of the execution :
exampleJob.load(src/test/jenkins/lib/utils.jenkins)
utils.run()
exampleJob.stage(Checkout, groovy.lang.Closure)
exampleJob.checkout({$class=GitSCM, branches=[{name=feature_test}], doGenerateSubmoduleConfigurations=false, extensions=[], submoduleCfg=[], userRemoteConfigs=[{credentialsId=gitlab_git_ssh, url=github.com/lesfurets/JenkinsPipelineUnit.git}]})
exampleJob.checkout({$class=GitSCM, branches=[{name=feature_test}], extensions=[], userRemoteConfigs=[{credentialsId=gitlab_git_ssh, url=github.com/lesfurets/JenkinsPipelineUnit.git}]})
utils.currentRevision()
utils.sh({returnStdout=true, script=git rev-parse HEAD})
exampleJob.gitlabBuilds({builds=[build, test]}, groovy.lang.Closure)
Expand Down

0 comments on commit 658a12f

Please sign in to comment.