[jbosstools-issues] [JBoss JIRA] (JBIDE-17546) Download stat metadata should omit JOB_NAME from locally-built aggregate sites
Nick Boldt (JIRA)
issues at jboss.org
Thu Jun 5 17:04:15 EDT 2014
[ https://issues.jboss.org/browse/JBIDE-17546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12973892#comment-12973892 ]
Nick Boldt commented on JBIDE-17546:
------------------------------------
We could also omit creation of this metadata entirely, rather than setting JOB_NAME = local, if a value like NULL was passed in via the pom.
Change would need to be here [1] to set p2StatsUrl = NULL when not using the hudson profile, and here [2] to trap for the value.
[1] https://github.com/jbosstools/jbosstools-build-sites/blob/master/aggregate/pom.xml#L38
[2] https://github.com/jbosstools/jbosstools-maven-plugins/blob/master/tycho-plugins/repository-utils/src/main/java/org/jboss/tools/tycho/sitegenerator/GenerateRepositoryFacadeMojo.java#L191
[~mickael_istria] WDYT? Worth the effort?
> Download stat metadata should omit JOB_NAME from locally-built aggregate sites
> ------------------------------------------------------------------------------
>
> 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
> Assignee: 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}
> Might as well just filter out the JOB_NAME entirely in this case and replace it with something like "local", eg.,
> http://download.jboss.org/jbosstools/usage/installs/8.0.0-SNAPSHOT/Beta3/local/Beta3-v20140605-0424
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
More information about the jbosstools-issues
mailing list