Skip to content
Snippets Groups Projects
Commit 8b44dce2 authored by Dan Gitschooldude's avatar Dan Gitschooldude
Browse files

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!14Resolve "Demonstrate job triggers"
Pipeline #64252212 passed
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment