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

6 views
Skip to first unread message

james@howeswho.co.uk (JIRA)

unread,
May 20, 2019, 6:22:01 AM5/20/19
to jenkinsc...@googlegroups.com
James Howe updated an issue
 
Jenkins / Improvement JENKINS-56348
Add @Symbol("python") to ShiningPanda's PythonInstallation
Change By: James Howe
Summary: Add @Symbol( "python" alias for ) to ShiningPanda's PythonInstallation
Labels: pipeline-improvement
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

james@howeswho.co.uk (JIRA)

unread,
Jun 4, 2019, 12:50:01 PM6/4/19
to jenkinsc...@googlegroups.com
James Howe updated an issue
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}

james@howeswho.co.uk (JIRA)

unread,
Jun 4, 2019, 12:51:02 PM6/4/19
to jenkinsc...@googlegroups.com
James Howe updated an issue
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}
Reply all
Reply to author
Forward
0 new messages