Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9286911
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T19:32:19+00:00 2026-06-18T19:32:19+00:00

I have an issue similar to this one: Jenkins stopped work on checking out

  • 0

I have an issue similar to this one: Jenkins stopped work on checking out revision (I think…) My problem is however not that it hangs up but instead that it just crashes. I can’t seem to figure out what is wrong. I have no idea, and the console output aren’t really helping me out. Any help would be appreciated!

Started by user my_repo
Building in workspace /var/lib/jenkins/jobs/Test my_repo master/workspace
Checkout:workspace / /var/lib/jenkins/jobs/Test my_repo master/workspace - hudson.remoting.LocalChannel@3301b455
Using strategy: Default
Last Built Revision: Revision 1f3c154da300f5e8b96b7c1ba6d683913e96ea31 (origin/master)
Fetching changes from 1 remote Git repository
Fetching upstream changes from git@github.com:my_repo/my_repo.git
Commencing build of Revision 1f3c154da300f5e8b96b7c1ba6d683913e96ea31 (origin/master)
Checking out Revision 1f3c154da300f5e8b96b7c1ba6d683913e96ea31 (origin/master)
[workspace] $ /bin/bash -xe /tmp/hudson5411167788999806789.sh
+ source /var/lib/jenkins/.bashrc
++ PATH=/var/lib/jenkins/.rvm/gems/ruby-1.9.3-p385/bin:/var/lib/jenkins/.rvm/gems/ruby-1.9.3-p385@global/bin:/var/lib/jenkins/.rvm/rubies/ruby-1.9.3-p385/bin:/var/lib/jenkins/.rvm/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/var/lib/jenkins/.rvm/bin
++ '[' -s /var/lib/jenkins/.rvm/scripts/rvm ']'
++ source /var/lib/jenkins/.rvm/scripts/rvm
+++ __rvm_has_opt posix
+++ [[ -n '' ]]
+++ [[ -n 4.2.24(1)-release ]]
+++ [[ :braceexpand:errexit:hashall:interactive-comments:xtrace: =~ :posix: ]]
+++ return 1
+++ export HOME rvm_prefix rvm_user_install_flag rvm_path
+++ HOME=/var/lib/jenkins
+++ [[ -n '' ]]
++++ umask
+++ export rvm_stored_umask=0022
+++ rvm_stored_umask=0022
+++ ((  0 == 0  ))
+++ rvm_rvmrc_files=("/etc/rvmrc" "$HOME/.rvmrc")
+++ [[ -n /var/lib/jenkins ]]
+++ [[ /var/lib/jenkins/.rvmrc -ef /var/lib/jenkins/.rvmrc ]]
+++ for rvmrc in '"${rvm_rvmrc_files[@]}"'
+++ [[ -f /etc/rvmrc ]]
+++ for rvmrc in '"${rvm_rvmrc_files[@]}"'
+++ [[ -f /var/lib/jenkins/.rvmrc ]]
+++ GREP_OPTIONS=
+++ grep '^\s*rvm .*$' /var/lib/jenkins/.rvmrc
+++ source /var/lib/jenkins/.rvmrc
++++ export rvm_trust_rvmrcs_flag=1
++++ rvm_trust_rvmrcs_flag=1
+++ unset rvm_rvmrc_files
+++ [[ -z /var/lib/jenkins/.rvm ]]
+++ rvm_path=/var/lib/jenkins/.rvm
+++ [[ -z /var/lib/jenkins ]]
+++ [[ -z '' ]]
+++ [[ /var/lib/jenkins == \/\v\a\r\/\l\i\b\/\j\e\n\k\i\n\s ]]
+++ rvm_user_install_flag=1
+++ export rvm_loaded_flag
+++ [[ -n 4.2.24(1)-release ]]
+++ typeset -f rvm
+++ rvm_loaded_flag=0
+++ ((  0 == 0  ))
+++ [[ -n /var/lib/jenkins/.rvm ]]
+++ [[ -d /var/lib/jenkins/.rvm ]]
+++ true /var/lib/jenkins/.rvm/scripts
+++ [[ -f /var/lib/jenkins/.rvm/scripts/base ]]
+++ source /var/lib/jenkins/.rvm/scripts/base
++++ __rvm_has_opt errexit
++++ [[ -n '' ]]
++++ [[ -n 4.2.24(1)-release ]]
++++ [[ :braceexpand:errexit:hashall:interactive-comments:xtrace: =~ :errexit: ]]
++++ rvm_stored_errexit=1
++++ set +e
++++ : rvm_trace_flag:0
++++ ((  rvm_trace_flag > 0  ))
++++ export __array_start rvm_path
(............  a lot more of the same output.........)
++ hooks+=("$PWD/.rvm/hooks")
++ _hooks_list=($(
    find -L "${hooks[@]}" -iname "$rvm_hook*" -type f 2>/dev/null
  ))
+++ find -L /var/lib/jenkins/.rvm/hooks '/var/lib/jenkins/jobs/Test my_repo master/workspace/.rvm/hooks' -iname 'after_cd*' -type f
Build step 'Execute shell' marked build as failure
Finished: FAILURE

UPDATE

My build shell commands looks like this:

source ~/.bashrc
cd .
rm -rf jenkins && mkdir jenkins
export RAILS_ENV=test
bundle install
rake db:drop db:create db:structure:load
SPEC_OPTS="--format html" rspec spec > jenkins/rspec.html
SPEC_OPTS="--format html" rspec spec_without_rails > jenkins/rspec.html
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T19:32:20+00:00Added an answer on June 18, 2026 at 7:32 pm

    The problem is nothing to do with git. The checkout completed successfully, and the first “Execute Shell” step started executing, and subsequently failed (as given in the penultimate line of the log).

    The RVM command (or whatever it is) is failing in some way. I guess because the find execution fails to find any files.

    When a script exits with a non-zero return code, it fails the Jenkins build.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

my issue lokks similar to this one: (link) but i have one-to-many association: <set
I have an issue similar to this one here . Looking at the answer,
I have an issue very similar to this one . There is an existing
I have an issue similar to this one: SQL Server 2008: ODBC connection problems
I know that there are some threads have a similar issue with this thread.
I've been reading similar questions to this issue and have been able to get
I have been through numerous similar questions on this forum but my issue still
my issue is a bit similar to this one: Having an issue with my
I am having an issue similar to this question: Problem with WCF and Multiple
I Have a similar issue like the one listed here pointer-to-a-pointer-to-a-struct-giving-headache my issue is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.