-
-
Notifications
You must be signed in to change notification settings - Fork 64
Expand file tree
/
Copy pathjobMain.jelly
More file actions
55 lines (50 loc) · 2.16 KB
/
jobMain.jelly
File metadata and controls
55 lines (50 loc) · 2.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<?jelly escape-by-default='false'?>
<!--suppress ALL -->
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout"
xmlns:t="/lib/hudson" xmlns:f="/lib/form">
<j:if test="${it.lastSynchronousBuildAction.showResults}">
<j:forEach var="result" items="${it.lastSynchronousBuildActions}">
<j:if test="${result.scanRanAsynchronous}">
<style>
.async-note{
font-size: 20px;
display:inline-block;
color: #373050;
margin-top: 40px;
margin-bottom: 40px;
border: 1px solid #373050;
padding: 20px;
vertical-align: top;
}
.async-note-title {
display: inline-block;
vertical-align: top;
width: 10%;
font-weight: bold;
}
.async-note-body {
display: inline-block;
vertical-align: top;
}
</style>
<j:if test="${result.isRemoveAsyncHtml()}">
<div id="async-note">
<div class="async-note"><div class="async-note-title">Note:</div>
<div class="async-note-body" id="async-note-body">Job is configured to run Checkmarx scan asynchronously.</div></div>
</div>
</j:if>
<j:if test="${!result.isRemoveAsyncHtml()}">
<div id="async-note">
<div class="async-note"><div class="async-note-title">Note:</div>
<div class="async-note-body" id="async-note-body">Job is configured to run Checkmarx scan asynchronously.Report generation is disabled.</div></div>
</div>
</j:if>
</j:if>
<j:if test="${!result.scanRanAsynchronous}">
<div>
${result.getHtmlReport()}
</div>
</j:if>
</j:forEach>
</j:if>
</j:jelly>