Skip to content

Commit 93d138f

Browse files
committed
tests/jenkins [FEATURE]: Add misc group
1 parent 288ef70 commit 93d138f

File tree

1 file changed

+53
-0
lines changed

1 file changed

+53
-0
lines changed

tests/jenkins/ver_misc_tools.jenkins

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
/*
2+
* ver_misc_tools.jenkins: Jenkins configuration script
3+
* Copyright (C) 2021 CESNET z. s. p. o.
4+
* Author(s): Jakub Cabal <[email protected]>
5+
*
6+
* SPDX-License-Identifier: BSD-3-Clause
7+
*/
8+
9+
// Clean previous builds
10+
library 'liberouter'
11+
cleanBuilds()
12+
13+
// /////////////////////////////////////////////////////////////////////////////
14+
// BASIC-VERIFICATION
15+
// /////////////////////////////////////////////////////////////////////////////
16+
// Add engines for automatic Jenkins verifications into the following list
17+
// FORMAT:
18+
// [ 'name', 'path_to_ver', 'script.fdo' ],
19+
def COMPONENTS_VER = [\
20+
]
21+
// /////////////////////////////////////////////////////////////////////////////
22+
23+
// /////////////////////////////////////////////////////////////////////////////
24+
// MULTI-VERIFICATION
25+
// /////////////////////////////////////////////////////////////////////////////
26+
// Add engines for automatic Jenkins verifications into the following list
27+
// FORMAT:
28+
// [ 'name' , 'path_to_ver' , 'fdo_file.fdo' , 'test_pkg.sv/.vhd' , 'settings.py' ]
29+
def COMPONENTS_MULTIVER = [\
30+
]
31+
// /////////////////////////////////////////////////////////////////////////////
32+
33+
// /////////////////////////////////////////////////////////////////////////////
34+
// HARP-VERIFICATION
35+
// /////////////////////////////////////////////////////////////////////////////
36+
// Add engines for automatic Jenkins verifications into the following list
37+
// FORMAT:
38+
// [ 'name' , 'path_to_comp' ],
39+
def COMPONENTS_HARP = [\
40+
['HISTOGRAMER', 'comp/debug/histogramer'],\
41+
]
42+
43+
// Run component verifications using common script
44+
node('preklad') {
45+
lock(label:"resources-${env.NODE_NAME}", quantity: 1) {
46+
// fetch sources from GIT
47+
checkout scm
48+
def common_run = load "tests/jenkins/common.jenkins"
49+
common_run.commonPrekladHarpRun(COMPONENTS_HARP)
50+
//common_run.commonPrekladVerRun(COMPONENTS_VER)
51+
//common_run.commonPrekladMultiVerRun(COMPONENTS_MULTIVER)
52+
}
53+
}

0 commit comments

Comments
 (0)