diff --git a/src/uk/org/floop/jenkins_pmd/Pipelines.groovy b/src/uk/org/floop/jenkins_pmd/Pipelines.groovy index 385566d..9bf0e99 100644 --- a/src/uk/org/floop/jenkins_pmd/Pipelines.groovy +++ b/src/uk/org/floop/jenkins_pmd/Pipelines.groovy @@ -109,7 +109,7 @@ String path = "/v1/pipelines/ons-table2qb.core/components/import" MultipartEntityBuilder body = createDrafterBody(draftsetId) body.addBinaryBody( - 'components-csvv', + 'components-csv', new FilePath(new File(csvFilename)).read(), ContentType.create('text/csv', 'UTF-8'), csvFilename