UNCLASSIFIED
Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Ironbank Plugins
Mattermost Admin Plugin
Commits
69fc5b20
Commit
69fc5b20
authored
Jun 10, 2021
by
Ajith Gudem
Browse files
Add sleep after delete and add
parent
671e7a9a
Pipeline
#308238
passed with stages
in 6 minutes and 13 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
install-mattermost-plugin.sh
install-mattermost-plugin.sh
+2
-2
No files found.
install-mattermost-plugin.sh
View file @
69fc5b20
...
...
@@ -36,11 +36,11 @@ echo " enabled: $enabled";
# if creds successfully stored, then delete the plugin by ID (we don't care if it fails or not)
result
=
$(
/mattermost/bin/mmctl plugin delete
${
PLUGIN_ID
}
)
sleep
3
if
[[
$enabled
==
"true"
]]
;
then
# install the plugin with the tar.gz file
result
=
$(
/mattermost/bin/mmctl plugin add
${
PLUGIN_ARTIFACT
}
--format
json
)
sleep
3
# if the install was successful, then enable it
result
=
$(
/mattermost/bin/mmctl plugin
enable
${
PLUGIN_ID
}
--format
json
)
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