Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
webhook-test-zsy
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张思远
webhook-test-zsy
Commits
7df21aa8
Commit
7df21aa8
authored
Dec 20, 2023
by
张思远
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
runner tags
parent
4fe02c1a
Pipeline
#155
canceled with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
.gitlab-ci.yml
.gitlab-ci.yml
+8
-0
No files found.
.gitlab-ci.yml
View file @
7df21aa8
...
...
@@ -2,11 +2,15 @@ build-job:
stage
:
build
script
:
-
echo "Hello, $GITLAB_USER_LOGIN!"
tags
:
-
test
test-job1
:
stage
:
test
script
:
-
echo "This job tests something"
tags
:
-
test
test-job2
:
stage
:
test
...
...
@@ -15,9 +19,13 @@ test-job2:
-
echo "After the echo commands complete, it runs the sleep command for 20 seconds"
-
echo "which simulates a test that runs 20 seconds longer than test-job1"
-
sleep 20
tags
:
-
test
deploy-prod
:
stage
:
deploy
script
:
-
echo "This job deploys something from the $CI_COMMIT_BRANCH branch."
environment
:
production
tags
:
-
test
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