-
Notifications
You must be signed in to change notification settings - Fork 640
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(GH-1932) Linting and ordering of build server section
- Loading branch information
Showing
9 changed files
with
307 additions
and
114 deletions.
There are no files selected for viewing
16 changes: 10 additions & 6 deletions
16
docs/input/docs/build-server-support/build-server/appveyor.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,11 @@ | ||
# AppVeyor Setup | ||
AppVeyor is the first build server which has a setup helper built into `GitVersion init`. | ||
--- | ||
Order: 10 | ||
Title: AppVeyor Setup | ||
--- | ||
AppVeyor is the first build server which has a setup helper built into | ||
`GitVersion init`. | ||
|
||
1. Run `GitVersion init` | ||
2. Choose `Setup build scripts` (currently option 7, but that could change) | ||
3. Choose `AppVeyor` | ||
4. Follow the prompts to generate an AppVeyor.yml file which works nicely with GitVersion | ||
1. Run `GitVersion init` | ||
2. Choose `Setup build scripts` (currently option 7, but that could change) | ||
3. Choose `AppVeyor` | ||
4. Follow the prompts to generate an AppVeyor.yml file which works nicely with GitVersion |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 13 additions & 5 deletions
18
docs/input/docs/build-server-support/build-server/bamboo.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,28 @@ | ||
# Bamboo | ||
If you use Bamboo then you will have to use GitVersion from the command line, as there is no actively supported app. | ||
You can use the "Inject Bamboo Variables" task to read the GitVersion output back into Bamboo. | ||
Below is a Linux example using the [.NET Core GitVersion global tool](https://www.nuget.org/packages/GitVersion.Tool/). | ||
--- | ||
Order: 30 | ||
Title: Bamboo | ||
--- | ||
|
||
If you use Bamboo then you will have to use GitVersion from the command line, as | ||
there is no actively supported app. You can use the "Inject Bamboo Variables" | ||
task to read the GitVersion output back into Bamboo. Below is a Linux example | ||
using the [.NET Core GitVersion global tool](https://www.nuget.org/packages/GitVersion.Tool/). | ||
|
||
## Example | ||
|
||
### Task: Script | ||
### Task: Script | ||
|
||
**Script body** | ||
|
||
```bash | ||
~/.dotnet/tools/dotnet-gitversion > gitversion.txt | ||
sed -i '1d;26d;s/ //;s/"//g;s/,//;s/:/=/' gitversion.txt | ||
``` | ||
|
||
### Task: Inject Bamboo variables Configuration | ||
|
||
**Required Properties** | ||
|
||
- __Path to properties file__: gitversion.txt | ||
- __Namespace__: GitVersion | ||
- __Scope of the Variables__: Result |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
# GitLab CI | ||
--- | ||
Order: 50 | ||
Title: GitLab CI | ||
--- | ||
|
||
To use GitVersion with GitLab CI, either use the [MSBuild Task](/usage/msbuild-task) or put the GitVersion executable in your runner's `PATH`. | ||
To use GitVersion with GitLab CI, either use the [MSBuild Task](/usage/msbuild-task) | ||
or put the GitVersion executable in your runner's `PATH`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.