Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Docker Build Images
scripts
Commits
ebdc3429
Commit
ebdc3429
authored
Nov 28, 2019
by
Markus Frosch
Browse files
deb: Add ICINGA_BUILD_CLEANUP flag
parent
69195f41
Pipeline
#7411
passed with stage
in 31 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
icinga-build-deb-binary
View file @
ebdc3429
...
...
@@ -91,8 +91,10 @@ echo "[ Running Lintian ]"
lintian |
tee
../lintian-binary.log
)
||
[
"
${
ICINGA_BUILD_IGNORE_LINT
}
"
-eq
1
]
echo
"[ Cleanup Build Directory ]"
(
set
-ex
rm
-rf
"
${
BUILDDIR
:?
}
/
${
ICINGA_BUILD_PROJECT
}
/"
)
if
[
"
${
ICINGA_BUILD_CLEANUP
:
=1
}
"
-gt
0
]
;
then
echo
"[ Cleanup Build Directory ]"
(
set
-ex
rm
-rf
"
${
BUILDDIR
:?
}
/
${
ICINGA_BUILD_PROJECT
}
/"
)
fi
Write
Preview
Supports
Markdown
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