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

Snippet generator will create tool step snippet referencing git tools, even though they are not supported

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: pipeline
    • Labels:
      None
    • Similar Issues:

      Description

      If you use the Pipeline snippet generator to generate a 

      tool

      step, it will let you choose Git as the tool type, and then will let you choose from your configured Git tools to get an output like this:

      tool name: 'git-2.0', type: 'git'

      Jenkins will then cheerfully ignore this and use the default git tool on the system, not throwing an error or anything. The documentation of the tool step indicates that only maven, gradle, and jdk are supported, but the syntax generator doesn't limit the user at all.

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            owenmehegan Owen Mehegan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: