Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
MIGraphX
Commits
32f153cd
"vscode:/vscode.git/clone" did not exist on "4cccaba1f10fdb052cfdb77e659e5eb74acbe842"
Commit
32f153cd
authored
Oct 01, 2020
by
Paul
Browse files
Add try finally
parent
04600f17
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
8 deletions
+11
-8
Jenkinsfile
Jenkinsfile
+11
-8
No files found.
Jenkinsfile
View file @
32f153cd
...
@@ -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"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment