Skip to content

Commit 45e047a

Browse files
committed
Merge pull request #697 from pascalberger/FixDocLinks
Fix documentation links
2 parents 9c24953 + a84c86a commit 45e047a

File tree

8 files changed

+20
-20
lines changed

8 files changed

+20
-20
lines changed
Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
# Build Server Support
22
GitVersion has support for quite a few build servers out of the box. Currently we support:
33

4-
- [AppVeyor](build-server-support/build-server/appveyor.md)
5-
- [Bamboo](build-server-support/build-server/bamboo.md)
6-
- [Continua CI](build-server-support/build-server/continua.md)
7-
- [Jenkins](build-server-support/build-server/jenkins.md)
8-
- [MyGet](build-server-support/build-server/myget.md)
9-
- [Octopus Deploy](build-server-support/build-server/octopus-deploy.md)
10-
- [TeamCity](build-server-support/build-server/teamcity.md)
11-
- [Team Build (TFS)](build-server-support/build-server/teambuild.md)
12-
- [TFS Build vNext](build-server-support/build-server/tfs-build-vnext.md)
4+
- [AppVeyor](build-server/appveyor.md)
5+
- [Bamboo](build-server/bamboo.md)
6+
- [Continua CI](build-server/continua.md)
7+
- [Jenkins](build-server/jenkins.md)
8+
- [MyGet](build-server/myget.md)
9+
- [Octopus Deploy](build-server/octopus-deploy.md)
10+
- [TeamCity](build-server/teamcity.md)
11+
- [Team Build (TFS)](build-server/teambuild.md)
12+
- [TFS Build vNext](build-server/tfs-build-vnext.md)
1313

1414
When GitVersion.exe is run with the `/output buildserver` flag instead of outputting Json it will export variables to the current build server.
1515
For instance if you are running in TeamCity after you run `GitVersion /output buildserver` you will have the `%system.GitVersion.SemVer%` available for you to use
1616

17-
When running in MSBuild either from the [MSBuild Task](usage/msbuild-task) or by using the `/proj myproject.sln` parameter, GitVersion will make the MSBuild variables available in the format `$(GitVersion_SemVer)`.
17+
When running in MSBuild either from the [MSBuild Task](/usage/msbuild-task) or by using the `/proj myproject.sln` parameter, GitVersion will make the MSBuild variables available in the format `$(GitVersion_SemVer)`.

docs/build-server-support/build-server/teamcity.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ TeamCity has support for meta-runners which allow custom tasks. There is a GitVe
1818

1919
## Running inside TeamCity
2020
* Make sure to use **agent checkouts** (required, server checkouts do not copy the needed `.git` directory)
21-
- If you want to use *checkout on server*, see [dynamic repositories](../dynamic-repositories.md)
21+
- If you want to use *checkout on server*, see [dynamic repositories](../../dynamic-repositories.md)
2222
* For the moment you need to promote the `%teamcity.build.vcs.branch.{configurationid}%` build parameter to an environment variable with the same name for pull requests to be handled correctly
2323
* We update the TC build number to the GitVersion number automatically
2424
* We output the individual values of the GitVersion version as the build parameter: `GitVersion.*` (Eg: `GitVersion.Major`) if you need access to them in your build script

