You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bigtop.apache.org by "Evans Ye (JIRA)" <ji...@apache.org> on 2019/03/18 16:45:00 UTC

[jira] [Resolved] (BIGTOP-2993) Switch to gradle XXX-pkg-ind feature developed in BIGTOP-2949 for Bigtop CI

     [ https://issues.apache.org/jira/browse/BIGTOP-2993?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Evans Ye resolved BIGTOP-2993.
------------------------------
       Resolution: Fixed
         Assignee: Evans Ye
    Fix Version/s: 1.4.0

Fixed in Bigtop CI: https://ci.bigtop.apache.org/view/Packages/job/Bigtop-trunk-packages/
Now the code in CI job is cleaner:
{code}
#!/bin/bash

OS_WO_ARCH=`echo ${OS} | awk -F"-" '{ print $1"-"$2}'`
CONFIGURE_NEXUS=-Pnexus=true

# Disable NEXUS on ppc64le and arch64
# For builds w/o nexus, randomly sleep up to 60 seconds to avoid being banned by external resources
echo $OS | egrep "ppc64le|aarch64" && CONFIGURE_NEXUS="" && sleep $((30+RANDOM%30))

# Build should do 'realclean' first to make sure dl/ folder is empty
./gradlew realclean $CONFIGURE_NEXUS -POS=${OS_WO_ARCH} -Pprefix=trunk $COMPONENTS-pkg-ind --info
{code}

> Switch to gradle XXX-pkg-ind feature developed in BIGTOP-2949 for Bigtop CI
> ---------------------------------------------------------------------------
>
>                 Key: BIGTOP-2993
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-2993
>             Project: Bigtop
>          Issue Type: Sub-task
>    Affects Versions: 1.2.1
>         Environment: https://ci.bigtop.apache.org/view/Packages/job/Bigtop-trunk-packages/
>            Reporter: Evans Ye
>            Assignee: Evans Ye
>            Priority: Major
>             Fix For: 1.4.0
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)