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

Add @Symbol("python") to ShiningPanda's PythonInstallation

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Most other tool implementations provide a short name for use in pipelines (jdk, maven, etc.) but there's no python. You have to use the full quoted class name instead.

      Current
      tools {
          'jenkins.plugins.shiningpanda.tools.PythonInstallation' 'CPython-3.6'
      }
      
      Proposed
      tools {
          python 'CPython-3.6'
      }
      

        Attachments

          Activity

          jameshowe James Howe created issue -
          jameshowe James Howe made changes -
          Field Original Value New Value
          Epic Link JENKINS-37386 [ 173483 ]
          jameshowe James Howe made changes -
          Labels pipeline-improvement
          Summary Add "python" alias for PythonInstallation Add @Symbol("python") to ShiningPanda's PythonInstallation
          jameshowe James Howe made changes -
          Description Most other tool implementations provide a short name for use in pipelines (jdk, maven, etc.) but there's no python. You have to use the full quoted class name instead.
          {code:groovy|title=Current}
          tools {
              'jenkins.plugins.shiningpanda.tools.PythonInstallation': 'CPython-3.6'
          }
          {code}
          {code:groovy|title=Proposed}
          tools {
              python: 'CPython-3.6'
          }
          {code}
          Most other tool implementations provide a short name for use in pipelines (jdk, maven, etc.) but there's no python. You have to use the full quoted class name instead.
          {code:title=Current}
          tools {
              'jenkins.plugins.shiningpanda.tools.PythonInstallation' 'CPython-3.6'
          }
          {code}
          {code:title=Proposed}
          tools {
              python: 'CPython-3.6'
          }
          {code}
          jameshowe James Howe made changes -
          Description Most other tool implementations provide a short name for use in pipelines (jdk, maven, etc.) but there's no python. You have to use the full quoted class name instead.
          {code:title=Current}
          tools {
              'jenkins.plugins.shiningpanda.tools.PythonInstallation' 'CPython-3.6'
          }
          {code}
          {code:title=Proposed}
          tools {
              python: 'CPython-3.6'
          }
          {code}
          Most other tool implementations provide a short name for use in pipelines (jdk, maven, etc.) but there's no python. You have to use the full quoted class name instead.
          {code:java|title=Current}
          tools {
              'jenkins.plugins.shiningpanda.tools.PythonInstallation' 'CPython-3.6'
          }
          {code}
          {code:java|title=Proposed}
          tools {
              python 'CPython-3.6'
          }
          {code}

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            jameshowe James Howe
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: