Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Orekit
Orekit
Commits
8c0fdf68
Commit
8c0fdf68
authored
Jan 21, 2021
by
Luc Maisonobe
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'sonar-target-config' into 'develop'
Sonar target configuration See merge request
orekit/orekit!125
parents
29045223
3736723b
Pipeline
#871
passed with stages
in 30 minutes and 7 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
.gitlab-ci.yml
.gitlab-ci.yml
+8
-2
No files found.
.gitlab-ci.yml
View file @
8c0fdf68
...
...
@@ -19,12 +19,18 @@ variables:
# when running from the command line.
# `installAtEnd` and `deployAtEnd` are only effective with recent version of the corresponding plugins.
MAVEN_CLI_OPTS
:
"
-s
.CI/maven-settings.xml
--batch-mode
--errors
--fail-at-end
--show-version
-DinstallAtEnd=true
-DdeployAtEnd=true"
SONAR_PROJECT_KEY
:
"
${CI_PROJECT_NAMESPACE}:${CI_PROJECT_NAME}"
SONAR_PROJECT_NAME
:
"
${CI_PROJECT_TITLE}
(${CI_PROJECT_NAMESPACE}:${CI_PROJECT_NAME})"
verify
:
stage
:
verify
script
:
-
mvn $MAVEN_CLI_OPTS verify site
-
mvn $MAVEN_CLI_OPTS sonar:sonar -Dsonar.login=${SONAR_TOKEN} -Dsonar.branch.name=${CI_COMMIT_REF_NAME}
-
mvn $MAVEN_CLI_OPTS sonar:sonar
-Dsonar.login=${SONAR_TOKEN}
-Dsonar.branch.name=${CI_COMMIT_REF_NAME}
-Dsonar.projectKey="$SONAR_PROJECT_KEY"
-Dsonar.projectName="$SONAR_PROJECT_NAME"
artifacts
:
paths
:
-
target/*.jar
...
...
@@ -65,7 +71,7 @@ deploy:site:
##
-
echo "$SSH_SECRET_KEY" > ~/.ssh/id_website
-
chmod 700 ~/.ssh/id_website
##
## Add known hosts
##
...
...
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