2
2
3
3
flags = gitParseFlags()
4
4
5
- dockerConfig = getDockerConfig([' MATLAB' ,' Vivado' ], matlabHSPro= false )
5
+ dockerConfig = getDockerConfig([' MATLAB' ,' Vivado' , ' Internal ' ], matlabHSPro= false )
6
6
dockerConfig. add(" -e MLRELEASE=R2023b" )
7
7
dockerHost = ' docker'
8
8
@@ -32,7 +32,7 @@ stage("Build Toolbox") {
32
32
}
33
33
}
34
34
if (branchName == ' hdl_2022_r2' ) {
35
- stash includes : ' ** ' , name : ' builtSources' , useDefaultExcludes : false
35
+ local_stash( ' builtSources' )
36
36
archiveArtifacts artifacts : ' hdl/*' , followSymlinks : false , allowEmptyArchive : true
37
37
}
38
38
}
@@ -55,7 +55,7 @@ cstage("HDL Tests", "", flags) {
55
55
branchName ->
56
56
withEnv([' BOARD=' + branchName]) {
57
57
cstage(" Source" , branchName, flags) {
58
- unstash " builtSources"
58
+ local_unstash( ' builtSources' )
59
59
sh ' make -C ./CI/scripts test'
60
60
junit testResults : ' test/*.xml' , allowEmptyResults : true
61
61
archiveArtifacts artifacts : ' test/logs/*' , followSymlinks : false , allowEmptyArchive : true
@@ -69,7 +69,7 @@ cstage("HDL Tests", "", flags) {
69
69
}
70
70
*/
71
71
cstage(" Installer" , branchName, flags) {
72
- unstash " builtSources"
72
+ local_unstash( ' builtSources' )
73
73
sh ' rm -rf hdl'
74
74
sh ' make -C ./CI/scripts test_installer'
75
75
junit testResults : ' test/*.xml' , allowEmptyResults : true
@@ -96,7 +96,7 @@ for (int i=0; i < demoNames.size(); i++) {
96
96
stage(demo) {
97
97
echo " Node: ${ env.NODE_NAME} "
98
98
echo " Demo: ${ env.DEMO} "
99
- unstash " builtSources"
99
+ local_unstash( ' builtSources' )
100
100
sh ' make -C ./CI/scripts test_targeting_demos'
101
101
junit testResults : ' test/*.xml' , allowEmptyResults : true
102
102
archiveArtifacts artifacts : ' test/*' , followSymlinks : false , allowEmptyArchive : true
@@ -117,7 +117,7 @@ parallel deployments
117
117
node(' baremetal' ) {
118
118
stage(" NonHW Tests" ) {
119
119
stage(" NonHW" ) {
120
- unstash " builtSources"
120
+ local_unstash( ' builtSources' )
121
121
sh ' make -C ./CI/scripts run_NonHWTests'
122
122
}
123
123
}
@@ -132,7 +132,7 @@ cstage("Build Deployable Apps", "", flags) {
132
132
branchName ->
133
133
withEnv([' APP=' + branchName]) {
134
134
cstage(" Build DApps" , branchName, flags) {
135
- unstash " builtSources"
135
+ local_unstash( ' builtSources' )
136
136
sh ' make -C ./CI/scripts ${APP}'
137
137
archiveArtifacts artifacts : ' trx_examples/streaming/LTE_PA_App/LTEPAinstaller/*.exe' , followSymlinks : false , allowEmptyArchive : true
138
138
archiveArtifacts artifacts : ' trx_examples/streaming/LTE_PA_App/LTEPAinstaller/*.install' , followSymlinks : false , allowEmptyArchive : true
@@ -149,7 +149,7 @@ cstage("Hardware Streaming Tests", "", flags) {
149
149
dockerParallelBuild(classNames, dockerHost, dockerConfig) {
150
150
branchName ->
151
151
withEnv([' HW=' + branchName]) {
152
- unstash " builtSources"
152
+ local_unstash( " builtSources" )
153
153
sh ' echo ${HW}'
154
154
// sh 'make -C ./CI/scripts test_streaming'
155
155
}
@@ -160,7 +160,7 @@ cstage("Hardware Streaming Tests", "", flags) {
160
160
161
161
node(' baremetal || lab_b5' ) {
162
162
cstage(' Deploy Development' , " " , flags) {
163
- unstash " builtSources"
163
+ local_unstash( " builtSources" )
164
164
uploadArtifactory(' TransceiverToolbox' ,' *.mltbx' )
165
165
}
166
166
}
0 commit comments