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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T15:24:37+00:00 2026-05-20T15:24:37+00:00

We are running a Hudson build server internally on a project. We send out

  • 0

We are running a Hudson build server internally on a project. We send out email every time the server deploys new version.

I would like this email to contain more information, including a username and a reason for the build.

From hudsons documentation on Parameterized builds, have added text parameters to the build. I am trying here with two different ones (in order to see what works):

In job configuration This build is parameterized i added the following two variables

Name:          USER 
Default value: userCAPITALIZED

Name:          user
Default value: userstandard

See screenshot of parameterized settings
(source: justaddwater.dk)
.

Now, down in the bottom section “Editable Email Notification” i have tried EVERYTHING to retrieve these values.

What works: All standard Hudson build variables work. Like $CHANGES, $SVN_REVISION, etc.

But I have tried the to access the variables user and USER without any luck. Here is a list of what is not working:

subject: test of parametrized mail 1user:${env.user}, 2USER:${USER}, 3$USER, 4${ENV, USER}, 5%USER%,stop

more tests
${env, user}
${env, USER}
${ENV, user}
${ENV, USER}
${user}
${USER}
${env.user}
${ENV.user}
${env.USER}
${ENV.USER}
$user
$USER
%user%
%USER%

changes $CHANGES
changes ${CHANGES}
subversion revision: $SVN_REVISION
subversion revision: ${SVN_REVISION}

Screenshot of email configuration
(source: justaddwater.dk)

This merely results in an email with this content:

test of parametrized mail 1user:${env.user}, 2USER:${USER}, 3$USER, 4${ENV, USER}, 5%USER%,stop

more tests
${env, user}
${env, USER}
${ENV, user}
${ENV, USER}
${user}
${USER}
${env.user}
${ENV.user}
${env.USER}
${ENV.USER}
$user
$USER
%user%
%USER%

changes
changes
subversion revision: 400
subversion revision: 400

As you can see, only the subversion revision expands correctly. The changes is empty for this particular job, so ignore that.

How do YOU define parameters in email? Any suggestions?
I am using Hudson version 1.395

  • 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-05-20T15:24:38+00:00Added an answer on May 20, 2026 at 3:24 pm

    You need to use a parameter like this one: ${ENV, var="USER"}

    And ‘USER’ is the same as ‘user’ – you need to give then different names.

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

Sidebar

Related Questions

I've got Hudson running on TOMCAT, it can build my Netbeans project using the
We have a continuous integration server running Hudson CI . I'm thinking about putting
I'm trying to setup an automated build server for my rails projects using Hudson
Running a rails site right now using SQLite3. About once every 500 requests or
For some months we've run Hudson on a Windows XP server under a user
I am evaluating the Hudson build system for use as a centralized, sterile build
I'm using Hudson to build Maven-projects with the dedicated Maven 2 job. unfortunately, I
Is it possible to build project present on the developer view present on different
I am running this from a Hudson job: rsync -auz --include=*/ --include=/builds/ --exclude='*' /var/lib/hudson/jobs/
I'm using the Continuous Integration Software Hudson to build Maven 2 projects. The Hudson

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.