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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T00:16:38+00:00 2026-06-16T00:16:38+00:00

I am using the MultiJob Project in order to implement a process the runs

  • 0

I am using the MultiJob Project in order to implement a process the runs every time there is a push to a certain Git branch.

How can I pass parameters between 2 different jobs (each job is located in a separate MultiJob Phase)

What i tried to do is:

Job A: (Run on the Master – windows)

echo 2 parameters into a new file (Called parameters.properties) that i placed in a shared location (not in the workspace of Job A)

so this file’s contnet looks like:

currentBuild=2012-11-27_09-20-50 
currentBranch=master

Job B: (Run on a Linux Slave)

The option of “This build is parametrized” is on.

Added “File Parameter” and only the file name as I also set a custom workspace to the shared location where the file is located.

The i have a shell script that tries to use this parametrs but it doesnt get it.

Please Assist,

Doron

  • 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-16T00:16:39+00:00Added an answer on June 16, 2026 at 12:16 am

    The Solution:

    1. in the MultiJob Main Project:

      • Set “This build is parametrized”

        Add 2 Text Parameters (different names since the Job Build is based on Jenkins variable Build_Id which is changed and i want later to set the currentBuild to a constant value and not to a new one)

        • JobBuild

        • JobBranch

    2. On each Job under each MultiJob Phase:

      • Add Predefined Parameters:

        • currentBuild=${JobBuild}

        • currentBranch=${JobBranch}

      untick the “Current job parameters”

      untick the Exposed SCM”

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

Sidebar

Related Questions

Using a CSS image sprite, I'm creating an 'interactive' image where hovering over certain
using this http://bl.ocks.org/950642 we can see how to add images to nodes, the question
Using CI for the first time and i'm smashing my head with this seemingly
Using Location.getBearing(); I seem to get randomly changing bearings. Aka, I can turn the
Using import datetime in python, is it possible to take a formatted time/date string
Using Microsoft SQL Server 2005, is there any way to see when a table
Using Sinatra and DataMapper. This is my first time trying to use more than
Using JQuery,Is there any possible to capture images/scanned documents from digital Camera/Scanner Connected to
Using the Haxe programming language, is there any cross-platform way to read a PNG
Using the Excel 2010 OleDb driver and an OleDbConnection I can query and manipulate

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.