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

    Attachments

      Activity

        tshrivas Tanvi Shrivastava created issue -
        syl20bnr Sylvain Benner made changes -
        Field Original Value New Value
        Assignee Sylvain Benner [ syl20bnr ]
        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.

        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.

        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

        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

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

        syl20bnr 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 made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        rtyler R. Tyler Croy made changes -
        Workflow JNJira [ 154602 ] JNJira + In-Review [ 185500 ]

        People

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

          Dates

            Created:
            Updated: