-
Improvement
-
Resolution: Unresolved
-
Minor
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
Epic Link | New: JENKINS-37386 [ 173483 ] |
Labels | New: pipeline-improvement | |
Summary | Original: Add "python" alias for PythonInstallation | New: Add @Symbol("python") to ShiningPanda's PythonInstallation |
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} |
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} |