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.

          [JENKINS-16335] Managed Script calls other managed script

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

          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

          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.

          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.

          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.

          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.

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

              Created:
              Updated: