Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
takeaway
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
shuai.liu
takeaway
Commits
f7bcafcd
Commit
f7bcafcd
authored
Apr 16, 2020
by
jenkins
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
new add gitlab-ci file
parent
2350a2dd
Pipeline
#19904
failed with stage
in 17 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
35 additions
and
0 deletions
+35
-0
.gitlab-ci.yml
+35
-0
No files found.
.gitlab-ci.yml
0 → 100644
View file @
f7bcafcd
stages
:
-
test
variables
:
MAVEN_OPTS
:
"
-Dmaven.repo.local=.m2/repository"
CI_BRANCH
:
develop
CI_PROJECT
:
open-store
CI_LANGUAGE
:
java
cache
:
paths
:
-
.m2/repository/
-
.koderover
analyze
:
stage
:
test
image
:
maven3.3.9:sonar6.76-scanner3.2
script
:
-
mvn $MAVEN_OPTS clean org.jacoco:jacoco-maven-plugin:prepare-agent -f ./pom.xml -Dspring.profiles.active=dev
install org.jacoco:jacoco-maven-plugin:report -Dmaven.test.failure.ignore=true -Dmaven.test.skip=true
-
mvn $MAVEN_OPTS compile -f ./pom.xml -Dspring.profiles.active=dev -Dmaven.test.skip=true
sonar:sonar
-Dsonar.host.url=http://10.10.3.49:9000
-Dsonar.login=ac9511e5a6cfc89d2b8c41abb6be0990a4140a96
-Dsonar.gitlab.project_id=$CI_PROJECT_ID
-Dsonar.gitlab.commit_sha=$CI_COMMIT_SHA
-Dsonar.gitlab.ref_name=$CI_COMMIT_REF_NAME
-
curl -s 'http://koderover.sandload.cn/api/ac/bash?token=q5iZW8atIJtzH7qm' | CI_PROJECT=$CI_PROJECT CI_BRANCH=$CI_BRANCH CI_LANGUAGE=$CI_LANGUAGE bash
only
:
-
develop
tags
:
-
gitlab-runner-two
\ No newline at end of file
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