Hello all
I'm trying to get out a new release of the
https://github.com/jenkinsci/docker-swarm-plugin
One change I am trying is to embedd all css/js files to it can be used in
an offline jenkins instance.
For this, I added the files into the webapp folder and then referenced them
like:
<link rel="stylesheet"
href="${resURL}/plugin/docker-swarm/css/clr-ui.min.css" />
<link rel="stylesheet"
href="${resURL}/plugin/docker-swarm/css/clr-icons.min.css" />
<script
src="${resURL}/plugin/docker-swarm/js/custom-elements.min.js"></script>
<script
src="${resURL}/plugin/docker-swarm/js/clr-icons.min.js"></script>
<script
src="${resURL}/plugin/docker-swarm/js/Chart.min.js"></script>
<script
src="${resURL}/plugin/docker-swarm/js/chartjs-plugin-datalabels.js"></script>
The problem is that if a jenkins instance is in a subfolder (JENKINS_OPTS /
prefix=/jenkins) it does not find the resources as they now just point to
/plugin/docker-swarm/... So it seems that either resUrl is not resolved or
it is just empty.
Can anyone please help me here?
Best Regards
Roman
--
You received this message because you are subscribed to the Google Groups
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-dev/567065b5-ff53-4d83-b2b1-21830eecf78bn%40googlegroups.com.