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.

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

        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.

        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.

        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

        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

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

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

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

            Created:
            Updated: