Pierre Smits created YETUS-938:
----------------------------------

             Summary: test-patch.sh downloads patch in JIRA ticket twice
                 Key: YETUS-938
                 URL: https://issues.apache.org/jira/browse/YETUS-938
             Project: Yetus
          Issue Type: Bug
          Components: Precommit
         Environment: Against master branch at commit 5b1fb16e,
with commit 16e06831 (from PR 88)
            Reporter: Pierre Smits


While executing 
{code:java}
~/dev/asf/yetus/precommit/src/main/shell/test-patch.sh 
--basedir=/Users/nl04748/dev/test/asf/ofbiz --docker 
--patch-dir=/Users/nl04748/dev/test/yetus/ofbiz/OFBIZ-11296 --project=ofbiz 
--resetrepo OFBIZ-11296
{code}
the latest patch file in the ticket is downloaded twice.

The first download happened before the 'Confirming Git environment' section:
{code:java}
OFBIZ-11296 patch is being downloaded at Tue Feb 18 08:56:30 CET 2020 from
  
https://issues.apache.org/jira/secure/attachment/12989898/OFBIZ-11296_ignore-depends-on-when-a-component-load.xml-is-prese.patch
 -> Downloaded
{code}
The second download happened after the run specific image has been built:
{code:java}
OFBIZ-11296 patch is being downloaded at Tue Feb 18 07:57:15 UTC 2020 from
  
https://issues.apache.org/jira/secure/attachment/12989898/OFBIZ-11296_ignore-depends-on-when-a-component-load.xml-is-prese.patch
 -> Downloaded
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to