Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Nicolo Parmiggiani
test_CI
Commits
8c842e1b
Commit
8c842e1b
authored
Nov 26, 2021
by
Nicolo Parmiggiani
Browse files
Update .gitlab-ci.yml
parent
462acf31
Pipeline
#8703
passed with stages
in 56 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
8c842e1b
...
...
@@ -123,27 +123,27 @@ secondpipe:
# - ls -la test_ci3
job:on-schedule:
rules
:
-
if
:
$CI_PIPELINE_SOURCE == "schedule"
stage
:
build
script
:
-
echo "Hello, Scheduled job"
#
job:on-schedule:
#
rules:
#
- if: $CI_PIPELINE_SOURCE == "schedule"
#
stage: build
#
script:
#
- echo "Hello, Scheduled job"
build-job
:
rules
:
-
if
:
$CI_PIPELINE_SOURCE == "push"
stage
:
build
script
:
-
echo "Hello, $GITLAB_USER_LOGIN!"
#
build-job:
#
rules:
#
- if: $CI_PIPELINE_SOURCE == "push"
#
stage: build
#
script:
#
- echo "Hello, $GITLAB_USER_LOGIN!"
test-job
:
rules
:
-
if
:
$CI_PIPELINE_SOURCE == "push"
when
:
manual
stage
:
test
script
:
-
echo "test 1"
#
test-job:
#
rules:
#
- if: $CI_PIPELINE_SOURCE == "push"
#
when: manual
#
stage: test
#
script:
#
- echo "test 1"
#test-job1:
# stage: test
...
...
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