Create GitHub release with release notes in VSTS pipeline

In my previous post I exposed the VSTS task for tag your GitHub source code, that in included in my VSTS extension “GitHub Tools Task” , published in the Visual Studio Marketplace at https://marketplace.visualstudio.com/items?itemName=KriefMikael.githubtools

For continue to improve this integration of GitHub inside DevOps pipeline in VSTS (Visual Team Services), I included another task in this extension to create a GitHub release with a release notes during your VSTS CI/CD pipeline. You can get more informations for create GitHub release manually in the GitHub documentation.

Fo create GitHub release, in your release definition, add the task “Create GitHub release” from the Utility category of VSTS task catalog Lire la suite

Tag your GitHub source code in VSTS pipeline

When using Git source control system, the tag mechanism is one of good practice in great DevOps pipeline.

In VSTS (Visual Studio Team Services) build process, the Tag action option is present by default when the source repository is Git type.

What we can notice that this option is not present if the source repository is GitHub type.

To allow me to tag my GitHub source code I developped and published an extension in the Visual Studio Marketplace, which through a build/release task will tag my source code. Lire la suite

Manage shared variables across Release definitions

One of the latest feature of VSTS is to provide a library for share variables between Releases definitions.

In this blog post we will see how create these shared variables and how link them to release definition.

Create variable group

The first step is to create variable group into the menu item Library (on Build & Release)

add variable group

Lire la suite

How generate _PublishedWebsites folder in Builds vnext

In TFS 2013 Xaml build and Msbuild we have the possibility to generate a folder _PublishedWebsites that contain the files result for the web project compilation.

_publishedWebSites

In new build system Vnext build for TFS 2015 and VSTS, for generate this folder during build compilation, into Visual Studio Build (or MSbuild) Task, add MsBuild Argument  /p:outdir with the destination of the compilation ouput, for example : /p:outdir=$(Build.BinariesDirectory)

msbuild Arguments

Lire la suite