ff248cdfc7
Git plugin has few fine-grained timeout settings, with jenkins-job-builder setting only checkout timeout. Make the same timeout apply for clone operations too. Based on https://storyboard.openstack.org/#!/story/2000372 Change-Id: Id01d413bef7ffa3a069cc1000c923e1bd9ad9ff5 Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
53 lines
1.9 KiB
XML
53 lines
1.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<project>
|
|
<scm class="hudson.plugins.git.GitSCM">
|
|
<configVersion>2</configVersion>
|
|
<userRemoteConfigs>
|
|
<hudson.plugins.git.UserRemoteConfig>
|
|
<name>origin</name>
|
|
<refspec>+refs/heads/*:refs/remotes/origin/*</refspec>
|
|
<url>https://example.com/project.git</url>
|
|
</hudson.plugins.git.UserRemoteConfig>
|
|
</userRemoteConfigs>
|
|
<branches>
|
|
<hudson.plugins.git.BranchSpec>
|
|
<name>master</name>
|
|
</hudson.plugins.git.BranchSpec>
|
|
<hudson.plugins.git.BranchSpec>
|
|
<name>stable</name>
|
|
</hudson.plugins.git.BranchSpec>
|
|
</branches>
|
|
<excludedUsers/>
|
|
<buildChooser class="hudson.plugins.git.util.DefaultBuildChooser"/>
|
|
<disableSubmodules>false</disableSubmodules>
|
|
<recursiveSubmodules>false</recursiveSubmodules>
|
|
<doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
|
|
<authorOrCommitter>false</authorOrCommitter>
|
|
<wipeOutWorkspace>true</wipeOutWorkspace>
|
|
<pruneBranches>false</pruneBranches>
|
|
<remotePoll>false</remotePoll>
|
|
<gitTool>Default</gitTool>
|
|
<submoduleCfg class="list"/>
|
|
<relativeTargetDir/>
|
|
<reference/>
|
|
<gitConfigName/>
|
|
<gitConfigEmail/>
|
|
<skipTag>false</skipTag>
|
|
<scmName/>
|
|
<useShallowClone>false</useShallowClone>
|
|
<ignoreNotifyCommit>false</ignoreNotifyCommit>
|
|
<extensions>
|
|
<hudson.plugins.git.extensions.impl.CheckoutOption>
|
|
<timeout>20</timeout>
|
|
</hudson.plugins.git.extensions.impl.CheckoutOption>
|
|
<hudson.plugins.git.extensions.impl.CloneOption>
|
|
<timeout>20</timeout>
|
|
</hudson.plugins.git.extensions.impl.CloneOption>
|
|
<hudson.plugins.git.extensions.impl.WipeWorkspace/>
|
|
</extensions>
|
|
<browser class="hudson.plugins.git.browser.GithubWeb">
|
|
<url>http://github.com/foo/example.git</url>
|
|
</browser>
|
|
</scm>
|
|
</project>
|