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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T04:26:18+00:00 2026-06-12T04:26:18+00:00

We are planning to migrate our java web application build environment to Cloudbees but

  • 0

We are planning to migrate our java web application build environment to Cloudbees but one aspect is currently blocking us. We are developing a multi-tenant application. It uses host subdomain to identify tenants and we use wildcard dns entries to do that in production (e.g. : *.example.com).

In development, we have hardcoded a few entries in our hosts file to mimic that. Those entries are enough to run our tests :

...
127.0.0.1   test1.app.dev
127.0.0.1   test2.app.dev
127.0.0.1   test3.app.dev
127.0.0.1   test4.app.dev

So basically, Jenkins should set the hosts file, then launch our app using our web container locally. Then the test suite is executed against the running web app.

I tried to add a pre-process step in the Jenkins project configuration to edit the hosts file but as expected, the Jenkins job does not have permission to do that.

Is there a way to change the hosts file before my test suite is run? Or is there something else we could do to simulate wildcard dns entries?

  • 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-12T04:26:19+00:00Added an answer on June 12, 2026 at 4:26 am

    You could use the xip.io service from 37signals:

    http://37signals.com/svn/posts/3191-announcing-pow-040-with-xipio-support

    Thus your host names would be

    • test1.127.0.0.1.xip.io
    • test2.127.0.0.1.xip.io
    • test3.127.0.0.1.xip.io
    • test4.127.0.0.1.xip.io

    I’d personally try and keep these in a centrally configured area, just in case the xip.io service was decommissioned, but it’s probably fairly cheap to operate and so should be around for a while at least.

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

Sidebar

Related Questions

I am planning to migrate a previously created Java web application to Azure. The
Planning to migrate our existing application to Azure. Our existing architecture with security flow
Planning on developing a LAMP web application that allow users to specify their location.
We are planning to migrate our application from EJB 2 to EJB 3. I
We are planning to migrate our DB to Oracle.We need to manually check each
I am planning to migrate a Delphi 6 BDE application to Delphi 2010... First
Currently planning on making the installation process for a .NET application I'm selling smoother
I planning to split my systems into front-end and back-end. Currently my application directly
Planning to develop a LAMP web application. What general strategies can I use to
I am planning to request the users of the my web application to submit

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.