Skip to content

Commit

Permalink
Fix sonar analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas63 committed May 27, 2020
1 parent 311502b commit 8e72a71
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-integration-jwt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
- name: 'INSTALL AND BUILD DEPENDENCIES of generated app'
run: ./test-integration/scripts/03-install-dependencies-app-sample.sh $JHI_APP
- name: 'GENERATE JHipster.NET entities'
run: ./test-integration/scripts/04-generate-entities-sample.sh $JHI_APP
run: ./test-integration/scripts/04-generate-entities-sample.sh $JHI_APP $JHI_ARG
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,6 @@ source $(dirname $0)/01-init-env.sh
#-------------------------------------------------------------------------------
# Install app dependencies and build
#-------------------------------------------------------------------------------
if "$SONAR_ANALYSE" ; then
dotnet tool install --global dotnet-sonarscanner
dotnet tool install --global coverlet.console
dotnet sonarscanner begin /k:"jhipster_jhipster-sample-app-dotnetcore" /o:"jhipster" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.login=$SONAR_TOKEN /s:"`pwd`/SonarQube.Analysis.xml"
fi

echo "*** install dependencies and build : `pwd`"
dotnet build
if [ $? -ne 0 ]; then
Expand Down

0 comments on commit 8e72a71

Please sign in to comment.