Merge pull request #396 from yasserzamani/debug_docker
debug docker
diff --git a/Jenkinsfile b/Jenkinsfile
index 51b66b5..80f2815 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -8,7 +8,7 @@
buildDiscarder logRotator(daysToKeepStr: '14', numToKeepStr: '10')
timeout(80)
disableConcurrentBuilds()
- skipStagesAfterUnstable()
+ #!skipStagesAfterUnstable()
quietPeriod(30)
}
triggers {
diff --git a/core/src/main/java/com/opensymphony/xwork2/util/ClassPathFinder.java b/core/src/main/java/com/opensymphony/xwork2/util/ClassPathFinder.java
index 7ab188c..ecfda32 100644
--- a/core/src/main/java/com/opensymphony/xwork2/util/ClassPathFinder.java
+++ b/core/src/main/java/com/opensymphony/xwork2/util/ClassPathFinder.java
@@ -90,6 +90,12 @@
} catch (URISyntaxException e) {
continue;
}
+
+ // debug docker build for JDK 9+
+ if (entryURI.getRawQuery() != null) {
+ throw new StrutsException("Currently URI with query component isn't supported: " + entryURI.toString());
+ }
+
File entry = new File(entryURI);
if (entry.isFile() && entry.toString().endsWith(".jar")) {
try(ZipInputStream zip = new ZipInputStream(new FileInputStream(entry))) {