Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-22500

Not able to add step: Post build action -> "Build other Projects" with Job name that uses generator parameter for generating Job name.

    XMLWordPrintable

    Details

    • Similar Issues:

      Attachments

        Activity

        Hide
        syl20bnr Sylvain Benner added a comment - - edited

        Hi Tanvi,

        Thank you for the report.
        Sorry, I don't understand your use case with just the title.
        Can you be more specific ?

        Instead of Build Other Projects, I would use the publisher "Trigger new parameterized job" where you can pass the generator parameters, see the example on the wiki page.

        Show
        syl20bnr Sylvain Benner added a comment - - edited Hi Tanvi, Thank you for the report. Sorry, I don't understand your use case with just the title. Can you be more specific ? Instead of Build Other Projects, I would use the publisher "Trigger new parameterized job" where you can pass the generator parameters, see the example on the wiki page.
        Hide
        tshrivas Tanvi Shrivastava added a comment -

        Thanks for quick response Sylvain!
        I was trying to add a Build Step : "Build Other Projects" and passing value in Project to builds = ${var}_FVT.
        Since the Job name is not yet present, this was vanishing after saving the Job Configuration. Yes i can use "Trigger new parameterized job", but "Build Other Projects" should also be able to work.

        Thanks,
        Tanvi

        Show
        tshrivas Tanvi Shrivastava added a comment - Thanks for quick response Sylvain! I was trying to add a Build Step : "Build Other Projects" and passing value in Project to builds = ${var}_FVT. Since the Job name is not yet present, this was vanishing after saving the Job Configuration. Yes i can use "Trigger new parameterized job", but "Build Other Projects" should also be able to work. Thanks, Tanvi
        Hide
        syl20bnr Sylvain Benner added a comment -

        You are right, the default choice to trigger another job should work, I will look into this issue.

        Show
        syl20bnr Sylvain Benner added a comment - You are right, the default choice to trigger another job should work, I will look into this issue.

          People

          Assignee:
          syl20bnr Sylvain Benner
          Reporter:
          tshrivas Tanvi Shrivastava
          Votes:
          0 Vote for this issue
          Watchers:
          2 Start watching this issue

            Dates

            Created:
            Updated: