diff --git a/buildenv/jenkins/tapVerification/TapCollection.groovy b/buildenv/jenkins/tapVerification/TapCollection.groovy index c118c93df4..f03f9d7aad 100644 --- a/buildenv/jenkins/tapVerification/TapCollection.groovy +++ b/buildenv/jenkins/tapVerification/TapCollection.groovy @@ -33,7 +33,8 @@ pipeline { // Function to download attachments from text def downloadAttachments = { text -> text.split('\r\n').each { line -> - if (line.contains("https://github.com/${RELEASE_TRIAGE_REPO}/files/") && line.endsWith(')')) { + /* groovylint-disable-next-line LineLength */ + if ((line.contains("https://github.com/${RELEASE_TRIAGE_REPO}/files/") || line.contains('https://github.com/user-attachments/files/')) && line.endsWith(')')) { def url = line.substring(line.indexOf('(https') + 1, line.lastIndexOf(')')) def filename = url.split('/').last() sh "curl -L -o ${tapsDir}/${filename} ${url}"