Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when origin is absent #5

Open
giorgio-v opened this issue Jun 11, 2012 · 6 comments
Open

Error when origin is absent #5

giorgio-v opened this issue Jun 11, 2012 · 6 comments

Comments

@giorgio-v
Copy link

git-notes plugin: building new notes hash
git-notes plugin: updating git notes
git-notes plugin: fetching notes
git-notes plugin: running command "git fetch -f origin refs/notes/:refs/notes/" with opts {:raise=>true}
[workspace] $ git fetch -f origin refs/notes/:refs/notes/
ERROR: Unexpected exit code (128): command: "git fetch -f origin refs/notes/:refs/notes/": result: {:out=>"", :err=>"fatal: 'origin' does not appear to be a git repository\nfatal: The remote end hung up unexpectedly\n", :val=>128} (RuntimeError)
/var/lib/jenkins/plugins/git-notes/WEB-INF/classes/lib/build_participant.rb:56:in run' /var/lib/jenkins/plugins/git-notes/WEB-INF/classes/lib/git_updater.rb:20:infetch_notes'
/var/lib/jenkins/plugins/git-notes/WEB-INF/classes/lib/git_updater.rb:12:in update!' /var/lib/jenkins/plugins/git-notes/WEB-INF/classes/models/git_notes_publisher.rb:36:inperform'
org/jruby/RubyProc.java:258:in call' /var/lib/jenkins/plugins/git-notes/WEB-INF/classes/lib/build_context.rb:14:inset'
/var/lib/jenkins/plugins/git-notes/WEB-INF/classes/models/git_notes_publisher.rb:30:in perform' /var/lib/jenkins/plugins/git-notes/WEB-INF/classes/vendor/gems/gems/jenkins-plugin-runtime-0.1.27/lib/jenkins/plugin/proxies/build_step.rb:14:inperform'
/var/lib/jenkins/plugins/git-notes/WEB-INF/classes/vendor/gems/gems/jenkins-plugin-runtime-0.1.27/lib/jenkins/plugin/proxies/build_step.rb:22:in boolean_result' /var/lib/jenkins/plugins/git-notes/WEB-INF/classes/vendor/gems/gems/jenkins-plugin-runtime-0.1.27/lib/jenkins/plugin/proxies/build_step.rb:13:inperform'

Build step 'Publish build result as git-notes' marked build as failure

@bfulton
Copy link
Contributor

bfulton commented Jun 11, 2012

Thanks for the report. I'd like to get a little more context for your use case. Are you using GitHub to host your remote repository? Are you using Jenkins Git plugin to configure that repo?

@giorgio-v
Copy link
Author

Il giorno 11/giu/2012, alle ore 18:49, Bright Fulton [email protected] ha scritto:

Thanks for the report. I'd like to get a little more context for your use case. Are you using GitHub to host your remote repository? Are you using Jenkins Git plugin to configure that

No, it’s a bitbucket repo, defined before, without the plugin.

Giorgio Valoti


Reply to this email directly or view it on GitHub:
#5 (comment)

@bfulton
Copy link
Contributor

bfulton commented Jun 13, 2012

So, you do have a remote, it's just not called origin?

@giorgio-v
Copy link
Author

Il giorno 13/giu/2012, alle ore 15:17, Bright Fulton ha scritto:

So, you do have a remote, it's just not called origin?

Exactly. Something like:

[remote "whatever"]
...

Giorgio Valoti

@bfulton
Copy link
Contributor

bfulton commented Jun 18, 2012

Got it. I've been wanting to add a few configuration knobs. I'll be sure to include the remote name when I do. Leaving this open for now.

@giorgio-v
Copy link
Author

Il giorno 18/giu/2012, alle ore 16:30, Bright Fulton [email protected] ha scritto:

Got it. I've been wanting to add a few configuration knobs. I'll be sure to include the remote name when I do. Leaving this open for now.

Very good, thank you.

Giorgio Valoti


Reply to this email directly or view it on GitHub:
#5 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants