Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
  • 14:18
    oli-unreal edited #799
  • 14:16
    oli-unreal opened #799
  • 14:16
    oli-unreal labeled #799
  • Sep 22 20:53

    matkoch on develop

    Extract EncryptionUtility membe… (compare)

  • Sep 21 11:12
    ArchyInf edited #798
  • Sep 21 11:02
    ArchyInf opened #798
  • Sep 20 21:13

    matkoch on develop

    Add Slack actions (compare)

  • Sep 20 07:51
    mbenedykconfigit commented #794
  • Sep 19 18:24

    matkoch on develop

    Change secret management to wri… Add Enumerable.IsEmpty and IsNu… Add Slack actions (compare)

  • Sep 19 18:20

    matkoch on docs

    Fix AzurePipelines generation f… Disable pull-requests on AzureP… Add Slack actions (compare)

  • Sep 18 13:27

    matkoch on develop

    Refactor ExecutableTargetFactory (compare)

  • Sep 18 13:14

    matkoch on develop


  • Sep 18 13:04

    matkoch on develop

    foo (compare)

  • Sep 18 13:00

    matkoch on develop

    Disable pull-requests on AzureP… (compare)

  • Sep 18 12:55

    matkoch on develop

    Fix AzurePipelines generation f… Disable pull-requests on AzureP… (compare)

  • Sep 17 20:21
    matkoch commented #797
  • Sep 17 19:42
    matkoch closed #794
  • Sep 17 19:30
    cmenzi commented #797
  • Sep 17 19:26
    matkoch commented #797
  • Sep 17 18:59
    cmenzi commented #797
Hi, I'd like to sign my assembly (dotnet core) with Code Signing certificate. Can't find any example on how to do it. Any tips?
Matthias Koch
search for signtool
:-) I mean any example with nuke?
Matthias Koch
cli tools all follow the same principle
it wouldn’t make much sense to provide examples for each and every tool
Matthias Koch
@/all :mega::shipit: NUKE 5.0.1 IS OUT!!!
  • Fixed configuration generation to wait for user input after file changes
  • Fixed build summary for durations smaller than 1 second
  • Fixed build summary and IBuildExtension instances to be skipped if no targets were started
  • Fixed build summary to hide irrelevant durations
  • Fixed setting of EmbeddedPackagesDirectory for global tools
  • Fixed PackPackageToolsTask to use lower-case package ids
  • Fixed ParameterAttribute.ValueProvider to allow members of type IEnumerable<string>
  • Fixed Logger to remove ControlFlow from stacktrace
  • Fixed assertion messages for warnings
  • Fixed path and quoting in build.cmd
  • Fixed GitVersion.Tool version in project templates
  • Fixed LatestMyGetVersionAttribute to handle new RSS feed format
  • Fixed missing arguments PublishReadyToRun, PublishSingleFile, PublishTrimmed, PublishProfile, NoLogo for DotNetPublish
  • Fixed parameter name Verbosity in DotNetPack
  • Fixed enumeration value lcov in CoverletTasks
  • Fixed ReSharperTasks to use correct tool path
  • Fixed ChangelogTasks to respect additional markdown-linting rules
  • Fixed TeamCity generator to consider artifact products from all relevant targets
  • Fixed condition for skipping lines in TeamCity parameter files
Matthias Koch
@/all :mega::shipit: NUKE 5.0.2 IS OUT!!!
  • Fixed ChangelogTasks to use HTTPS links in history
  • Fixed DotNetRun and DotNetTest run settings
  • Fixed conditions for informational text
