File tree Expand file tree Collapse file tree 4 files changed +14
-12
lines changed
Expand file tree Collapse file tree 4 files changed +14
-12
lines changed Original file line number Diff line number Diff line change @@ -58,18 +58,23 @@ jobs:
5858 chmod +x tests-ci/sonar.sh
5959 ./tests-ci/sonar.sh
6060 - name : ' Analysis: SonarCloud'
61- if : github.repository == 'jhipster/jhipster-lite -extension' && github.ref == 'refs/heads/main'
61+ if : github.repository == 'seed4j/seed4j-sample -extension' && github.ref == 'refs/heads/main'
6262 env :
6363 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
6464 SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
65- run : ./mvnw initialize sonar:sonar -Dsonar.host.url=https://sonarcloud.io -Dsonar.projectKey=jhipster_jhipster-lite-extension -Dsonar.organization=jhipster -Dsonar.login= -Dsonar.password=
65+ run : |
66+ ./mvnw initialize sonar:sonar \
67+ -Dsonar.host.url=https://sonarcloud.io \
68+ -Dsonar.projectKey=seed4j_seed4j-sample-extension \
69+ -Dsonar.organization=seed4j \
70+ -Dsonar.token=$SONAR_TOKEN
6671 - name : ' Test: generate sample app'
6772 run : |
6873 ./tests-ci/start.sh
6974 ./tests-ci/generate.sh fullapp maven yaml
7075 ./tests-ci/stop.sh
7176 - name : ' Test: verify generated sample app'
72- working-directory : /tmp/jhlite /fullapp/
77+ working-directory : /tmp/seed4j /fullapp/
7378 run : |
7479 if [ -f 'mvnw' ]; then
7580 ./mvnw clean verify
Original file line number Diff line number Diff line change 11# JHLite Extension Sample
22
3- [ ![ Build Status] [ github-actions-jhlextension- image ]] [ github-actions-url ]
3+ [ ![ Build Status] [ github-actions-image ]] [ github-actions-url ]
44
55## Prerequisites
66
@@ -55,5 +55,5 @@ docker compose -f src/main/docker/sonar.yml up -d
5555
5656<!-- jhipster-needle-documentation -->
5757
58- [ github-actions-jhlextension- image ] : https://github.com/jhipster/jhipster-lite -extension/workflows/build/badge.svg
59- [ github-actions-url ] : https://github.com/jhipster/jhipster-lite -extension/actions
58+ [ github-actions-image ] : https://github.com/seed4j/seed4j-sample -extension/workflows/build/badge.svg
59+ [ github-actions-url ] : https://github.com/seed4j/seed4j-sample -extension/actions
Original file line number Diff line number Diff line change 1- sonar.projectKey =jhliteExtensionSample
2- sonar.projectName =JHLite Extension Sample
3- # used for local sonarqube Docker image
4- sonar.login =admin
5- sonar.password =admin
1+ sonar.projectKey =seed4jSampleExtension
2+ sonar.projectName =Seed4J Sample Extension
63
74sonar.sources =src/main/
85sonar.tests =src/test/
Original file line number Diff line number Diff line change 11{
2- "projectFolder" : " /tmp/jhlite /APP_NAME" ,
2+ "projectFolder" : " /tmp/seed4j /APP_NAME" ,
33 "commit" : true ,
44 "parameters" : {
55 "projectName" : " Chips Project" ,
You can’t perform that action at this time.
0 commit comments