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 ->
}
}, hip_clang_tidy: rocmhipclangnode('rocmtest') { cmake_build ->
stage('Hip Clang Tidy') {
try {
sh '''
rm -rf build
mkdir build
......@@ -143,8 +144,10 @@ rocmtest tidy: rocmnode('rocmtest') { cmake_build ->
CXX=/opt/rocm/llvm/bin/clang++ cmake ..
make -j$(nproc) -k analyze
'''
} finally {
recordIssues aggregatingResults: true, enabledForFailure: true, tools: [cmake(), clangTidy(), cppCheck(), clang(), gcc(), sphinxBuild()]
}
}
}, gcc5: rocmnode('rocmtest') { cmake_build ->
stage('GCC 5 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