Matthias Koch
Andrew Stiver
Trying to login to a docker registry via the command line using a Process. Docker recommends not using the password parameter to enter the password because the password will appear in plaintext in the output and logs. Docker has another flag to receive the password from the STDIN, but I don't see a method within Nuke.Common.Tooling.ProcessTasks.StartProcess() to pass anything into the STDIN of the process. Any ideas on how to handle this?
Christian Sindberg
Is there a way to supply the sonar.coverageReportPaths analysis parameter to the SonarScannerTasks.SonarScannerBegin builder?
Almost seems like a cruel joke that Report Generator can export to SonarQube format, but I can't use it in the Scanner task? (Obviously I'm missing something)
Also, if there is some general way to do this for most tasks would be really helpful. Usually you know exactly which parameter to add, but I miss the method for it.
Matthias Koch
yes there is smth
it’s called PR :)
Christian Sindberg
@matkoch I'll have a look at it. Just didn't wanna reinvent anything if it was already there. :)
Matthias Koch
you can see what’s there on the task documentation
Christian Sindberg
@matkoch turns out i can actually add custom arguments using .SetProcessArgumentConfigurator I was just blind all along
Thanks for your input
And thank you for Nuke. It's really promising. If this project goes well, I'm going to try pusing it in the organization. :)
Matthias Koch
so no PR?
Christian Sindberg
@matkoch How do i update the SonarScannerTasks? I've added my changes to SonarScanner.json but I can't find any target that gets it done. :/
Christian Sindberg
Also yeah I'm doing the PR just needed a working solution for it first. :)
Christian Sindberg
Sry didnt see you moved to slack will post there instead.
Hi, playing a bit a round, and I want to update my appsettings.json file with some fields during the build. is there a good way to update exiting json file? or I just need to go with the Text.Json or similar
Hi all. I'm starting new project where I will use some sass and typescript compilations (.NET , not .NET Core). We are using JetBrains and Visual Studio 2019 for build server I want to use Nuke. what solution compiling sass and type script will be easiest to implement in VS, Rider, Nuke ? I'm thinking about webpack, but may be that there is other solution which will work in all 3 envs. On nuke side I want to use npmrun task.
Anyone know of a complex nuke build setups i could use for some inspiration / learning nuke? All i can find thus far, like the examples linked in the docs, are quite simple standalone projects
Sateesh Pagolu
Does anyone know if there is a way to run a shell command using Nuke? Or is Process.Start the only way?
Sateesh Pagolu
Found it.. ProcessTasks.StartProcess is the way to go. :)
Bragi Fannar Sigurðsson
Hello, does anybody here know how to integrate Bamboo into a build? I need to get access to the Bamboo variables.
I have been trying to use this: http://www.nuke.build/api/Nuke.Common/Nuke.Common.CI.Bamboo.Bamboo.html but with no luck.
Sateesh Pagolu
Hello, I am experimenting with Nuke Build's CI integration (TeamCity, to be specific). I am wondering if there is a way to run a Target (eg: DotNetBuild) in docker container. Like how the DotnetBuildStep can be run on a docker container by setting dockerImage property in kotlin DSL.
Sateesh Pagolu
Sorry, any thoughts on the above? I assume it is not possible yet?
Naveen Anto Alangararaj
Is the nuke.build site down?
Jason Finch
@nnanto it is for me
Jason Finch
New to nuke, is there a way with DotNetPack for packing nugets, to exclude certain projects when targeting a solution, or is the best approach to SetProject for each individual project to pack omitting the ones not to pack?
1 reply
Matthias Koch
Matthias Koch

This chat is no longer tracked. Join Slack at https://slofile.com/slack/nukebuildnet
Matthias Koch
@/all :mega::shipit: NUKE 5.1.1 IS OUT!!!
  • Fixed parameter loading with missing default parameters file
  • Fixed visibility of Directory.Build files
  • Fixed ArgumentsFromCommitMessageAttribute to require manual application
  • Fixed summary reporting for exceptions to only include first line of message
  • Fixed update notification
  • Fixed PowerShell invocation from build.cmd
  • Fixed Update and Setup command to not stage parameters file
  • Fixed Update command for absent bootstrapping scripts
  • Fixed skipping unhandled syntax fragments in Cake conversion
  • Fixed missing Instance properties for IBuildServer implementations
  • Fixed GitHubActions default cache path
  • Fixed missing property for GitHubActions workflow inputs
  • Fixed quoting in GitHubActions for included/excluded paths
  • Fixed XmlPoke to allow specifying encoding
  • Fixed ExternalFilesTask for single file browse-URL
  • Fixed ICompile, IPack, ITest components to check against SucceededTargets
  • Fixed setting RepositoryUrl in IPack component
Bernhard Windisch

Trying to get Nuke work with Github Actions using Windows Server.
But always get following error message:

NUKE Execution Engine version 5.1.1 (Windows,.NETCoreApp,Version=v2.1)

> C:\Users\runneradmin\AppData\Local\Microsoft\dotnet\dotnet.exe C:\Users\runneradmin\.nuget\packages\gitversion.tool\5.6.9\tools\net5.0\any\gitversion.dll /nocache /nofetch
Warning: Process 'dotnet.exe' exited with code 1.
   > C:\Users\runneradmin\AppData\Local\Microsoft\dotnet\dotnet.exe C:\Users\runneradmin\.nuget\packages\gitversion.tool\5.6.9\tools\net5.0\any\gitversion.dll /nocache /nofetch
   @ D:\a\ActionsTest\ActionsTest

   at Nuke.Common.Tooling.ProcessExtensions.AssertZeroExitCode(IProcess process)
   at Nuke.Common.Tools.GitVersion.GitVersionTasks.GitVersion(GitVersionSettings toolSettings)
   at Nuke.Common.Tools.GitVersion.GitVersionTasks.GitVersion(Configure`1 configurator)
   at Nuke.Common.Tools.GitVersion.GitVersionAttribute.GetValue(MemberInfo member, Object instance)
   at Nuke.Common.ValueInjection.ValueInjectionAttributeBase.<>c__DisplayClass0_0.<TryGetValue>b__0()

Can't get it to work...
Tried with different Attribute Parameters

[GitVersion(Framework="net5.0", NoFetch = true)] readonly GitVersion GitVersion;
[GitVersion(Framework="netcoreapp3.1", NoFetch = true)] readonly GitVersion GitVersion;

And also tried "GitVersion.Tools" and "GitVersion.Commandline"

Anyone can help? Or give ma a hint in the right direction??
Test Repo can be found here:

Matthias Koch

​This chat is no longer tracked. Join Slack at https://slofile.com/slack/nukebuildnet
Matthias Koch
@/all :mega::shipit: NUKE 5.1.4 IS OUT!!!
  • Fixed StronglyTypedSolutionGenerator to resolve root directory only on demand
  • Fixed JetBrains.Annotations to be packed with source generators
  • Fixed missing SpaceAutomation configuration link
Matthias Koch
@/all :mega::shipit: NUKE 5.2.0 IS OUT!!!
  • Added telemetry data collection
  • Added unified NukeBuild.Partition property
  • Added Rider, VisualStudio, VSCode as Host implementations
  • Added GitRepository.IsOnMainBranch and IsOnMainOrMasterBranch
  • Added AbsolutePath equality operators
  • Fixed SpaceAutomation to generate default refSpec
  • Changed Microsoft.CodeAnalysis.CSharp package version to 3.9.0
  • Removed Refit reference and ITeamCityRestClient interface
  • Removed Colorful.Console reference and embedded figlet fonts
Matthias Koch
@/all :mega::shipit: NUKE 5.2.1 IS OUT!!!
  • Fixed telemetry
  • Fixed humanized string concatenation
Matthias Koch
@/all :mega::shipit: NUKE 5.3.0 IS OUT!!!
  • Added LFS and Submodule settings in AzurePipelines configuration
  • Added OctoVersionTasks and OctoVersionAttribute
  • Added AzureSignToolTasks
  • Added ChocolateyTasks
  • Fixed invocations for PowerShell bootstrapping script
  • Fixed retrieval of version_dotnet_sdk in telemetry
  • Fixed solution serialization to show information about duplicated entries
  • Fixed path construction to be lazy for in-memory solutions that get saved
  • Fixed GitHubTasks.GetGitHubBrowseUrl to trim trailing slash
  • Fixed GitVersionAttribute.Framework default value to net5.0
  • Fixed URLs in ChangeLogTasks
  • Fixed DotNetTestSettings.Loggers property to accept multiple values
  • Fixed default value emission for DotCoverTasks
  • Fixed missing properties for GitVersionTasks
  • Fixed missing secret attributes in SonarScannerTasks
  • Fixed NerdbankGitVersioningFormat enumeration to use lower-case
Hi guys! I 'm new to nuke and I found a lot of methods for work with docker. But I can't find how to execute docker-compose up . Is it some reason for this or just not implemented yet feature? And is there most convient way to do that now ?
Matias Korn
Can i get MsBuild Macro values in a nuke build target? Specifically i want to access TargetPlatformSdkPath