mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-04-19 03:10:48 +02:00
gitlab-ci: avoid clean step in "run-test.sh" for manual invocation
When we run `NM_TEST_SELECT_RUN=x ./.gitlab-ci/run-test.sh` to run one step only, we should not do the final clean, so that the build artifacts are preserved.
This commit is contained in:
parent
8ec69afd8b
commit
1e883ab6e6
1 changed files with 12 additions and 11 deletions
|
|
@ -116,17 +116,18 @@ fi
|
|||
|
||||
###############################################################################
|
||||
|
||||
do_clean
|
||||
|
||||
if [ "$NM_BUILD_TARBALL" = 1 ]; then
|
||||
if check_run 1 ; then
|
||||
mv "$ARTIFACT_DIR/docs-html/" ./
|
||||
fi
|
||||
if check_run 8 ; then
|
||||
mv \
|
||||
"$ARTIFACT_DIR"/NetworkManager-1*.tar.xz \
|
||||
"$ARTIFACT_DIR"/NetworkManager-1*.src.rpm \
|
||||
./
|
||||
if [ -z "$NM_TEST_SELECT_RUN" ] ; then
|
||||
do_clean
|
||||
if [ "$NM_BUILD_TARBALL" = 1 ]; then
|
||||
if check_run 1 ; then
|
||||
mv "$ARTIFACT_DIR/docs-html/" ./
|
||||
fi
|
||||
if check_run 8 ; then
|
||||
mv \
|
||||
"$ARTIFACT_DIR"/NetworkManager-1*.tar.xz \
|
||||
"$ARTIFACT_DIR"/NetworkManager-1*.src.rpm \
|
||||
./
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue