Use jenkins with mercurial and google code - mercurial

I'm trying to use jenkins on my google code project of
but I have the following problem when I do a build
I downloaded the google code plugin but doesnt work :(
Started by an SCM change
Building in workspace /var/lib/jenkins/jobs/Zipper/workspace
$ hg clone --rev default --noupdate http://code.google.com/p/zipper-beta/source /checkout/var/lib/jenkins/jobs/Zipper/workspace
abort: error: No such file or directory
ERROR: Failed to clone http://code.google.com/p/zipper-beta/source/checkout
ERROR: Failed to clone http://code.google.com/p/zipper-beta/source/checkout
Sending e-mails to: gabriel.lozano#miorg.org
Finished: FAILURE
Could anyone tell me what am I doing wrong?
thanks to all

Your configuration is incorrect. The plugin is doing:
hg clone --rev default --noupdate http://code.google.com/p/zipper-beta/source
while it should do:
hg clone --rev default --noupdate http://code.google.com/p/zipper-beta
or even
hg clone --rev default --noupdate https://code.google.com/p/zipper-beta (with https)

Related

Phabricator, Diffusion, Mercurial: "abort: integrity check failed"

My Phabricator stopped pulling new commits a few days ago, I tried to look at my repository in Diffusion, but an error occured:
Command failed with error #255!
COMMAND
hg --config ui.ssh='/var/www/phabricator/bin/ssh-connect' files --print0 --rev ''\''d753179d2d3defe5b6504c0f4d30f1dd9fb72766'\''' -I '.'
STDOUT
(empty)
STDERR
abort: integrity check failed on 00changelog.i:42440!
42440 was the last commit pulled from my repository. Is that a problem with my repo or with Phabricator? I cannot find anything useful.
Yes, it's a problem with your clone of repo. you can use any of described in related topic methods (starting from hg verify locally and remote) and if 42440 is damaged only in your clone get new good clone
JFYI: https://www.mercurial-scm.org/wiki/RepositoryCorruption

Problems integrating Jenkins and Mercurial

I am getting the next error:
java]Started by user anonymous
Building in workspace C:\Program Files (x86)\Jenkins\jobs\test1\workspace
$ hg clone --rev default --noupdate ssh://locahost/*/test1 "C:\Program Files (x86)\Jenkins\jobs\test1\workspace"
remote: Unable to open connection:
remote: Host does not existabort: no suitable response from remote hg!
ERROR: Failed to clone ssh://locahost/*/test1
ERROR: Failed to clone ssh://locahost/*/test1
Finished: FAILURE
In mercurial pluging from the jenkins console I have used
Repository URL: ssh://locahost/*/test1
The rest options are in default
Any idea?
Thanks
I don't know why you have a * character in your path to the remote repository, but that seems likely to be the culprit for this particular error (it generates similar errors against my own hg server).

hg Clone of CoolIris fails with "abort no such dir"

trying to clone the cooliris project using the command provided by Google;
hg clone https://cooliris-toolkit.googlecode.com/hg/ Cooliris-ToolKit
but it runs though and always fails with
updating to branch default abort: No such file or directory
whether I had created the folder Cooliris-ToolKit or not.
Can anyone suggest solution for this please?
Thanks.
Here is a working command:
hg clone https://cooliris-toolkit.googlecode.com/
https://code.google.com/p/cooliris-toolkit/source/checkout

Jenkins, Mercurial, Bitbucket and SSH not working

I'm trying to set up Jenkins to pull from a bitbucket repo (on Windows Server 2008). I've generated a key, uploaded it to bitbucket, configured Mercurial to use Plink, am running Pageant, and can clone from the command line.
When I set up the Jenkins job, it tries to clone the repo but just hangs with the "working" icon in the console output
Building in workspace <workspace>
$ hg clone --rev default --noupdate ssh://hg#bitbucket.org/user/repo <workspace>
<spinning working icon>
If I clone the repo from the command line, I get
Building in workspace <workspace>
[src] $ hg showconfig paths.default
[src] $ hg pull --rev default
<spinning working icon>
and it also just hangs. I've left it running overnight, no error message, nothing.
I can put use https://user:pass#bitbucket.org/user/repo and it checks out fine from Jenkins.
Turns out Jenkins running in a 32 bit tomcat doesn't like 64 bit plink. I changed it to the 32 bit plink and now it checks out fine.

Mercurial - abort: could not lock repository

It is my first time using Mercurial and I am having trouble with it.
I used hg add * and now I am trying to commit by using the hg com command but It's giving me back this error:
Nathans-MacBook-Pro:biogene Nathan$ hg com -m "First time commit"
abort: could not lock repository /Applications/MAMP/htdocs/merc/biogene: No such file or directory
Can anyone provide any insight as to what's going on? That directory certainly exists as I am currently inside of it.
Have you created a repository here first?
hg init