小编Nic*_*ban的帖子

詹金斯有时无法获取回购

嗨,当我尝试在 Jenkins 中构建我的项目时遇到此错误。

Started by user jenkins
Building in workspace /var/lib/jenkins/workspace/booking-widget-api
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://xxx@bitbucket.org/yyy/repo-name.git # timeout=10
Fetching upstream changes from https://xxx@bitbucket.org/yyy/repo-name.git
 > git --version # timeout=10
using GIT_ASKPASS to set credentials 
 > git fetch --tags --progress https://xxx@bitbucket.org/yyy/repo-name.git +refs/heads/*:refs/remotes/origin/*
ERROR: Error fetching remote repo 'origin'
hudson.plugins.git.GitException: Failed to fetch from https://xxx@bitbucket.org/yyy/repo-name.git
    at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:888)
    at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1155)
    at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1186)
    at hudson.scm.SCM.checkout(SCM.java:504)
    at hudson.model.AbstractProject.checkout(AbstractProject.java:1208)
    at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
    at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
    at …
Run Code Online (Sandbox Code Playgroud)

git jenkins jenkins-pipeline

4
推荐指数
2
解决办法
1780
查看次数

如何使用不同的.bashrc

我在/ home /文件夹中得到了常见的.bashrc.但我有另一个.basrch(.bashrc1)(我有很多别名)我无法将内容从一个复制到另一个.所以.我想知道是否有可能使用.bashrc1作为默认值,或者是否有一个额外的命令来执行.bashrc1中的别名

谢谢

linux bash redhat

3
推荐指数
1
解决办法
614
查看次数

标签 统计

bash ×1

git ×1

jenkins ×1

jenkins-pipeline ×1

linux ×1

redhat ×1