Skip to content

Commit

Permalink
tests/jenkins [FEATURE]: Add misc group
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasNevrkla committed Oct 27, 2024
1 parent 288ef70 commit 93d138f
Showing 1 changed file with 53 additions and 0 deletions.
53 changes: 53 additions & 0 deletions tests/jenkins/ver_misc_tools.jenkins
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)
}
}

0 comments on commit 93d138f

Please sign in to comment.