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

Managed Script calls other managed script

    Details

    • Similar Issues:

      Description

      Currently, one script can call another script when it knows its name. But there plugin does not know this and we must use the internal name of the script.
      I'm requestinga feature where the plugin is aware of one script calling the other script and thus a well define interface is provided here that can be used in the script. And the dependencies should be visible in the GUI.

      Writing this, I come to think of a even more generic plugin "meta-buidstep" or "post-buildstep" here. Where several jobs can use the same meta-step instead of defining all the smae steps in each jos over and over again.

        Attachments

          Activity

          Hide
          domi Dominik Bartholdi added a comment -

          I think you should have a look at this plugin: http://blog.cloudbees.com/2012/02/using-jenkins-templates-plugin-to.html

          Show
          domi Dominik Bartholdi added a comment - I think you should have a look at this plugin: http://blog.cloudbees.com/2012/02/using-jenkins-templates-plugin-to.html
          Hide
          davehunt Dave Hunt added a comment - - edited

          Currently, one script can call another script when it knows its name.

          How do you determine a script's name? I'd like to be able to call one script from another.

          Show
          davehunt Dave Hunt added a comment - - edited Currently, one script can call another script when it knows its name. How do you determine a script's name? I'd like to be able to call one script from another.
          Hide
          domi Dominik Bartholdi added a comment -

          In the buildstep, you have the chance to give an individual name for each script with the field "Target", so you don't need to know the internal name to refer it. This allows you to use a different name for the same file in every step.

          Show
          domi Dominik Bartholdi added a comment - In the buildstep, you have the chance to give an individual name for each script with the field "Target", so you don't need to know the internal name to refer it. This allows you to use a different name for the same file in every step.

            People

            • Assignee:
              domi Dominik Bartholdi
              Reporter:
              axelh Axel Heider
            • Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: