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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T12:15:16+00:00 2026-05-29T12:15:16+00:00

I have a master (linux) and a windows slave set up, and would like

  • 0

I have a master (linux) and a windows slave set up, and would like to build a single job both on the master and the slave. The “Restrict where this project can be run” option allows us to bind the job to a particular slave but is it possible to bind one job to the master as well as slave? How would one configure the “Build Step” since running it on Windows requires a build with Windows batch command and Linux requires shell command. For example even if the job tries to run on master and slave, wouldn’t it fail at one point since both the build options (with batch and shell command) will be executed?

  • 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-29T12:15:19+00:00Added an answer on May 29, 2026 at 12:15 pm

    Well, in Jenkins you can create groups of machine (either master or slaves), to do this :

    • click on the machine name on the first page of jenkins
    • enter in the node configuration menu
    • then, you can enter some labels in the Labels field. Let’s add a mutli_platform label for example
    • go back to the first page of Jenkins
    • do it for each machine on which you need to run the job
    • go back to the first page of Jenkins
    • click on the job you want to run on multiple nodes
    • go in the configuration menu
    • check the Restrict where this project can be run and put the mutli_platform in it.

    Then, your build will be able to run on the mutli_platform label.

    For the second part, the multi-platform script, you can use ant builds, or python builds (with the python plugin).

    EDIT: If you need to build on the 2 (or more) platforms, you should use a Matrix Job. You will be able to create a job and force it to run on every slave you need.

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

Sidebar

Related Questions

I have a master page, with a help link in the top menu. This
I have a master branch in my project, that I use to pull changes
I have a master page called SampleMaster.master and this page contains a Repeater control
I have one master page which applies to all pages in this website. On
I have a master record which I'd like to use with. Here's a very
I am creating a master database using SQLite. This single file contains a dozen
I would like to port an existing Linux application from its plain C/C++ source
I have very poor knowledge about git and would like to ask for help.
I have a master-detail scenario where I have 1 ComboBox listing companies from an
I have a master page that contains an ASP.NET server side Menu control (System.Web.UI.WebControls.Menu)

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.