Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

integrate echarts-api plugin #197

Merged
merged 1 commit into from
May 22, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
<trove4j.version>3.0.3</trove4j.version>
<saxon-he.version>9.9.1-4</saxon-he.version>
<assertj-core.version>3.16.1</assertj-core.version>
<echarts-api.version>5.1.0-2</echarts-api.version>
<!-- Other properties you may want to use:
~ jenkins-test-harness.version: Jenkins Test Harness version you use to test the plugin. For Jenkins version >= 1.580.1 use JTH 2.0 or higher.
~ hpi-plugin.version: The HPI Maven Plugin version used by the plugin..
Expand Down Expand Up @@ -85,6 +86,11 @@
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>branch-api</artifactId>
</dependency>
<dependency>
<groupId>io.jenkins.plugins</groupId>
<artifactId>echarts-api</artifactId>
<version>${echarts-api.version}</version>
</dependency>

<!-- Test Dependencies -->
<dependency>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?jelly escape-by-default='true'?>
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler">
<script src="${rootURL}/plugin/code-coverage-api/scripts/echarts.min.js">
</script>
<script src="${rootURL}/plugin/code-coverage-api/scripts/custom-chart.js">
</script>

<st:adjunct includes="io.jenkins.plugins.echarts"/>
<script src="${rootURL}/plugin/code-coverage-api/scripts/custom-chart.js"/>

<j:set var="lastResult" value="${from.getLastResult().getResult()}"/>
<j:if test="${lastResult != null}">
<div align="bottom">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?jelly escape-by-default='true'?>
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:l="/lib/layout">
<l:layout css="/plugin/code-coverage-api/css/style.css" norefresh="true">
<script src="${rootURL}/plugin/code-coverage-api/scripts/echarts.min.js">
</script>
<script src="${rootURL}/plugin/code-coverage-api/scripts/custom-chart.js">
</script>

<st:adjunct includes="io.jenkins.plugins.echarts"/>
<script src="${rootURL}/plugin/code-coverage-api/scripts/custom-chart.js"/>

<st:include it="${it.owner}" page="sidepanel.jelly"/>
<l:main-panel>
<h1>${%Code Coverage}</h1>
Expand Down
22 changes: 0 additions & 22 deletions src/main/webapp/scripts/echarts.min.js

This file was deleted.