Skip to content

Commit

Permalink
Use network license
Browse files Browse the repository at this point in the history
Signed-off-by: Julia Pineda <[email protected]>
  • Loading branch information
jpineda3 committed Oct 13, 2023
1 parent 624c861 commit 94d7bac
Showing 1 changed file with 15 additions and 9 deletions.
24 changes: 15 additions & 9 deletions JenkinsfileHW
Original file line number Diff line number Diff line change
@@ -1,23 +1,29 @@
// Pipeline
lock(label: 'adgt_test_harness_boards') {
lock('nuc04') {
node('sdg-nuc-02'){
sh 'rm /lib/x86_64-linux-gnu/libiio.so* || true'
}

@Library('sdgtt-lib@adgt-test-harness') _ // Not necessary when we turn on global libraries :)
def hdlBranch = "NA"
def linuxBranch = "NA"
def bootPartitionBranch = "master"
def bootPartitionBranch = "2021_r2"
def firmwareVersion = 'v0.34'
def bootfile_source = 'artifactory' // options: sftp, artifactory, http, local
def harness = getGauntlet(hdlBranch, linuxBranch, bootPartitionBranch, firmwareVersion, bootfile_source)

//Update repos
//Udpate repos
harness.set_env('nebula_repo', 'https://github.com/sdgtt/nebula.git')
harness.set_env('nebula_branch','dev')
harness.set_env('nebula_config_branch','master')
// harness.set_env('libiio_branch', 'v0.25')
harness.set_env('nebula_config_branch','release')
harness.set_env('libiio_branch', 'v0.25')
// harness.set_env('telemetry_repo', 'https://github.com/sdgtt/telemetry.git')
// harness.set_env('telemetry_branch', 'master')
harness.set_env('matlab_repo', 'https://github.com/analogdevicesinc/PrecisionToolbox.git') // Not necessary when using checkout scm
harness.set_env('matlab_release','R2022b')
harness.set_matlab_timeout('5m')
harness.set_env('matlab_branch', 'main') // Not necessary when using checkout scm
harness.set_env('matlab_release','R2021b')
harness.set_env('matlab_license','network')
harness.set_matlab_timeout('15m')

//Update nebula config from netbox
harness.set_update_nebula_config(true)
Expand All @@ -36,12 +42,12 @@ lock(label: 'adgt_test_harness_boards') {

//Set other test parameters
harness.set_nebula_debug(true)
harness.set_enable_docker(true)
harness.set_docker_host_mode(true) // Set to false if using machine-specific license
harness.set_docker_host_mode(false)
harness.set_send_telemetry(false)
harness.set_log_jira(false)
harness.set_enable_resource_queuing(true)
harness.set_lock_agent(true) // Required for MATLAB toolbox tests
harness.set_lock_agent(false) // Set to true if using machine-specific license
harness.set_elastic_server('192.168.10.1')
//harness.set_required_hardware(["zynq-zed-ad7380",
// "zynq-zed-ad7768",
Expand Down

0 comments on commit 94d7bac

Please sign in to comment.