-
Notifications
You must be signed in to change notification settings - Fork 6
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
Comments
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? |
Il giorno 11/giu/2012, alle ore 18:49, Bright Fulton [email protected] ha scritto:
No, it’s a bitbucket repo, defined before, without the plugin. Giorgio Valoti
|
So, you do have a remote, it's just not called origin? |
Il giorno 13/giu/2012, alle ore 15:17, Bright Fulton ha scritto:
Exactly. Something like: [remote "whatever"] Giorgio Valoti |
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. |
Il giorno 18/giu/2012, alle ore 16:30, Bright Fulton [email protected] ha scritto:
Very good, thank you. Giorgio Valoti
|
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:in
fetch_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:in
perform'org/jruby/RubyProc.java:258:in
call' /var/lib/jenkins/plugins/git-notes/WEB-INF/classes/lib/build_context.rb:14:in
set'/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: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: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:in
perform'Build step 'Publish build result as git-notes' marked build as failure
The text was updated successfully, but these errors were encountered: