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
composable_kernel
Commits
31a0516b
Commit
31a0516b
authored
Oct 31, 2023
by
illsilin
Browse files
fix groovy syntax
parent
2eb21500
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
Jenkinsfile
Jenkinsfile
+8
-5
No files found.
Jenkinsfile
View file @
31a0516b
...
@@ -263,15 +263,18 @@ def cmake_build(Map conf=[:]){
...
@@ -263,15 +263,18 @@ def cmake_build(Map conf=[:]){
echo
cmd
echo
cmd
if
(
check_host
()
&&
params
.
USE_SCCACHE
&&
"${env.CK_SCCACHE}"
!=
"null"
&&
"${invocation_tag}"
!=
""
)
{
if
(
check_host
()
&&
params
.
USE_SCCACHE
&&
"${env.CK_SCCACHE}"
!=
"null"
&&
"${invocation_tag}"
!=
""
)
{
try
{
try
{
sh
"""${redis_pre_setup_cmd}"""
def
cmd1
=
conf
.
get
(
"cmd1"
,
"""${redis_pre_setup_cmd}"""
)
sh
cmd1
}
}
catch
(
err
){
catch
(
Exception
err
){
echo
"could not connect to redis server. using local sccache."
echo
"could not connect to redis server: ${err.getMessage()}. using local sccache."
sh
"""${local_pre_setup_cmd}"""
def
cmd2
=
conf
.
get
(
"cmd2"
,
"""${local_pre_setup_cmd}"""
)
sh
cmd2
}
}
}
}
else
{
else
{
sh
"""${pre_setup_cmd}"""
def
cmd3
=
conf
.
get
(
"cmd3"
,
"""${pre_setup_cmd}"""
)
sh
cmd3
}
}
dir
(
"build"
){
dir
(
"build"
){
sh
cmd
sh
cmd
...
...
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