You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Barna Zsombor Klara (JIRA)" <ji...@apache.org> on 2017/06/12 09:23:00 UTC
[jira] [Commented] (HIVE-14746) Remove branch and repositories from
profiles by sending them from ptest-client
[ https://issues.apache.org/jira/browse/HIVE-14746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16046367#comment-16046367 ]
Barna Zsombor Klara commented on HIVE-14746:
--------------------------------------------
I think we aren't doing a clean checkout every time. This is from the preparation shell script:
{code}
if [[ -d ${repositoryName}-source ]] && [[ ! -d ${repositoryName}-source/.git ]]
then
rm -rf ${repositoryName}-source
fi
if [[ ! -d ${repositoryName}-source ]]
then
git clone $repository ${repositoryName}-source
fi
{code}
We only delete the directory if the .git is missing and we only clone if the directory is deleted or was missing to begin with.
> Remove branch and repositories from profiles by sending them from ptest-client
> ------------------------------------------------------------------------------
>
> Key: HIVE-14746
> URL: https://issues.apache.org/jira/browse/HIVE-14746
> Project: Hive
> Issue Type: Sub-task
> Components: Hive, Testing Infrastructure
> Reporter: Sergio Peña
>
> Hive ptest uses some properties files per branch that contain information about how to execute the tests.
> This profile includes the branch name and repository URLs used to fetch the branch code. We should get rid of these by detecting the branch from the jenkins-execute-build.sh script, and send the information directly to ptest-server as command line parameters.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)