Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
wr2rf-vme
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
5
Issues
5
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
wr2rf-vme
Commits
0bdd3e0e
Commit
0bdd3e0e
authored
Jun 13, 2023
by
Adam Wujek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.gitlab-ci.yml: copy logs on build failure
Signed-off-by:
Adam Wujek
<
dev_public@wujek.eu
>
parent
69c53d51
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
.gitlab-ci.yml
.gitlab-ci.yml
+5
-1
No files found.
.gitlab-ci.yml
View file @
0bdd3e0e
...
...
@@ -29,7 +29,7 @@ stages: # List of stages for jobs, and their order of execution
-
release
variables
:
_BITSTREAM_DEST
:
$CI_PROJECT_DIR/$
EDL_CI_EOS_OUTPUT_DIR/
bitstream
_BITSTREAM_DEST
:
$CI_PROJECT_DIR/$
{EDL_CI_EOS_OUTPUT_DIR}
bitstream
_FIRMWARE_DEST
:
$CI_PROJECT_DIR/$EDL_CI_EOS_OUTPUT_DIR/firmware
_TOOLS_DEST
:
$CI_PROJECT_DIR/$EDL_CI_EOS_OUTPUT_DIR/tools
...
...
@@ -131,6 +131,10 @@ build-wr2rf:
-
mkdir -p $_BITSTREAM_DEST
-
cp wr2rf.tar.xz $_BITSTREAM_DEST/
after_script
:
# Copy logs on failure
-
if [ "$CI_JOB_STATUS" == 'failed' ]; then mkdir -p "$_BITSTREAM_DEST"; find "$PWD" -path "$_BITSTREAM_DEST" -prune -o -name '*.log' -exec cp -prv '{}' "$_BITSTREAM_DEST/" ';'; fi
artifacts
:
name
:
"
$CI_JOB_NAME-$CI_COMMIT_SHORT_SHA-$CI_JOB_ID"
when
:
always
...
...
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