Update .drone.yml
This commit is contained in:
@@ -15,9 +15,10 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- apt-get update && apt-get install -y unzip
|
- apt-get update && apt-get install -y unzip
|
||||||
- export PATH="$PATH:/root/.dotnet/tools"
|
- export PATH="$PATH:/root/.dotnet/tools"
|
||||||
- ls
|
- rm src.sln
|
||||||
# - rm Assembly-CSharp-Editor.csproj
|
# - rm Assembly-CSharp-Editor.csproj
|
||||||
- rm Assembly-CSharp.csproj
|
- rm Assembly-CSharp.csproj
|
||||||
|
- ls
|
||||||
- dotnet tool install --global dotnet-sonarscanner
|
- dotnet tool install --global dotnet-sonarscanner
|
||||||
- dotnet sonarscanner begin /k:"$SONAR_PROJECT_KEY" /d:sonar.host.url="$SONAR_HOST" /d:sonar.login="$SONAR_TOKEN" /d:sonar.branch.name="$DRONE_REPO_BRANCH" /d:sonar.analysis.mode=preview
|
- dotnet sonarscanner begin /k:"$SONAR_PROJECT_KEY" /d:sonar.host.url="$SONAR_HOST" /d:sonar.login="$SONAR_TOKEN" /d:sonar.branch.name="$DRONE_REPO_BRANCH" /d:sonar.analysis.mode=preview
|
||||||
- dotnet restore
|
- dotnet restore
|
||||||
|
|||||||
Reference in New Issue
Block a user