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

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

      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'
      }
      

          [JENKINS-56348] Add @Symbol("python") to ShiningPanda's PythonInstallation

          James Howe created issue -
          James Howe made changes -
          Epic Link New: JENKINS-37386 [ 173483 ]
          James Howe made changes -
          Labels New: pipeline-improvement
          Summary Original: Add "python" alias for PythonInstallation New: Add @Symbol("python") to ShiningPanda's PythonInstallation
          James Howe made changes -
          Description Original: 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}
          New: 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}
          James Howe made changes -
          Description Original: 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}
          New: 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}

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

              Created:
              Updated: