Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
test_gitlabCI
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
NMPP-MHD-group
archive
test_gitlabCI
Commits
adf38f3d
There was a problem fetching the pipeline summary.
Commit
adf38f3d
authored
8 years ago
by
Florian Hindenlang
Browse files
Options
Downloads
Patches
Plain Diff
gitlab-ci after script
parent
06eca606
No related branches found
No related tags found
No related merge requests found
Pipeline
#
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+15
-1
15 additions, 1 deletion
.gitlab-ci.yml
with
15 additions
and
1 deletion
.gitlab-ci.yml
+
15
−
1
View file @
adf38f3d
...
@@ -5,7 +5,17 @@ stages:
...
@@ -5,7 +5,17 @@ stages:
# ---------------------------------------------------------------------------------------------------------------------------------
# ---------------------------------------------------------------------------------------------------------------------------------
# Stage "build"
# Stage "build"
# Cache keeps directory for other jobs
# SHORT SYNTAX EXPLANATIONS FOR THE JOB, FOR DETAILS VISIT: ===> https://docs.gitlab.com/ce/ci/yaml/ <===
# "stage:" makes the job part of a stage defined above
# "tags:" selects the runner
# "only:" restricts the execution of the job to a git branch or tag
# "before_script:" shell commands to be executed before the main script.
# "script:" shell commands for the test. If a shell command exits with >0, the job is marked as "failed", else as "passed".
# commands after a failing one are not executed anymore!
# "after_script:" shell commands after passed OR failed script. Careful, the current directory is always the root of the repo!
# "artifacts:" keep data from the job which is uploaded to gitlab.com. You really should set a duration to expiration.
# "when:" can be either on_failure, on_success or always
# "cache:" keeps directories given in paths: for other jobs
# ---------------------------------------------------------------------------------------------------------------------------------
# ---------------------------------------------------------------------------------------------------------------------------------
build_debug
:
build_debug
:
stage
:
build
stage
:
build
...
@@ -15,6 +25,8 @@ build_debug:
...
@@ -15,6 +25,8 @@ build_debug:
-
rm -rf build_debug ||
true
-
rm -rf build_debug ||
true
-
mkdir -p build_debug
-
mkdir -p build_debug
-
cd ode-1 ; make clean; make DEBUG=yes 2>stdout.make 1>stderr.make
-
cd ode-1 ; make clean; make DEBUG=yes 2>stdout.make 1>stderr.make
after_script
:
-
cd ode-1 ;
-
cat stdout.make
-
cat stdout.make
-
cp rk_solve ../build_debug/.
-
cp rk_solve ../build_debug/.
-
cp std*.make ../build_debug/.
-
cp std*.make ../build_debug/.
...
@@ -32,6 +44,8 @@ build_release:
...
@@ -32,6 +44,8 @@ build_release:
-
rm -rf build_release ||
true
-
rm -rf build_release ||
true
-
mkdir -p build_release
-
mkdir -p build_release
-
cd ode-1 ; make clean; make DEBUG=no 2>stdout.make 1>stderr.make
-
cd ode-1 ; make clean; make DEBUG=no 2>stdout.make 1>stderr.make
after_script
:
-
cd ode-1 ;
-
cat stdout.make
-
cat stdout.make
-
cp rk_solve ../build_release/.
-
cp rk_solve ../build_release/.
-
cp std*.make ../build_release/.
-
cp std*.make ../build_release/.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment