File tree Expand file tree Collapse file tree 3 files changed +12
-0
lines changed Expand file tree Collapse file tree 3 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -291,6 +291,11 @@ pipeline {
291291 }
292292 steps {
293293 dir('ws_<%= label %> _x64/build') {
294+ <% if dist == "debian" %>
295+ sh("sudo apt update; sudo apt install -y gdb");
296+ <% else %>
297+ sh("sudo yum install -y gdb");
298+ <% end %>
294299 sh("ulimit -c; cat /proc/sys/kernel/core_pattern || true")
295300 sh("ctest ${VERBOSE.toBoolean() ? '-VV' : ''}")
296301 }
@@ -452,6 +457,7 @@ pipeline {
452457 sh("sed -i s:/home/couchbase/jenkins/workspace/lcb/lcb-scripted-build-pipeline/ws_centos7_x64/build:\$(realpath .):g tests/CTestTestfile.cmake")
453458 sleep(20)
454459 timeout(time: 60, unit: 'MINUTES') {
460+ sh("sudo yum install -y gdb");
455461 sh("ulimit -c; cat /proc/sys/kernel/core_pattern || true")
456462 sh("ctest -E BUILD ${VERBOSE.toBoolean() ? '-VV' : ''}")
457463 }
Original file line number Diff line number Diff line change @@ -217,6 +217,7 @@ pipeline {
217217 }
218218 steps {
219219 dir(' ws_debian9_x64/build' ) {
220+ sh(" sudo apt update; sudo apt install -y gdb" );
220221 sh(" ulimit -c; cat /proc/sys/kernel/core_pattern || true" )
221222 sh(" ctest ${ VERBOSE.toBoolean() ? '-VV' : ''} " )
222223 }
@@ -273,6 +274,7 @@ pipeline {
273274 }
274275 steps {
275276 dir(' ws_centos7_x64/build' ) {
277+ sh(" sudo yum install -y gdb" );
276278 sh(" ulimit -c; cat /proc/sys/kernel/core_pattern || true" )
277279 sh(" ctest ${ VERBOSE.toBoolean() ? '-VV' : ''} " )
278280 }
@@ -335,6 +337,7 @@ pipeline {
335337 sh(" sed -i s:/home/couchbase/jenkins/workspace/lcb/lcb-scripted-build-pipeline/ws_centos7_x64/build:\$ (realpath .):g tests/CTestTestfile.cmake" )
336338 sleep(20 )
337339 timeout(time : 60 , unit : ' MINUTES' ) {
340+ sh(" sudo yum install -y gdb" );
338341 sh(" ulimit -c; cat /proc/sys/kernel/core_pattern || true" )
339342 sh(" ctest -E BUILD ${ VERBOSE.toBoolean() ? '-VV' : ''} " )
340343 }
Original file line number Diff line number Diff line change @@ -217,6 +217,7 @@ pipeline {
217217 }
218218 steps {
219219 dir(' ws_debian9_x64/build' ) {
220+ sh(" sudo apt update; sudo apt install -y gdb" );
220221 sh(" ulimit -c; cat /proc/sys/kernel/core_pattern || true" )
221222 sh(" ctest ${ VERBOSE.toBoolean() ? '-VV' : ''} " )
222223 }
@@ -273,6 +274,7 @@ pipeline {
273274 }
274275 steps {
275276 dir(' ws_centos7_x64/build' ) {
277+ sh(" sudo yum install -y gdb" );
276278 sh(" ulimit -c; cat /proc/sys/kernel/core_pattern || true" )
277279 sh(" ctest ${ VERBOSE.toBoolean() ? '-VV' : ''} " )
278280 }
@@ -557,6 +559,7 @@ pipeline {
557559 sh(" sed -i s:/home/couchbase/jenkins/workspace/lcb/lcb-scripted-build-pipeline/ws_centos7_x64/build:\$ (realpath .):g tests/CTestTestfile.cmake" )
558560 sleep(20 )
559561 timeout(time : 60 , unit : ' MINUTES' ) {
562+ sh(" sudo yum install -y gdb" );
560563 sh(" ulimit -c; cat /proc/sys/kernel/core_pattern || true" )
561564 sh(" ctest -E BUILD ${ VERBOSE.toBoolean() ? '-VV' : ''} " )
562565 }
You can’t perform that action at this time.
0 commit comments