diff --git a/Jenkinsfile b/Jenkinsfile index 83a642e924ac46b4078358d43d0b2cb68f95b014..605b12f4566cc22b078e5264b1128979cdfc4a53 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -16,9 +16,9 @@ node { def pVersion = pom.parent.version def snapshot = pVersion.contains("SNAPSHOT") - //if (snapshot) { - // doDebSnapshot(pName, 'oaipmh-webapp/target', pVersion) - // } + if (snapshot) { + doDebSnapshot(pName, 'oaipmh-webapp/target', pVersion) + } //else { // doDebRelease(pName, 'oaipmh-webapp/target', pVersion) //} diff --git a/oaipmh-core/src/test/java/info/textgrid/middleware/OaiPmhTest.java b/oaipmh-core/src/test/java/info/textgrid/middleware/OaiPmhTest.java index 0c104ac4fa6f796b53d943f416587c202dcf8463..341b428e7132793d1335f4587edfbb6f027c1cbb 100644 --- a/oaipmh-core/src/test/java/info/textgrid/middleware/OaiPmhTest.java +++ b/oaipmh-core/src/test/java/info/textgrid/middleware/OaiPmhTest.java @@ -482,13 +482,13 @@ public class OaiPmhTest { * @throws ParseException */ @Test - @Ignore + //@Ignore public void testListSets() throws ParseException { - this.setListTextGrid.setFormatField("format"); - this.setListTextGrid.setFormatToFilter(TextGridMimetypes.EDITION); - this.setListTextGrid.setIdentifierField("textgridUri"); - this.setListTextGrid.setRepositoryObjectURIPrefix("textgrid:"); + OaiPmhTest.setListTextGrid.setFormatField("format"); + OaiPmhTest.setListTextGrid.setFormatToFilter(TextGridMimetypes.EDITION); + OaiPmhTest.setListTextGrid.setIdentifierField("textgridUri"); + OaiPmhTest.setListTextGrid.setRepositoryObjectURIPrefix("textgrid:"); JAXBElement<OAIPMHType> r = this.request.getRequest("ListSets", "", "", "", "", "", ""); JAXB.marshal(r, System.out);