You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Lars Volker (JIRA)" <ji...@apache.org> on 2018/03/05 17:10:00 UTC

[jira] [Created] (IMPALA-6603) Fix output for cherry-picking job

Lars Volker created IMPALA-6603:
-----------------------------------

             Summary: Fix output for cherry-picking job
                 Key: IMPALA-6603
                 URL: https://issues.apache.org/jira/browse/IMPALA-6603
             Project: IMPALA
          Issue Type: Bug
          Components: Infrastructure
    Affects Versions: Impala 2.12.0
            Reporter: Lars Volker
            Assignee: Lars Volker


The cherrypick-2.x-and-test job builds a line to display as the description of the build in Jenkins. It should contain all commits that were considered. Currently we build it like so:

{code}
git log --format="%s" -z HEAD ^origin/2.x  | sed -e 's/\x00/<br>/' -e 's/^/JENKINS: /'
{code}

I've seen this cause issues once where not all instances of {{\x00}} were replaced, which then results in unprintable characters in the Jenkins build description. This in turn can trip up other tooling.

Additionally, this prints a {{<br>}} at the end, causing the next line of the output to be appended, which usually is {{+ touch found-cherrypicks}}.

To this this, the line should look like this:
{code}
git log --format="%s" -z HEAD ^origin/2.x | sed -e 's/\x00$/\n/' -e 's/\x00/<br>/g' -e 's/^/JENKINS: /'
{code}



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