Skip to content

Commit

Permalink
Change stashing mechanism
Browse files Browse the repository at this point in the history
Signed-off-by: Travis F. Collins <[email protected]>
  • Loading branch information
tfcollins committed Nov 12, 2024
1 parent c2f1336 commit 683b509
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

flags = gitParseFlags()

dockerConfig = getDockerConfig(['MATLAB','Vivado'], matlabHSPro=false)
dockerConfig = getDockerConfig(['MATLAB','Vivado','Internal'], matlabHSPro=false)
dockerConfig.add("-e MLRELEASE=R2023b")
dockerHost = 'docker'

Expand Down Expand Up @@ -32,7 +32,7 @@ stage("Build Toolbox") {
}
}
if (branchName == 'hdl_2022_r2') {
stash includes: '**', name: 'builtSources', useDefaultExcludes: false
local_stash('builtSources')
archiveArtifacts artifacts: 'hdl/*', followSymlinks: false, allowEmptyArchive: true
}
}
Expand All @@ -55,7 +55,7 @@ cstage("HDL Tests", "", flags) {
branchName ->
withEnv(['BOARD='+branchName]) {
cstage("Source", branchName, flags) {
unstash "builtSources"
local_unstash('builtSources')
sh 'make -C ./CI/scripts test'
junit testResults: 'test/*.xml', allowEmptyResults: true
archiveArtifacts artifacts: 'test/logs/*', followSymlinks: false, allowEmptyArchive: true
Expand All @@ -69,7 +69,7 @@ cstage("HDL Tests", "", flags) {
}
*/
cstage("Installer", branchName, flags) {
unstash "builtSources"
local_unstash('builtSources')
sh 'rm -rf hdl'
sh 'make -C ./CI/scripts test_installer'
junit testResults: 'test/*.xml', allowEmptyResults: true
Expand All @@ -96,7 +96,7 @@ for (int i=0; i < demoNames.size(); i++) {
stage(demo) {
echo "Node: ${env.NODE_NAME}"
echo "Demo: ${env.DEMO}"
unstash "builtSources"
local_unstash('builtSources')
sh 'make -C ./CI/scripts test_targeting_demos'
junit testResults: 'test/*.xml', allowEmptyResults: true
archiveArtifacts artifacts: 'test/*', followSymlinks: false, allowEmptyArchive: true
Expand All @@ -117,7 +117,7 @@ parallel deployments
node('baremetal') {
stage("NonHW Tests") {
stage("NonHW") {
unstash "builtSources"
local_unstash('builtSources')
sh 'make -C ./CI/scripts run_NonHWTests'
}
}
Expand All @@ -132,7 +132,7 @@ cstage("Build Deployable Apps", "", flags) {
branchName ->
withEnv(['APP='+branchName]) {
cstage("Build DApps", branchName, flags) {
unstash "builtSources"
local_unstash('builtSources')
sh 'make -C ./CI/scripts ${APP}'
archiveArtifacts artifacts: 'trx_examples/streaming/LTE_PA_App/LTEPAinstaller/*.exe', followSymlinks: false, allowEmptyArchive: true
archiveArtifacts artifacts: 'trx_examples/streaming/LTE_PA_App/LTEPAinstaller/*.install', followSymlinks: false, allowEmptyArchive: true
Expand All @@ -149,7 +149,7 @@ cstage("Hardware Streaming Tests", "", flags) {
dockerParallelBuild(classNames, dockerHost, dockerConfig) {
branchName ->
withEnv(['HW='+branchName]) {
unstash "builtSources"
local_unstash("builtSources")
sh 'echo ${HW}'
// sh 'make -C ./CI/scripts test_streaming'
}
Expand All @@ -160,7 +160,7 @@ cstage("Hardware Streaming Tests", "", flags) {

node('baremetal || lab_b5') {
cstage('Deploy Development', "", flags) {
unstash "builtSources"
local_unstash("builtSources")
uploadArtifactory('TransceiverToolbox','*.mltbx')
}
}
Expand Down

0 comments on commit 683b509

Please sign in to comment.