Skip to content

Commit

Permalink
Add NX, new naming and propagating device type
Browse files Browse the repository at this point in the history
Signed-off-by: Mariia Azbeleva <mariia.azbeleva@unikie.com>
  • Loading branch information
azbeleva authored and vjuntunen committed Sep 1, 2023
1 parent 5dd17a4 commit eebe0d1
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions Jenkinsfiles/hw_test_set
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,20 @@ pipeline {

// Check for which agent and which target device
if ("${params.label}" == "tc-agent02"){
if (params.device == "Orin"){
deviceName = 'ORIN1'
} else if (params.device == "NUC"){
if (params.device == "orin-agx"){
deviceName = 'OrinAGX1'
} else if (params.device == "nuc"){
deviceName = 'NUC1'
} else if (params.device == "orin-nx"){
deviceName = 'OrinNX1'
}
} else if ("${params.label}" == "tc-agent03"){
if (params.device == "Orin"){
deviceName = 'ORIN2'
} else if (params.device == "NUC"){
if (params.device == "orin-agx"){
deviceName = 'OrinAGX2'
} else if (params.device == "nuc"){
deviceName = 'NUC2'
} else if (params.device == "orin-nx"){
deviceName = 'OrinNX2'
}
}
echo "DEVICE: ${deviceName}"
Expand Down Expand Up @@ -133,7 +137,8 @@ pipeline {
parameters: [
[$class: 'StringParameterValue', name: 'RF_SUITE', value: "${batSuite}"],
[$class: 'StringParameterValue', name: 'DESCRIPTION', value: "${params.server} buildID: ${params.buildID}"],
[$class: 'StringParameterValue', name: 'DEVICE_NAME', value: "${deviceName}"]
[$class: 'StringParameterValue', name: 'DEVICE_NAME', value: "${deviceName}"],
[$class: 'StringParameterValue', name: 'INCLD_TAG', value: "${params.device}"]
]
)
// copy report and log
Expand Down

0 comments on commit eebe0d1

Please sign in to comment.