Hi Łukasz,
It seems in that environment, our ClassPathFinder#185 returns URLs whose have
Query component which emanates "java.lang.IllegalArgumentException: URI has a
query component" [1]. I've tried to debug what that query string is [2] however
GitHub's Struts-CI user needs to be a collaborat
śr., 12 lut 2020 o 16:18 Yasser Zamani napisał(a):
> It seems in that environment, our ClassPathFinder#185 returns URLs whose have
> Query component which emanates "java.lang.IllegalArgumentException: URI has a
> query component" [1]. I've tried to debug what that query string is [2]
> however
Yasser,
your change showed this
[ERROR]
testIncludeWithWildcard(com.opensymphony.xwork2.config.providers.XmlConfigurationProviderTest)
Time elapsed: 0.021 s <<< ERROR!
com.opensymphony.xwork2.config.ConfigurationException: Error loading
configuration file
com/opensymphony/xwork2/config/provide
Thank you!
Yeah it seems that ClassLoader.getResources("") might return URIs in
format "classpath?filePosition" [1]. I think we should decouple from
underlying JDK via using uri.openConnection instead of new File(uri) at
our ClassPathFinder.
Regards.
[1]
https://github.com/junit-team/junit5/blo
I think this is not the case, I just notice that Jenkins maps
container path to the same host path as $WORKSPACE, that's why that
path isn't /root/.m2/...
Checking one more idea
śr., 12 lut 2020 o 20:44 Yasser Zamani napisał(a):
>
> Thank you!
>
> Yeah it seems that ClassLoader.getResources("")
Hm... still no luck :(
What wonders me is that this works locally
docker run --rm -it -v $(pwd):/root -w /root -u root -e USER=root -e
MAVEN_OPTS="-Xmx1024m" maven:3-jdk-11 mvn test
which is exactly the same setup as on Jenkins
czw., 13 lut 2020 o 07:23 Lukasz Lenart napisał(a):
>
> I think th
Ok, dropped Docker builds and using JDK & Maven directly and now it works :)
czw., 13 lut 2020 o 07:50 Lukasz Lenart napisał(a):
>
> Hm... still no luck :(
>
> What wonders me is that this works locally
>
> docker run --rm -it -v $(pwd):/root -w /root -u root -e USER=root -e
> MAVEN_OPTS="-Xmx102
BUILD-FAILURE: Job 'Apache Struts/PR-394 [PR-394] [44]':
Check console output at "https://builds.apache.org/job/Apache%20Struts/job/PR-394/44/";>Apache
Struts/PR-394 [PR-394] [44]"
-
To unsubscribe,
BUILD-FAILURE: Job 'Apache Struts/PR-394 [PR-394] [45]':
Check console output at "https://builds.apache.org/job/Apache%20Struts/job/PR-394/45/";>Apache
Struts/PR-394 [PR-394] [45]"
-
To unsubscribe,
BUILD-FAILURE: Job 'struts/PR-394 [PR-394] [46]':
Check console output at "https://builds.apache.org/job/struts/job/PR-394/46/";>struts/PR-394
[PR-394] [46]"
-
To unsubscribe, e-mail: dev-unsubscr...
10 matches
Mail list logo