You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PATH-TO-YOUR-LOCAL-INSTALL-FOLDER\SonarScanner.MSBuild.exe end /d:sonar.login=TOKEN_FOR_SONARCLOUD
54
-
```
30
+
1. Sign-in to Sonarcloud and create a new project.
31
+
1. On the repository list choose the corresponding name.
32
+
1. Choose "previous code" as the metrics analysis for new code.
33
+
1. OK to leave the rest with their defaults.
55
34
56
35
## Setup Azure DevOps
57
36
@@ -69,7 +48,7 @@ PATH-TO-YOUR-LOCAL-INSTALL-FOLDER\SonarScanner.MSBuild.exe end /d:sonar.login=TO
69
48
1. Add another variable `NbgvParameters`, leave it empty and check "Let users override this value when running this pipeline".
70
49
1. Add another variable `StartReleaseCandidate`, set the content to `false` and check "Let users override this value when running this pipeline".
71
50
1. Add another variable `UPDATE_DEPENDENTS`, set the content to `false` and check "Let users override this value when running this pipeline".
72
-
1. Add two more secret variables `SignClientUser` and `SignClientSecret` and fill in with the credentials for the .NET Foundation signing service. **Make sure** that the variables are set to `secret` by clicking on the appropriate option.
51
+
1. Add another secret variable `SignClientSecret` and fill in with the secret for the .NET Foundation signing service. **Make sure** that the variable is set to `secret` by clicking on the appropriate option.
73
52
1. Click the "Save" button on the Variables pop-up (it will take you back to the pipeline yaml).
74
53
1. Cline the "Save" button at the top right and go through the commit message.
75
54
1. Navigate back to the Pipeline, select it and click "Edit" (at the top right). Then click on the 3 vertical dots (again at the top right) and then "Triggers".
@@ -94,12 +73,11 @@ PATH-TO-YOUR-LOCAL-INSTALL-FOLDER\SonarScanner.MSBuild.exe end /d:sonar.login=TO
94
73
- assets\readme.txt
95
74
- assets\nf-logo.png
96
75
- config\filelist.txt
97
-
- config\SignClient.json
98
76
1. Open "azure-pipelines.yml"
99
77
1. Rename the `nugetPackageName` variable with the new name (mind the nanoframework prefix).
100
78
1. Rename the `repoName` variable with the repo name.
101
79
1. Rename the `sourceFileName` parameter with the equivalent name. It's probably wise to wait for the first successful build of the class library and then get back here with the correct name for the assembly declaration source file.
102
-
1. Rename the `sonarCloudProject` variable with the repo name.
80
+
1. Rename the `sonarCloudProject` variable with the project key from the Sonarcloud project.
103
81
1. If there are class libraries that depend on this one, copy the "update dependencies" job from CorLib "azure-pipelines.yml". If there aren't just skip this step.
104
82
1. Open ".github_changelog_generator" and set the **project** to the repo name.
105
83
1. Open "version.json" and set the **version** to the appropriate one. Make sure to follow our version number guidelines. In doubt please ask one of the senior team members.
0 commit comments