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 6869223
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T03:31:53+00:00 2026-05-27T03:31:53+00:00

I would like to clone a project from a Git server and then perform

  • 0

I would like to clone a project from a Git server and then perform some tests and then deploy to Heroku.

I have been able to get my project from Git, and then perform “bundle install” which does succeed. Leaving the middle tests part out, I am unable to deploy to Heroku. To deploy, I am doing a Command Line build runner with my “Command Executable” set to “git” and “Command Parameter” set to “push git@heroku-#{new_project}:#{new heroku project’s name}.git master”. Where I have set my project name and heroku project name. This is the build log:

[21:22:28]: Checking for changes
[21:22:29]: Clean build enabled: removing old files from /home/teamcity/TeamCity/buildAgent/work/c463bb084d1493f0
[21:22:29]: Clearing temporary directory: /home/teamcity/TeamCity/buildAgent/temp/buildTmp
[21:22:29]: Checkout directory: /home/teamcity/TeamCity/buildAgent/work/c463bb084d1493f0
[21:22:29]: Updating sources: server side checkout...
[21:22:29]: [Updating sources: server side checkout...] Will perform clean checkout
[21:22:29]: [Updating sources: server side checkout...] Clean checkout reasons
[21:22:29]: [Clean checkout reasons] Checkout directory is empty or doesn't exist
[21:22:29]: [Clean checkout reasons] "Clean all files before build" turned on
[21:22:29]: [Updating sources: server side checkout...] Building clean patch for VCS root: PROJECTNAME Git Repo
[21:22:29]: [Updating sources: server side checkout...] Repository sources transferred: 76.91Kb total
[21:22:29]: [Updating sources: server side checkout...] Removing /home/teamcity/TeamCity/buildAgent/work/c463bb084d1493f0
[21:22:29]: [Updating sources: server side checkout...] Updating /home/teamcity/TeamCity/buildAgent/work/c463bb084d1493f0
[21:22:29]: Parameter "system.teamcity.build.checkoutDir" is undefined.
[21:22:29]: Publishing internal artifacts
[21:22:29]: [Publishing internal artifacts] Sending build.start.properties.gz file
[21:22:29]: Step 1/2: Bundle Install (Command Line)
[21:22:29]: [Step 1/2] Starting: /home/teamcity/.rvm/gems/ruby-1.9.2-p290@ PROJECTNAME/bin/bundle install
[21:22:29]: [Step 1/2] in directory: /home/teamcity/TeamCity/buildAgent/work/c463bb084d1493f0
[21:22:30]: [Step 1/2] Using rake (0.9.2.2)
[21:22:30]: [Step 1/2] Using multi_json (1.0.3)
[21:22:30]: [Step 1/2] Using activesupport (3.1.1)
[21:22:30]: [Step 1/2] Using builder (3.0.0)
[21:22:30]: [Step 1/2] Using i18n (0.6.0)
[21:22:30]: [Step 1/2] Using activemodel (3.1.1)
[21:22:30]: [Step 1/2] Using erubis (2.7.0)
[21:22:30]: [Step 1/2] Using rack (1.3.5)
[21:22:30]: [Step 1/2] Using rack-cache (1.1)
[21:22:30]: [Step 1/2] Using rack-mount (0.8.3)
[21:22:30]: [Step 1/2] Using rack-test (0.6.1)
[21:22:30]: [Step 1/2] Using hike (1.2.1)
[21:22:30]: [Step 1/2] Using tilt (1.3.3)
[21:22:30]: [Step 1/2] Using sprockets (2.0.3)
[21:22:30]: [Step 1/2] Using actionpack (3.1.1)
[21:22:30]: [Step 1/2] Using mime-types (1.17.2)
[21:22:30]: [Step 1/2] Using polyglot (0.3.3)
[21:22:30]: [Step 1/2] Using treetop (1.4.10)
[21:22:30]: [Step 1/2] Using mail (2.3.0)
[21:22:30]: [Step 1/2] Using actionmailer (3.1.1)
[21:22:30]: [Step 1/2] Using arel (2.2.1)
[21:22:30]: [Step 1/2] Using tzinfo (0.3.31)
[21:22:30]: [Step 1/2] Using activerecord (3.1.1)
[21:22:30]: [Step 1/2] Using activeresource (3.1.1)
[21:22:30]: [Step 1/2] Using ansi (1.4.1)
[21:22:30]: [Step 1/2] Using bundler (1.0.21)
[21:22:30]: [Step 1/2] Using coffee-script-source (1.1.3)
[21:22:30]: [Step 1/2] Using execjs (1.2.9)
[21:22:30]: [Step 1/2] Using coffee-script (2.2.0)
[21:22:30]: [Step 1/2] Using rack-ssl (1.3.2)
[21:22:30]: [Step 1/2] Using json (1.6.1)
[21:22:30]: [Step 1/2] Using rdoc (3.11)
[21:22:30]: [Step 1/2] Using thor (0.14.6)
[21:22:30]: [Step 1/2] Using railties (3.1.1)
[21:22:30]: [Step 1/2] Using coffee-rails (3.1.1)
[21:22:30]: [Step 1/2] Using jquery-rails (1.0.18)
[21:22:30]: [Step 1/2] Using libv8 (3.3.10.4)
[21:22:30]: [Step 1/2] Using pg (0.11.0)
[21:22:30]: [Step 1/2] Using rails (3.1.1)
[21:22:30]: [Step 1/2] Using sass (3.1.10)
[21:22:30]: [Step 1/2] Using sass-rails (3.1.5)
[21:22:30]: [Step 1/2] Using sqlite3 (1.3.4)
[21:22:30]: [Step 1/2] Using sqlite3-ruby (1.3.3)
[21:22:30]: [Step 1/2] Using therubyracer (0.9.9)
[21:22:30]: [Step 1/2] Using turn (0.8.3)
[21:22:30]: [Step 1/2] Using uglifier (1.1.0)
[21:22:30]: [Step 1/2]  [32mYour bundle is complete! It was installed into /root/.rvm/gems/ruby-1.9.2-p290@ PROJECTNAME [0m
[21:22:30]: [Step 1/2] Process exited with code 0
[21:22:30]: Step 2/2: Deploy to Heroku (Command Line)
[21:22:30]: [Step 2/2] Starting: git push git@heroku-PROJECTNAME:HEROKUPROJECTNAME.git master
[21:22:30]: [Step 2/2] in directory: /home/teamcity/TeamCity/buildAgent/work/c463bb084d1493f0
[21:22:30]: [Step 2/2] fatal: Not a git repository (or any of the parent directories): .git
[21:22:30]: [Step 2/2] Process exited with code 128
[21:22:30]: [Step 2/2] Step Deploy to Heroku (Command Line) failed
[21:22:30]: Publishing internal artifacts
[21:22:30]: [Publishing internal artifacts] Sending build.finish.properties.gz file
[21:22:30]: Build finished

It seems like it cannot find my project .git file. I am not sure how exactly to “allow it to find it”.
Can anyone help?

  • 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-05-27T03:31:53+00:00Added an answer on May 27, 2026 at 3:31 am

    This line from the log:

    Updating sources: server side checkout...
    

    shows that you are using server side checkout whereby the clone happens on the server and the files are copied to the agent.

    Change it to agent checkout in your VCS settings and it should work.

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

Sidebar

Related Questions

I have a project hosted on GitHub and I would like to work locally
I want to clone a new project with a command like git clone git@some_link.com:some_word/project_name.git
I would like to clone a tag using Javascript (without using any external frameworks
I would like to deep clone a List. for that we are having a
My basic question is, in .NET, how do I clone WebControls? I would like
I have got a question regarding suprepositories. Our project is set up like this:
We use Oracle on a project and would like to also support MySQL. How
I would like to have in my repository as tagged or submodules the different
Possibly related to Git - pulling changes from clone back onto the master I
New to Git and still a little perplexed. I have forked a project on

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.