From 4ca87cc68bf4a49e2dc770737e94293bec8daa6d Mon Sep 17 00:00:00 2001 From: Pagadarai Date: Fri, 18 Aug 2023 12:25:15 -0400 Subject: [PATCH 1/3] Updated Jenkins file to build AD9208 design outside docker CI: skip=HDL Tests;skip=NonHW Tests;skip=Hardware Streaming Tests Signed-off-by: Pagadarai --- Jenkinsfile | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index d2e0f87b..75480687 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -39,7 +39,7 @@ stage("Build Toolbox") { ///////////////////////////////////////////////////// -boardNames = ['daq2','ad9081','ad9434','ad9739a','ad9265', 'fmcjesdadc1','ad9783','ad9208'] +boardNames = ['daq2','ad9081','ad9434','ad9739a','ad9265', 'fmcjesdadc1','ad9783'] dockerConfig.add("-e HDLBRANCH=hdl_2021_r2") cstage("HDL Tests", "", flags) { @@ -64,6 +64,32 @@ cstage("HDL Tests", "", flags) { ///////////////////////////////////////////////////// +///////////////////////////////////////////////////// + +def deployments = [:]; +def board = 'ad9208'; +def nodeLabel = 'baremetal && high_memory'; +deployments[board] = { node(nodeLabel) { + stage("Baremetal HDL Test") { + withEnv(['BOARD='+board,'MLRELEASE=R2022b','HDLBRANCH=hdl_2021_r2','LC_ALL=C.UTF-8','LANG=C.UTF-8']) { + try { + stage("AD9208 HDL Test") { + echo "Node: ${env.NODE_NAME}" + unstash "builtSources" + sh 'make -C ./CI/scripts test' + junit testResults: 'test/*.xml', allowEmptyResults: true + archiveArtifacts artifacts: 'test/logs/*', followSymlinks: false, allowEmptyArchive: true + } + } + finally { + cleanWs(); + } + } + } +}} + +///////////////////////////////////////////////////// + boardNames = ['NonHW'] cstage("NonHW Tests", "", flags) { From 811a5a54886b97354e9824e8dd9f38304da66bc0 Mon Sep 17 00:00:00 2001 From: Pagadarai Date: Fri, 18 Aug 2023 12:37:16 -0400 Subject: [PATCH 2/3] Minor update to Jenkinsfile to build AD9208 design outside docker CI: skip=HDL Tests;skip=NonHW Tests;skip=Hardware Streaming Tests Signed-off-by: Pagadarai --- Jenkinsfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 75480687..f667ee2c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -64,13 +64,15 @@ cstage("HDL Tests", "", flags) { ///////////////////////////////////////////////////// +parallel deployments + ///////////////////////////////////////////////////// def deployments = [:]; def board = 'ad9208'; def nodeLabel = 'baremetal && high_memory'; deployments[board] = { node(nodeLabel) { - stage("Baremetal HDL Test") { + cstage("Baremetal HDL Test", "", flags) { withEnv(['BOARD='+board,'MLRELEASE=R2022b','HDLBRANCH=hdl_2021_r2','LC_ALL=C.UTF-8','LANG=C.UTF-8']) { try { stage("AD9208 HDL Test") { From 14a54716cde171dd708cce842882c38c7997d582 Mon Sep 17 00:00:00 2001 From: Pagadarai Date: Fri, 18 Aug 2023 15:47:33 -0400 Subject: [PATCH 3/3] Update to Jenkinsfile to build AD9208 design outside docker CI: skip=HDL Tests;skip=NonHW Tests;skip=Hardware Streaming Tests Signed-off-by: Pagadarai --- Jenkinsfile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index f667ee2c..fdc10f0f 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -64,10 +64,6 @@ cstage("HDL Tests", "", flags) { ///////////////////////////////////////////////////// -parallel deployments - -///////////////////////////////////////////////////// - def deployments = [:]; def board = 'ad9208'; def nodeLabel = 'baremetal && high_memory'; @@ -75,7 +71,7 @@ deployments[board] = { node(nodeLabel) { cstage("Baremetal HDL Test", "", flags) { withEnv(['BOARD='+board,'MLRELEASE=R2022b','HDLBRANCH=hdl_2021_r2','LC_ALL=C.UTF-8','LANG=C.UTF-8']) { try { - stage("AD9208 HDL Test") { + cstage("AD9208 HDL Test", "", flags) { echo "Node: ${env.NODE_NAME}" unstash "builtSources" sh 'make -C ./CI/scripts test' @@ -90,6 +86,8 @@ deployments[board] = { node(nodeLabel) { } }} +parallel deployments + ///////////////////////////////////////////////////// boardNames = ['NonHW']