Jenkins无法下载github存储库

时间:2015-11-27 15:58:23

标签: git github jenkins

我正在尝试使用Jenkins将github存储库下载到我的本地计算机中。我收到超时错误说明

错误:10分钟后超时 错误:获取远程repo&origin;'

时出错

我尝试将时间增加到300分钟,再次出现同样的错误

错误:300分钟后超时 错误:获取远程repo&origin;'

时出错

我在Jenkins中使用2.4.0版本的git插件。

任何人都可以帮我解决一下。

1 个答案:

答案 0 :(得分:0)

以下是如何扩展<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:id="@+id/main_content" android:layout_width="match_parent" android:layout_height="match_parent"> <android.support.design.widget.AppBarLayout android:id="@+id/appbar" android:layout_width="match_parent" android:layout_height="wrap_content" android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"> <android.support.v7.widget.Toolbar android:id="@+id/toolbar" android:layout_width="match_parent" android:layout_height="?attr/actionBarSize" android:background="?attr/colorPrimary" app:popupTheme="@style/ThemeOverlay.AppCompat.Light" app:layout_scrollFlags="scroll|enterAlways|snap" /> <android.support.design.widget.TabLayout android:id="@+id/tabs" android:layout_width="match_parent" android:layout_height="wrap_content" /> </android.support.design.widget.AppBarLayout> <android.support.v4.view.ViewPager android:id="@+id/viewpager" android:layout_width="match_parent" android:layout_height="match_parent" app:layout_behavior="@string/appbar_scrolling_view_behavior" /> <android.support.design.widget.FloatingActionButton android:id="@+id/fab" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="end|bottom" android:layout_margin="@dimen/fab_margin" android:src="@drawable/ic_done" /> </android.support.design.widget.CoordinatorLayout> git checkout [包括git clone]的默认超时值。

Git Checkout

  

作业设置 - &gt;源代码管理 - &gt; Git - &gt;其他行为 - &gt;高级结帐行为 - &gt;结帐操作的超时(以分钟为单位)

Git Clone / Fetch

  

作业设置 - &gt;源代码管理 - &gt; Git - &gt;其他行为 - &gt;高级结帐行为 - &gt;克隆和获取操作的超时(以分钟为单位)