-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests/jenkins [FEATURE]: Add misc group
- Loading branch information
1 parent
288ef70
commit 93d138f
Showing
1 changed file
with
53 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
/* | ||
* ver_misc_tools.jenkins: Jenkins configuration script | ||
* Copyright (C) 2021 CESNET z. s. p. o. | ||
* Author(s): Jakub Cabal <[email protected]> | ||
* | ||
* SPDX-License-Identifier: BSD-3-Clause | ||
*/ | ||
|
||
// Clean previous builds | ||
library 'liberouter' | ||
cleanBuilds() | ||
|
||
// ///////////////////////////////////////////////////////////////////////////// | ||
// BASIC-VERIFICATION | ||
// ///////////////////////////////////////////////////////////////////////////// | ||
// Add engines for automatic Jenkins verifications into the following list | ||
// FORMAT: | ||
// [ 'name', 'path_to_ver', 'script.fdo' ], | ||
def COMPONENTS_VER = [\ | ||
] | ||
// ///////////////////////////////////////////////////////////////////////////// | ||
|
||
// ///////////////////////////////////////////////////////////////////////////// | ||
// MULTI-VERIFICATION | ||
// ///////////////////////////////////////////////////////////////////////////// | ||
// Add engines for automatic Jenkins verifications into the following list | ||
// FORMAT: | ||
// [ 'name' , 'path_to_ver' , 'fdo_file.fdo' , 'test_pkg.sv/.vhd' , 'settings.py' ] | ||
def COMPONENTS_MULTIVER = [\ | ||
] | ||
// ///////////////////////////////////////////////////////////////////////////// | ||
|
||
// ///////////////////////////////////////////////////////////////////////////// | ||
// HARP-VERIFICATION | ||
// ///////////////////////////////////////////////////////////////////////////// | ||
// Add engines for automatic Jenkins verifications into the following list | ||
// FORMAT: | ||
// [ 'name' , 'path_to_comp' ], | ||
def COMPONENTS_HARP = [\ | ||
['HISTOGRAMER', 'comp/debug/histogramer'],\ | ||
] | ||
|
||
// Run component verifications using common script | ||
node('preklad') { | ||
lock(label:"resources-${env.NODE_NAME}", quantity: 1) { | ||
// fetch sources from GIT | ||
checkout scm | ||
def common_run = load "tests/jenkins/common.jenkins" | ||
common_run.commonPrekladHarpRun(COMPONENTS_HARP) | ||
//common_run.commonPrekladVerRun(COMPONENTS_VER) | ||
//common_run.commonPrekladMultiVerRun(COMPONENTS_MULTIVER) | ||
} | ||
} |