-
Notifications
You must be signed in to change notification settings - Fork 0
/
Timeline.dsl
53 lines (50 loc) · 1 KB
/
Timeline.dsl
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
def TimelineData = '''
[
{
"resource": "Resource One",
"label": "First",
"startDate": "2018/4/10",
"endDate": "2018/5/1"
},
{
"resource": "Resource Two",
"label": "First",
"startDate": "2018/4/20",
"endDate": "2018/5/15"
},
{
"resource": "Resource Two",
"label": "Second",
"startDate": "2018/5/20",
"endDate": "2018/5/30"
}, {
"resource": "Resource Three",
"label": "First",
"startDate": "2018/5/5",
"endDate": "2018/5/8"
}
]
'''
project "Test", {
procedure "Test - Timeline", resourceName: 'local', {
step 'name',
subproject : '/plugins/EF-ReportingTools/project',
subprocedure : 'Timeline',
actualParameter : [
jsonData: TimelineData,
reportName: "Test Timeline"
]
}
pipeline "Test - Timeline",{
stage "Test", {
task "Test",
taskType : 'PLUGIN',
subpluginKey : 'EF-ReportingTools',
subprocedure : 'Timeline',
actualParameter : [
jsonData: TimelineData,
reportName: "Test Timeline"
]
}
}
}