Name or alias Shell Script Step (sh)

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      The `sh` step adds a "Shell Script" step in the Pipeline. However, there could be multiple such steps including steps from various plugins (e.g., Docker), which makes it hard to distinguish the steps. We should perhaps add an optional parameter to sh to specify a name or alias which would then appear in the pipeline steps.

      e.g., the following can be the step for npm which would show as "Shell script: npm" in the pipeline view.

      sh cmd:"npm install", name: "npm"
      

            Assignee:
            Unassigned
            Reporter:
            Shauvik Roy Choudhary
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: