Sergio Peña commented on HIVE-14734:

[~sseth] I know what it is. 

This is the last part of the script.
call_ptest_server --testHandle "$TEST_HANDLE" --endpoint "$PTEST_API_ENDPOINT" 
--logsEndpoint "$PTEST_LOG_ENDPOINT" \
        --profile "$BUILD_PROFILE" ${optionalArgs[@]} "$@"



exit $ret

The {{set -e}} at the beginning of the file is aborting the script when 
{{call_ptest_server}} returns a non-zero value, and he script does not unpack 
the test results.
I'll create a quick patch to remove this.

> Detect ptest profile and submit to ptest-server from jenkins-execute-build.sh
> -----------------------------------------------------------------------------
>                 Key: HIVE-14734
>                 URL: https://issues.apache.org/jira/browse/HIVE-14734
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Hive, Testing Infrastructure
>            Reporter: Sergio Peña
>            Assignee: Sergio Peña
>             Fix For: 2.2.0
>         Attachments: HIVE-14734.2.patch, HIVE-14734.patch
> Currently, to execute tests on a new branch, a manual process must be done:
> 1. Create a new Jenkins job with the new branch name
> 2. Create a patch to jenkins-submit-build.sh with the new branch
> 3. Create a profile properties file on the ptest master with the new branch
> This jira will attempt to automate steps 1 and 2 by detecting the branch 
> profile from a patch to test.

This message was sent by Atlassian JIRA

Reply via email to