Skip to content

Commit f434346

Browse files
committed
artifact job as param
1 parent 552da1a commit f434346

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

test/groovy/LRS_libci_pipeline.groovy

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ pipeline {
1010

1111
parameters {
1212
booleanParam(name: 'REBOOT', defaultValue: false)
13+
string(name: 'ARTIFACTS', defaultValue: "D4xx_Kernel_Module_Jetson_JP6")
1314
}
1415

1516
stages {
@@ -20,7 +21,7 @@ pipeline {
2021
steps {
2122
script {
2223
copyArtifacts filter: '**/*.tar.bz2',
23-
projectName: 'D4xx_Kernel_Module_Jetson_JP6',
24+
projectName: params.ARTIFACTS,
2425
flatten: true,
2526
target: 'artifacts/'
2627
}

test/test_fps.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def test_fps(device, frames):
4949
# print(f"{frame}", end='')
5050
if last:
5151
assert frame > last, f"Repeated frame: {frame}"
52-
assert (frame - last) < 3 , f"Frames dropped between: {last} and {frame}"
52+
assert (frame - last) < 3, f"Frames dropped between: {last} and {frame}"
5353
m = re.search(r"delta:\s*(\d+\.\d+) ms", line)
5454
if m:
5555
fps = 1000 / float(m.group(1))

0 commit comments

Comments
 (0)