"vscode:/vscode.git/clone" did not exist on "4cccaba1f10fdb052cfdb77e659e5eb74acbe842"
Commit 32f153cd authored by Paul's avatar Paul
Browse files

Add try finally

parent 04600f17
...@@ -136,6 +136,7 @@ rocmtest tidy: rocmnode('rocmtest') { cmake_build -> ...@@ -136,6 +136,7 @@ rocmtest tidy: rocmnode('rocmtest') { cmake_build ->
} }
}, hip_clang_tidy: rocmhipclangnode('rocmtest') { cmake_build -> }, hip_clang_tidy: rocmhipclangnode('rocmtest') { cmake_build ->
stage('Hip Clang Tidy') { stage('Hip Clang Tidy') {
try {
sh ''' sh '''
rm -rf build rm -rf build
mkdir build mkdir build
...@@ -143,8 +144,10 @@ rocmtest tidy: rocmnode('rocmtest') { cmake_build -> ...@@ -143,8 +144,10 @@ rocmtest tidy: rocmnode('rocmtest') { cmake_build ->
CXX=/opt/rocm/llvm/bin/clang++ cmake .. CXX=/opt/rocm/llvm/bin/clang++ cmake ..
make -j$(nproc) -k analyze make -j$(nproc) -k analyze
''' '''
} finally {
recordIssues aggregatingResults: true, enabledForFailure: true, tools: [cmake(), clangTidy(), cppCheck(), clang(), gcc(), sphinxBuild()] recordIssues aggregatingResults: true, enabledForFailure: true, tools: [cmake(), clangTidy(), cppCheck(), clang(), gcc(), sphinxBuild()]
} }
}
}, gcc5: rocmnode('rocmtest') { cmake_build -> }, gcc5: rocmnode('rocmtest') { cmake_build ->
stage('GCC 5 Debug') { stage('GCC 5 Debug') {
cmake_build("g++-5", "-DCMAKE_BUILD_TYPE=debug") cmake_build("g++-5", "-DCMAKE_BUILD_TYPE=debug")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment