Skip to content

Commit

Permalink
Merge pull request #471 from tagoylo/jenkinsfile-update
Browse files Browse the repository at this point in the history
Jenkinsfile update
  • Loading branch information
tfcollins authored Aug 23, 2023
2 parents 5152336 + 3717525 commit c8e5e80
Showing 1 changed file with 5 additions and 13 deletions.
18 changes: 5 additions & 13 deletions JenkinsfileHW
Original file line number Diff line number Diff line change
Expand Up @@ -5,29 +5,21 @@ lock(label: 'adgt_test_harness_boards') {
def linuxBranch = "NA"
def bootPartitionBranch = "master"
def jenkins_job_trigger = "ci"
def firmwareVersion = 'v0.34'
def firmwareVersion = 'v0.37'
def bootfile_source = 'artifactory' // options: sftp, artifactory, http, local
def harness = getGauntlet(hdlBranch, linuxBranch, bootPartitionBranch, firmwareVersion, bootfile_source)

//Update repos
harness.set_env('nebula_repo', 'https://github.com/sdgtt/nebula.git')
harness.set_env('nebula_branch','dev')
harness.set_env('telemetry_repo', 'https://github.com/sdgtt/telemetry.git')
harness.set_env('telemetry_branch', 'master')

def pyadi_branch = scm.branches.first().getExpandedName(env.getEnvironment())
harness.set_env('pyadi_iio_branch', pyadi_branch.toString())

//Update nebula config from netbox
harness.set_update_nebula_config(true)
harness.set_env('nebula_config_source','netbox')
harness.set_env('netbox_ip','192.168.10.11')
harness.set_env('netbox_ip','primary.englab')
harness.set_env('netbox_port','8000')
harness.set_env('netbox_base_url','netbox')
withCredentials([string(credentialsId: 'netbox_token', variable: 'TOKEN')]) {
harness.set_env('netbox_token', TOKEN)
}
harness.set_env('netbox_devices_tag','active')

//update first the agent with the required deps
harness.set_required_agent(["sdg-nuc-01","sdg-nuc-02"])
harness.update_agents()
Expand All @@ -36,11 +28,11 @@ lock(label: 'adgt_test_harness_boards') {
harness.set_nebula_debug(true)
harness.set_enable_docker(true)
harness.set_docker_host_mode(true)
harness.set_send_telemetry(true)
harness.set_send_telemetry(false)
harness.set_log_artifacts(false)
harness.set_log_jira(false)
harness.set_enable_resource_queuing(true)
harness.set_elastic_server('192.168.10.11')
harness.set_elastic_server('primary.englab')
harness.set_docker_args(['Vivado'])
harness.set_nebula_local_fs_source_root("artifactory.analog.com")

Expand Down

0 comments on commit c8e5e80

Please sign in to comment.