Commit 65bd2b18 authored by Paul's avatar Paul
Browse files

Use gitStatusWrapper

parent 17cde00d
...@@ -32,6 +32,7 @@ def rocmtestnode(Map conf) { ...@@ -32,6 +32,7 @@ def rocmtestnode(Map conf) {
stage("checkout ${variant}") { stage("checkout ${variant}") {
checkout scm checkout scm
} }
gitStatusWrapper(credentialsId: 'github-app-rocm-mici', gitHubContext: "Jenkins - ${variant}", account: 'ROCmSoftwarePlatform', repo: 'AMDMIGraphX') {
pre() pre()
stage("image ${variant}") { stage("image ${variant}") {
try { try {
...@@ -48,6 +49,7 @@ def rocmtestnode(Map conf) { ...@@ -48,6 +49,7 @@ def rocmtestnode(Map conf) {
} }
} }
} }
}
} }
def rocmtest(m) { def rocmtest(m) {
def builders = [:] def builders = [:]
...@@ -136,7 +138,6 @@ rocmtest tidy: rocmnode('rocmtest') { cmake_build -> ...@@ -136,7 +138,6 @@ 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
...@@ -144,14 +145,6 @@ rocmtest tidy: rocmnode('rocmtest') { cmake_build -> ...@@ -144,14 +145,6 @@ 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,
referenceJobName: 'MLLibs/AMDMIGraphX/develop',
tools: [cmake(), clang(), sphinxBuild()]
)
}
} }
}, gcc5: rocmnode('rocmtest') { cmake_build -> }, gcc5: rocmnode('rocmtest') { cmake_build ->
stage('GCC 5 Debug') { stage('GCC 5 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