| |
---|
| | String datasetGraph = "${baseURI}/graph/${datasetPath}" |
---|
| | String metadataGraph = "${datasetGraph}/metadata" |
---|
| | drafter.deleteGraph(PMD, credentials, newJobDraft.id, metadataGraph) |
---|
| | drafter.deleteGraph(PMD, credentials, newJobDraft.id, datasetGraph) |
---|
| | if (oldLabel != null) { |
---|
| | if (oldLabel) { |
---|
| | echo "Deleting old graphs from label ${oldLabel}" |
---|
| | String oldDatasetPath = oldLabel.toLowerCase() |
---|
| | .replaceAll('[^\\w/]', '-') |
---|
| | .replaceAll('-+', '-') |
---|
| | .replaceAll('-\$', '') |
---|
| |
---|
| | |
|