Get back to simple regexp, the -binaries job doesn't have subdirs
authorChristoph Berg <christoph.berg@credativ.de>
Mon, 4 Apr 2016 15:12:46 +0000 (17:12 +0200)
committerChristoph Berg <christoph.berg@credativ.de>
Mon, 4 Apr 2016 15:12:46 +0000 (17:12 +0200)
jenkins/pgapt-jobs.yaml

index 80af4db053bdc46d71c62b0ff706b7809e948fa3..e68eda0d2e0732ae9bcf216bf9ead3a71223be6a 100644 (file)
@@ -86,7 +86,7 @@
     add_version_tag_plain: &add_version_tag_plain |
             import java.util.regex.Matcher;
             for (a in manager.build.getArtifacts()) {
-                    m = (a =~ /.*\/(.*)\.dsc/);
+                    m = (a =~ /(.*)\.dsc/);
                     if (m.matches()) {
                             manager.addShortText(m[0][1]);
                             break;