Skip to content
GitLab
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
5a673165
Commit
5a673165
authored
Oct 06, 2021
by
Nicolo Parmiggiani
Browse files
Update .gitlab-ci.yml
parent
cbb95ff1
Pipeline
#2464
failed
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
5a673165
...
@@ -110,12 +110,23 @@ sonarqube-check:
...
@@ -110,12 +110,23 @@ sonarqube-check:
# - ls -la test_ci3
# - ls -la test_ci3
job:on-schedule:
rules
:
-
if
:
$CI_PIPELINE_SOURCE == "schedule"
stage
:
build
script
:
-
echo "Hello, Scheduled job"
build-job
:
build-job
:
rules
:
-
if
:
$CI_PIPELINE_SOURCE = "push"
stage
:
build
stage
:
build
script
:
script
:
-
echo "Hello, $GITLAB_USER_LOGIN!"
-
echo "Hello, $GITLAB_USER_LOGIN!"
test-job
:
test-job
:
rules
:
-
if
:
$CI_PIPELINE_SOURCE = "push"
stage
:
test
stage
:
test
script
:
script
:
-
echo "test 1"
-
echo "test 1"
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment