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
1399174f
Commit
1399174f
authored
Oct 03, 2023
by
Chris Austen
Browse files
learning lang
parent
ca4b7111
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
8 deletions
+10
-8
Jenkinsfile
Jenkinsfile
+10
-8
No files found.
Jenkinsfile
View file @
1399174f
...
@@ -61,6 +61,15 @@ def getDockerImage(Map conf=[:])
...
@@ -61,6 +61,15 @@ def getDockerImage(Map conf=[:])
return
[
dockerImage
,
image
]
return
[
dockerImage
,
image
]
}
}
def
show_node_info
()
{
sh
"""
echo "NODE_NAME = \$NODE_NAME"
lsb_release -sd
uname -r
cat /sys/module/amdgpu/version
ls /opt/ -la
"""
}
pipeline
{
pipeline
{
agent
none
agent
none
...
@@ -99,14 +108,7 @@ pipeline {
...
@@ -99,14 +108,7 @@ pipeline {
build_cmd
=
"Chris"
build_cmd
=
"Chris"
}
}
steps
{
steps
{
cmd
=
"""
show_node_info
()
pwd
ls -l /
/opt/rocm/bin/rocm-smi
"""
sh
cmd
,
label:
" from Hip Tidy"
sh
script:
"echo hi mom"
,
label:
"my step"
}
}
}
}
stage
(
'Clang Format'
)
{
stage
(
'Clang Format'
)
{
...
...
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