Issue Type: Bug Bug
Affects Versions: current
Assignee: Kohsuke Kawaguchi
Components: mercurial
Created: 03/Oct/12 2:30 AM
Description:

I created a Mercurial instance under the global configuration. I then enabled "install automatically". I then configured a job to use this Mercurial instance on an Ubuntu slave node.

When I run the job, it fails with:

$ /usr/bin/hg clone --rev default --noupdate https://host.com/hg/gstreamer-android/ /home/builds/.jenkins/workspace/GStreamer_Android_snapshot
ERROR: Failed to clone https://host.com/hg/gstreamer-android/ because hg could not be found; check that you've properly configured your Mercurial installation
ERROR: Failed to clone https://host.com/hg/gstreamer-android/

Sure enough, /usr/bin/hg does not exist yet the tool auto-installer is not kicking in.

The Mercurial auto-installer has two sub-options:

  1. Extract .zip/.tar.gz
  2. Run command

I don't know how where to get the Mercurial binaries for Ubuntu in *.zip or *.tar.gz form (the sources are posted online, but not the binaries). As for "run command" I know "sudo apt-get install mercurial" will work but this requires root access and I cannot grant Jenkins root access, for security reasons.

Please explain how this is supposed to work. Is this a bug or am I misunderstanding how to configure this?

Project: Jenkins
Priority: Major Major
Reporter: cowwoc
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to