Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Carlos Ribas
rnacentral-webcode
Commits
7f44d3ba
Commit
7f44d3ba
authored
Jul 22, 2021
by
carlosribas
Browse files
Remove bracket
parent
ea599970
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
jenkins/k8-test.jenkinsfile
jenkins/k8-test.jenkinsfile
+2
-1
No files found.
jenkins/k8-test.jenkinsfile
View file @
7f44d3ba
...
...
@@ -68,7 +68,8 @@ pipeline {
# clear the cache
MEMCACHED=`/net/isilonP/public/rw/homes/xfm_adm/.jenkins/kubectl --kubeconfig=${config} get pod -n dev --no-headers | grep memcached`
if [[ $MEMCACHED == memcached* ]] then
echo $MEMCACHED
if [ $MEMCACHED == memcached* ]; then
POD=`/net/isilonP/public/rw/homes/xfm_adm/.jenkins/kubectl --kubeconfig=${config} get pod -l app=memcached -o jsonpath="{.items[0].metadata.name}"`
/net/isilonP/public/rw/homes/xfm_adm/.jenkins/kubectl --kubeconfig=${config} exec -it \$POD -- sh -c "echo flush_all | nc localhost 11211"
fi
...
...
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