[
https://issues.jenkins-ci.org/browse/JENKINS-10383?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
SCM/JIRA link daemon resolved JENKINS-10383.
--------------------------------------------
Resolution: Fixed
> platformlabeler plugin doesn't detect 64-bit windows
> ----------------------------------------------------
>
> Key: JENKINS-10383
> URL: https://issues.jenkins-ci.org/browse/JENKINS-10383
> Project: Jenkins
> Issue Type: Bug
> Components: platformlabeler
> Affects Versions: current
> Reporter: Ammon Riley
> Assignee: lifeless
> Attachments: platformlabeler.patch, platformlabeler.patch
>
>
> platformlabeler uses os.arch to determine bitness. However, that's not the
> OS architecture, but the JRE architecture. For a 64-bit JRE, or a 32-bit
> JRE running on a 32-bit OS, you get the right result, but for a 32-bit JRE
> running on a 64-bit OS, you don't.
> The list of Windows versions is also outdated.
> Attached patch works for Windows. Untested for linux, as I don't have a
> 32-bit linux install available.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira