[jbosstools-issues] [JBoss JIRA] (JBIDE-26097) remove TARGET_PLATFORM_CENTRAL_MAX and TARGET_PLATFORM_VERSION_MAX hardcoding in Jenkins jobs; read from parent pom
Nick Boldt (JIRA)
issues at jboss.org
Wed Jun 13 16:41:00 EDT 2018
[ https://issues.jboss.org/browse/JBIDE-26097?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nick Boldt updated JBIDE-26097:
-------------------------------
Fix Version/s: 4.6.0.AM3
> remove TARGET_PLATFORM_CENTRAL_MAX and TARGET_PLATFORM_VERSION_MAX hardcoding in Jenkins jobs; read from parent pom
> -------------------------------------------------------------------------------------------------------------------
>
> Key: JBIDE-26097
> URL: https://issues.jboss.org/browse/JBIDE-26097
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: build
> Reporter: Nick Boldt
> Assignee: Nick Boldt
> Fix For: 4.6.0.AM3
>
>
> remove TARGET_PLATFORM_CENTRAL_MAX and TARGET_PLATFORM_VERSION_MAX hardcoding in Jenkins jobs
> Instead, read from parent pom like this:
> {code}
> function getVar() {
> file=$1
> var=$2
> getVar_return=$(grep "<${var}>" $file | sed -e "s#.*<${var}>\(.\+\)</${var}>.*#\1#")
> }
> wget https://raw.githubusercontent.com/jbosstools/jbosstools-build/master/parent/pom.xml -O parent-pom.xml
> getVar pom.xml TARGET_PLATFORM_VERSION_MAX; TARGET_PLATFORM_VERSION_MAX=$getVar_return
> getVar pom.xml TARGET_PLATFORM_CENTRAL_MAX; TARGET_PLATFORM_CENTRAL_MAX=$getVar_return
> rm -f parent-pom.xml
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jbosstools-issues
mailing list