Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
portal-backend
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
HBP Medical Informatics Platform
portal-backend
Commits
231e8e2f
Commit
231e8e2f
authored
8 years ago
by
Mirco Nasuti
Browse files
Options
Downloads
Patches
Plain Diff
run maven sonar plugin at build time
parent
8fe7b7e5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
config/application.yml
+1
-1
1 addition, 1 deletion
config/application.yml
pom.xml
+1
-1
1 addition, 1 deletion
pom.xml
src/docker/build/build-in-docker.sh
+4
-4
4 additions, 4 deletions
src/docker/build/build-in-docker.sh
with
6 additions
and
6 deletions
config/application.yml
+
1
−
1
View file @
231e8e2f
#
ONLY FOR DEVELOPMENT -
Configuration for the portal running inside a Docker container
# Configuration
template
for the portal running inside a Docker container
spring
:
datasource
:
...
...
This diff is collapsed.
Click to expand it.
pom.xml
+
1
−
1
View file @
231e8e2f
...
...
@@ -20,7 +20,7 @@
<properties>
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
<sonar.host.url>
http://
172.24.0.1:9083
/sonarqube/
</sonar.host.url>
<sonar.host.url>
http
s
://
hbps1.chuv.ch
/sonarqube/
</sonar.host.url>
<sonar.projectName>
MIP portal-backend
</sonar.projectName>
<sonar.sources>
src/main/java/
</sonar.sources>
<java.version>
1.8
</java.version>
...
...
This diff is collapsed.
Click to expand it.
src/docker/build/build-in-docker.sh
+
4
−
4
View file @
231e8e2f
...
...
@@ -6,8 +6,8 @@ rm -rf target/
echo
"Packaging..."
mvn package
#
echo "Adding HBPS1 certificate to key store..."
#
yes | keytool -import -trustcacerts -alias hbps1.chuv.ch -file /hbps1.crt -storepass 'changeit' -keystore $JAVA_HOME/jre/lib/security/cacerts
echo
"Adding HBPS1 certificate to key store..."
yes
| keytool
-import
-trustcacerts
-alias
hbps1.chuv.ch
-file
/hbps1.crt
-storepass
'changeit'
-keystore
$JAVA_HOME
/jre/lib/security/cacerts
#
echo "Running Sonar analysis"
#
mvn sonar:sonar
echo
"Running Sonar analysis"
mvn sonar:sonar
This diff is collapsed.
Click to expand it.
Preview
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!
Save comment
Cancel
Please
register
or
sign in
to comment