[ 
https://issues.apache.org/jira/browse/YETUS-598?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16326009#comment-16326009
 ] 

Akira Ajisaka commented on YETUS-598:
-------------------------------------

After the update, all the attachments are in a single line in the html source, 
so the following scripts prints only one attachment.
{code:java|title=jira.sh}
  ${AWK} 'match($0,"/secure/attachment/[0-9]*/[^\"]*"){print 
substr($0,RSTART,RLENGTH)}' "${PATCH_DIR}/jira"{code}
 

> jira_locate_patch does not work after the update of ASF JIRA
> ------------------------------------------------------------
>
>                 Key: YETUS-598
>                 URL: https://issues.apache.org/jira/browse/YETUS-598
>             Project: Yetus
>          Issue Type: Bug
>          Components: Test Patch
>            Reporter: Akira Ajisaka
>            Assignee: Akira Ajisaka
>            Priority: Blocker
>
> After the update of ASF JIRA, jira_locate_patch always fetches the oldest 
> attachment. Therefore now Jenkins precommit job and smart-apply-patch are 
> broken.



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

Reply via email to