Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Joseph Mirabel
test
Commits
b8dfeb91
Commit
b8dfeb91
authored
May 16, 2018
by
Joseph Mirabel
Committed by
Joseph Mirabel
May 18, 2018
Browse files
Test
parent
2171dab8
Pipeline
#764
failed with stages
in 38 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
b8dfeb91
variables
:
GIT_SSL_NO_VERIFY
:
"
true"
DEVEL_DIR
:
"
$CI_PROJECT_DIR"
image
:
ubuntu:14.04
build
:
stage
:
build
script
:
-
export DEVEL_DIR=`pwd`
-
mkdir $DEVEL_DIR/foo
-
echo "foo" > $DEVEL_DIR/foo/bar
artifacts
:
...
...
@@ -18,5 +18,10 @@ test:
-
build
stage
:
test
script
:
-
ls foo
-
cat foo/bar
-
ls $DEVEL_DIR/foo
-
set +e
-
failed=0
-
cat not_a_valid_file || failed=1
-
cat $DEVEL_DIR/foo/bar
-
set -e
-
exit $failed
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