詹金斯的工作建立失败



在jenkins开始工作后,我的git-lab服务器的内存变得完整。重新启动Jenkins Server.Jenkins在Signal 9也出现错误后,Jenkins变得太慢了。先感谢您。我已经附上了失败构建的日志。

    started by user ME
Building in workspace /var/lib/jenkins/workspace/my_Project
using credential ABC
 > /usr/bin/git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > /usr/bin/git config remote.origin.url git@myrepo:root/My_Project.git # timeout=10
Fetching upstream changes from git@myrepo:root/My_Project.git
 > /usr/bin/git --version # timeout=10
using GIT_ASKPASS to set credentials 
 > /usr/bin/git fetch --tags --progress git@myrepo:root/My_Project.git +refs/heads/*:refs/remotes/origin/*
 > /usr/bin/git rev-parse refs/remotes/origin/My_Project_Develop^{commit} # timeout=10
 > /usr/bin/git rev-parse refs/remotes/origin/origin/My_Project_Develop^{commit} # timeout=10
Checking out Revision fbd8fcef97895366d1d08bccb22615712d1f9ef0 (refs/remotes/origin/My_Project_Develop)
 > /usr/bin/git config core.sparsecheckout # timeout=10
 > /usr/bin/git checkout -f fbd8fcef97895366d1d08bccb22615712d1f9ef0
Commit message: "Update features of Software."
 > /usr/bin/git rev-list --no-walk fbd8fcef97895366d1d08bccb22615712d1f9ef0 # timeout=10
Checking for pre-build
Executing pre-build step
Checking if email needs to be generated
No emails were triggered.
[My_Project] $ /bin/sh -xe /tmp/jenkins6218118938138193412.sh
+ id -un
root
+ SSH_OPTS='-o StrictHostKeyChecking=no -o ConnectTimeout=5'
+ sudo git checkout My_Project_Develop
Previous HEAD position was fbd8fce... Update features of Software.
Switched to branch 'My_Project_Develop'
Your branch is behind 'origin/My_Project_Develop' by 1 commit, and can be fast-forwarded.
  (use "git pull" to update your local branch)
Build step 'Execute shell' marked build as failure
Discard old builds...
#1040 is removed because status FAILURE is not to be kept
Checking for post-build
Performing post-build step
Checking if email needs to be generated
No emails were triggered.
Finished: FAILURE

您需要拉动my_project_develop分支,结帐仅切换到此分支。您的分支在服务器后面。

消息很清楚:

Your branch is behind 'origin/My_Project_Develop' by 1 commit, and can be fast-forwarded.
  (use "git pull" to update your local branch)

通常这是由詹金斯完成的。我需要更多信息。

最新更新