diff --git a/linux_new/Jenkinsfile b/linux_new/Jenkinsfile index 3cd8a2eec..a52e2ec13 100644 --- a/linux_new/Jenkinsfile +++ b/linux_new/Jenkinsfile @@ -217,7 +217,7 @@ def CheckAndUpload(String Target, String Distro, String BuildArch, String RelVer echo "Debug 2002A - Debian List" echo "Target = ${Target}" echo "Filename = ${Filename}" - def ResponseCode = sh(script: "curl -o /dev/null --silent --head --write-out '%{http_code}' ${artBaseURL}${Target}/${FileName}", returnStdout: true).trim() + def ResponseCode = sh(script: "curl -o /dev/null --silent --head --write-out '%{http_code}' ${artBaseURL}${Target}/${Key}", returnStdout: true).trim() echo "ResponseCode = ${ResponseCode}" if ( ResponseCode == '200') { echo "Target Exists - Skipping"