[jbosstools-issues] [JBoss JIRA] (JBIDE-17546) Usage tracker / download stats complains when installing locally-built JBT

Nick Boldt (JIRA) issues at jboss.org
Thu Jun 5 16:14:16 EDT 2014


     [ https://issues.jboss.org/browse/JBIDE-17546?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nick Boldt updated JBIDE-17546:
-------------------------------

    Description: 
This problem occurs when you're testing a locally built JBT or JBDS install, because JOB_NAME is not set unless it's built in Jenkins:

{code}
!MESSAGE Unable to report download statistics due to invalid URL: http://download.jboss.org/jbosstools/usage/installs/8.0.0-SNAPSHOT/Beta3/${JOB_NAME}/Beta3-v20140605-0424 suffix: org.jboss.tools.ws.feature
{code}

Can we ensure that URL-incompatible characters like $ and { are escaped, thus:

http://download.jboss.org/jbosstools/usage/installs/8.0.0-SNAPSHOT/Beta3/%24{JOB_NAME\}/Beta3-v20140605-0424

Or is it better to filter out the JOB_NAME entirely in this case and replace it with something like "localhost" or "local-build" ?

  was:
This problem occurs when you're testing a locally built JBT or JBDS install, because JOB_NAME is not set unless it's built in Jenkins:

{code}
!MESSAGE Unable to report download statistics due to invalid URL: http://download.jboss.org/jbosstools/usage/installs/8.0.0-SNAPSHOT/Beta3/${JOB_NAME}/Beta3-v20140605-0424 suffix: org.jboss.tools.ws.feature
{code}

Can we ensure that URL-incompatible characters like $ and { are escaped, thus:

http://download.jboss.org/jbosstools/usage/installs/8.0.0-SNAPSHOT/Beta3/%24\{JOB_NAME\}/Beta3-v20140605-0424

Or is it better to filter out the JOB_NAME entirely in this case and replace it with something like "localhost" or "local-build" ?



> Usage tracker / download stats complains when installing locally-built JBT
> --------------------------------------------------------------------------
>
>                 Key: JBIDE-17546
>                 URL: https://issues.jboss.org/browse/JBIDE-17546
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: build, usage
>    Affects Versions: 4.2.0.Beta2
>            Reporter: Nick Boldt
>
> This problem occurs when you're testing a locally built JBT or JBDS install, because JOB_NAME is not set unless it's built in Jenkins:
> {code}
> !MESSAGE Unable to report download statistics due to invalid URL: http://download.jboss.org/jbosstools/usage/installs/8.0.0-SNAPSHOT/Beta3/${JOB_NAME}/Beta3-v20140605-0424 suffix: org.jboss.tools.ws.feature
> {code}
> Can we ensure that URL-incompatible characters like $ and { are escaped, thus:
> http://download.jboss.org/jbosstools/usage/installs/8.0.0-SNAPSHOT/Beta3/%24{JOB_NAME\}/Beta3-v20140605-0424
> Or is it better to filter out the JOB_NAME entirely in this case and replace it with something like "localhost" or "local-build" ?



--
This message was sent by Atlassian JIRA
(v6.2.3#6260)


More information about the jbosstools-issues mailing list