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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T17:26:22+00:00 2026-06-14T17:26:22+00:00

We use Mercurial, Maven and Hudson I created a test project to use with

  • 0

We use Mercurial, Maven and Hudson

I created a test project to use with and set up freestyle/Maven 3 job in Hudson that executes the “release:prepare release:perform” goals. This runs fine.

Then I created another release job for a “real” project by copying the test one and updating the “Repository URL” and the “Repository browser URL”. This one fails:

[INFO] Checking in modified POMs...
[INFO] EXECUTING: /bin/sh -c cd /opt/home/hudson/jobs/MyProject-ManualRelease/workspace && hg branch
[INFO] EXECUTING: /bin/sh -c cd /opt/home/hudson/jobs/MyProject-ManualRelease/workspace && hg outgoing
[INFO] EXECUTING: /bin/sh -c cd /opt/home/hudson/jobs/MyProject-ManualRelease/workspace && hg commit --message '[maven-release-plugin] prepare release MyProject-1.0' /opt/home/hudson/jobs/MyProject-ManualRelease/workspace/pom.xml
[INFO] EXECUTING: /bin/sh -c cd /opt/home/hudson/jobs/MyProject-ManualRelease/workspace && hg push https://hudson:hudson@scmserver/hg/current/MyProject
[ERROR] 
EXECUTION FAILED
  Execution of cmd : push failed with exit code: 255.
  Working directory was: 
    /opt/home/hudson/jobs/MyProject-ManualRelease/workspace
  Your Hg installation seems to be valid and complete.
    Hg version: 1.3.1 (OK)

In order for us to get Maven release plugin to work with our Mercurial server, we had to set up https on it and need to add some config to each project’s hgrc file. The same config has been set up on both project repositories.

We run Hudson as a “hudson” user and have set up private/public keys for it on our Mercurial server so that it has access to the Mercurial server.

I don’t understand why one project can commit changes and the other cannot. If it was both projects I would guess it’s a permissions issue, but it’s only one of them.

I’m hoping somebody has a suggestion as to what the problem is.

  • 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-06-14T17:26:24+00:00Added an answer on June 14, 2026 at 5:26 pm

    I was concentrating on the config and the problem was that hg web server couldn’t access the project repo. Someone had created an (empty) repository on the directory the project is in and this prevented Hudson from accessing it via https. Removing the repository fixed things.

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

Sidebar

Related Questions

I have teamcity project that use mercurial. I did a few manually changes to
I've decided that I want to use Mercurial for a small, personal project. Most
For those of you that use Mercurial with the MQ extension: This is the
I have a little private Google code project. For a SCM I use Mercurial.
I've got a server and I want to use Mercurial to coordinate a project.
Is there something for Maven that I can use to create placeholders (e.g. a
The problem is that I'd like to be able to use Mercurial, or git,
I'm working on a project that uses svn, but I like the way mercurial
I develop Qt-based project and use Mercurial repository (bitbucket.org service) for version control. Each
We use Maven for our builds and Mercurial for our changesets. While our software

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.