Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Primary navigation
Search or go to…
Project
hello
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
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
Privacy statement
Keyboard shortcuts
?
What's new
6
Snippets
Groups
Projects
Show more breadcrumbs
Dan Gitschooldude
hello
Commits
8b44dce2
You need to sign in or sign up before continuing.
Commit
8b44dce2
authored
5 years ago
by
Dan Gitschooldude
Browse files
Options
Downloads
Patches
Plain Diff
Restrict jobs to run only for <issue-num>-<description> branch naming
Refs
#6
parent
774c7465
No related branches found
No related tags found
1 merge request
!14
Resolve "Demonstrate job triggers"
Pipeline
#64252212
passed
5 years ago
Stage: Build
Stage: Run
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+6
-0
6 additions, 0 deletions
.gitlab-ci.yml
with
6 additions
and
0 deletions
.gitlab-ci.yml
+
6
−
0
View file @
8b44dce2
...
...
@@ -3,6 +3,8 @@ stages:
-
Run
Build code
:
only
:
-
/^[0-9]+-.*$/
image
:
gcc
stage
:
Build
script
:
...
...
@@ -12,12 +14,16 @@ Build code:
-
hello
Nominal Run
:
only
:
-
/^[0-9]+-.*$/
image
:
gcc
stage
:
Run
script
:
-
./hello
Cmd-line Run
:
only
:
-
/^[0-9]+-.*$/
image
:
gcc
stage
:
Run
script
:
...
...
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