docs/build-server-support/build-server/tfs-build-vnext.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ In Team Foundation Build (the web based build system) you can call GitVersion ei
66
### Using GitVersion with the MSBuild Task NuGet Package
77
1. Add the [GitVersionTask](https://www.nuget.org/packages/GitVersionTask/) NuGet package to your projects.
88

9-
See [MSBuild Task](/usage/#msbuild-task) for further instructions how to use the MS Build Task.
9+
See [MSBuild Task](/usage/msbuild-task) for further instructions how to use the MS Build Task.
1010

1111
### Using GitVersion with the Command Line build step
1212
1. Make sure to have GitVersion.exe under version control. There exists also a [Chocolatey package](https://chocolatey.org/packages/GitVersion.Portable) for installing GitVersion.exe on build agents.

docs/configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ The configuration options are:
1717

1818
- `next-version`: Allows you to bump the next version explicitly, useful for bumping `master` or a feature with breaking changes a major increment.
1919
- `assembly-versioning-scheme`: When updating assembly info tells GitVersion how to treat the AssemblyVersion attribute. Useful to lock the major when using Strong Naming.
20-
- `mode`: Either ContinuousDelivery or ContinuousDeployment. See [Octopus Deploy/CI Build NuGet Packages](#continuousdeployment) above for more information
20+
- `mode`: Either [ContinuousDelivery](/reference/continuous-delivery/) or [ContinuousDeployment](/reference/continuous-deployment/).
2121
- `Continuous-Delivery-fallback-tag`: When using `mode: ContinuousDeployment` the value specified will be used as the pre-release tag for branches which do not have one specified.
2222
- `tag-prefix`: A regex which is used to trim git tags before processing (eg v1.0.0). Default is `[vV]` though this is just for illustrative purposes as we do a IgnoreCase match and could be `v`
2323

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ You can just run `GitVersion.exe` in your repository to see what variables are a
3636
## Exe or MSBuild Task
3737
There are two ways to consume GitVersion, the first is by running GitVersion.exe. The second is an MSBuild task. The MSBuild task is really easy to get up and running, simply install GitVersionTask from NuGet and it will integrate into your project and write out variables to your build server if it's running on one. The exe offers more options and works for not just .net projects.
3838

39-
Read more about [using GitVersion](usage.md)
39+
Read more about [using GitVersion](usage/usage.md)

docs/usage/command-line.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ Switches are available with `GitVersion /?`
1010

1111
## Output
1212

13-
By default GitVersion returns a json object to stdout containing all the [variables](more-info/variables.md) which GitVersion generates. This works great if you want to get your build scripts to parse the json object then use the variables, but there is a simpler way.
13+
By default GitVersion returns a json object to stdout containing all the [variables](../more-info/variables.md) which GitVersion generates. This works great if you want to get your build scripts to parse the json object then use the variables, but there is a simpler way.
1414

15-
`GitVersion.exe /output buildserver` will change the mode of GitVersion to write out the variables to whatever build server it is running in. You can then use those variables in your build scripts or run different tools to create versioned NuGet packages or whatever you would like to do. See [build servers](build-server-support/build-server-support.md) for more information about this.
15+
`GitVersion.exe /output buildserver` will change the mode of GitVersion to write out the variables to whatever build server it is running in. You can then use those variables in your build scripts or run different tools to create versioned NuGet packages or whatever you would like to do. See [build servers](../build-server-support/build-server-support.md) for more information about this.
1616

1717
## Inject version metadata into the assembly
1818
`GitVersion.exe /updateassemblyinfo` will recursively search for all `AssemblyInfo.cs` files in the git repo and update them.

docs/usage/msbuild-task.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Now when you build:
2828

2929
### Other injected Variables
3030

31-
All other [variables](more-info/variables.md) will be injected into a internal static class.
31+
All other [variables](../more-info/variables.md) will be injected into a internal static class.
3232

3333
```
3434
namespace AssemblyName
@@ -72,7 +72,7 @@ Trace.WriteLine(versionField.GetValue(null));
7272

7373
Task Name: `GitVersionTask.GetVersion`
7474

75-
At build time all the derived [variables](more-info/variables.md) will be written to MSBuild properties so the information can be used by other tooling in the build pipeline.
75+
At build time all the derived [variables](../more-info/variables.md) will be written to MSBuild properties so the information can be used by other tooling in the build pipeline.
7676

7777
The class for `GitVersionTask.GetVersion` has a property for each variable. However at MSBuild time these properties a mapped to MSBuild properties that are prefixed with `GitVersion_`. This prevents conflicts with other properties in the pipeline.
7878

@@ -86,7 +86,7 @@ After `GitVersionTask.GetVersion` has executed the properties can be used in the
8686

8787
Task Name: `GitVersionTask.WriteVersionInfoToBuildLog`
8888

89-
If, at build time, it is detected that the build is occurring inside a Build Server server then the [variables](more-info/variables.md) will be written to the build log in a format that the current Build Server can consume. See [Build Server Support](build-server-support/build-server-support.md).
89+
If, at build time, it is detected that the build is occurring inside a Build Server server then the [variables](../more-info/variables.md) will be written to the build log in a format that the current Build Server can consume. See [Build Server Support](../build-server-support/build-server-support.md).
9090

9191
## My Git repository requires authentication. What do I do?
9292

docs/usage/usage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ There are two main ways to consume GitVersion, the first is by running GitVersio
99
- [Using the Ruby Gem](gem.md)
1010

1111

12-
There exist also wrappers around the [Command Line tool](command-line.md) for several build servers. See [Build server support](build-server-support/build-server-support.md) for details.
12+
There exist also wrappers around the [Command Line tool](command-line.md) for several build servers. See [Build server support](../build-server-support/build-server-support.md) for details.

0 commit comments

Comments
 (0)