Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Aug 23 14:30
    matkoch commented #309
  • Aug 23 14:20
    matkoch edited #259
  • Aug 23 14:19
    matkoch closed #309
  • Aug 23 14:19
    matkoch commented #309
  • Aug 23 14:18
    joskoanicic opened #309
  • Aug 22 15:18
    matkoch commented #308
  • Aug 22 15:12
    mlaily commented #308
  • Aug 22 15:10
    mlaily commented #308
  • Aug 22 15:00
    matkoch closed #308
  • Aug 22 15:00
    matkoch commented #308
  • Aug 22 15:00
    matkoch commented #308
  • Aug 22 14:58
    mlaily commented #308
  • Aug 22 13:38
    matkoch commented #308
  • Aug 22 11:55
    mlaily commented #308
  • Aug 22 11:34
    matkoch closed #307
  • Aug 22 11:34
    matkoch milestoned #307
  • Aug 22 11:15
    matkoch commented #308
  • Aug 22 09:23
    mlaily commented #308
  • Aug 22 09:02
    mlaily commented #308
  • Aug 21 17:29
    mlaily commented #308
Matthias Koch
@matkoch
sure, just change the default include
Michael Schiller
@M-Schiller
Thanks. Works like a charm.
Matthias Koch
@matkoch
:thumbsup:
und wir haben uebrigens einen slack channel :)
Michael Schiller
@M-Schiller
Danke, werd ich mir anschauen und bei Fragen dort schreiben :)
Matthias Koch
@matkoch
@/all :mega::shipit: NUKE 0.21.0 IS OUT!!!
  • Changed ProjectModelTasks.ParseProject to revert MSBUILD_EXE_PATH environment variable
  • Added CloudFoundryTasks
  • Added missing arguments for SonarScannerTasks
  • Added missing arguments for OctopusTasks
  • Added Jenkins.BranchName and Jenkins.ChangeId
Dariusz KomosiƄski
@MarchingCube
Hi there, any chances of getting Azure DevOps fixed? I see that there is issue for it (nuke-build/nuke#264) and a PR ( nuke-build/common#25 ) but everything seems to be abandoned there. And Nuke output on Azure DevOps is still mangled.
chrsin
@chrsin

Hey everybody. I'm getting: "Exception has been thrown by the target of an invocation." in my output when running Nuke for my build. As far as i can tell everything I've set up is working fine. I've tried debugging and no exceptions in any of my stuff are unhandled. Is there someway to get Nuke to log errors?

I'm getting the (orange text) message right after: "NUKE Execution Engine version 0.21.0 (Windows,.NETStandard,Version=v2.0)"

chrsin
@chrsin
Oh. And of course right after asking it seems the problem was the line: [GitRepository] readonly GitRepository GitRepository;
I would still love to know how to debug these kind of messages though. :)
Matthias Koch
@matkoch
can you show the log?
chrsin
@chrsin
@matkoch what log? The only log i can find is under .tmp/build-attempt.log and it just contains:
41704c6d7d5a5c1056280a47a0bf5d9f
Restore
Compile
Matthias Koch
@matkoch
the output
chrsin
@chrsin
Here you go
chrsin
@chrsin
I'm guessing the build.cs file might be useful aswell. The problem seems to be line 37
if i remove that one i get no error
@matkoch i could create it as an issue if you prefer it. Just wanted to hear if it was me screwing things up first. :)
Michael Schiller
@M-Schiller
Is it possible that you are trying to build outside of a git repository? I guess, this could lead to problems with the [GitRepository] Attribute.
Matthias Koch
@matkoch
@M-Schiller is right. you're working without a git repository. nevertheless, there's a logging issue indeed.
and anyway, it's just a warning
chrsin
@chrsin
image.png
I would think this constitutes as a git repository. :) Also, I've tried changing the Working Directory to be the repository root folder instead. It changed nothing
Matthias Koch
@matkoch
can you show you're .git/config and .git/HEAD?
chrsin
@chrsin
Sure can
Matthias Koch
@matkoch
try making a call to GitRepository.FromLocalDirectory with that repo
that will show you the issue
chrsin
@chrsin
Calling GitRepository.FromLocalDirectory(RootDirectory); returns a GitRepository. No exceptions thrown?
Matthias Koch
@matkoch
then please wait for 0.21.1
chrsin
@chrsin
Alright. Initializing the GitRepository variable is doing something different than calling GitRepository.FromLocalDirectory in this version? :)
Matthias Koch
@matkoch
no, as I mentioned, there's a logging issue
chrsin
@chrsin
Isn't it an issue the "[GitRepository] readonly GitRepository GitRepository;" line doesn't work but "GitRepository.FromLocalDirectory(RootDirectory);" does? :)
Anyways. It's not a deal breaker at all. Nuke looks great I'm definitely going to use it for my next project! :)
Matthias Koch
@matkoch
It is, but I can't investigate anything without correcting the logging first.
chrsin
@chrsin
Roger that!
If you need my repository to investigate you can find it here: https://bitbucket.org/csindberg/nukebuildtest/src/master/
Hope it helps. And thanks for making a great automation framework!
Matthias Koch
@matkoch
@/all :mega::shipit: NUKE 0.21.1 IS OUT!!!
  • Fixed logging of warnings
Matthias Koch
@matkoch
@chrsin check again please ^^^^
chrsin
@chrsin
Wow you are FAST!
Assertion failed: Could not find 'git' via 'C:\Windows\System32\where.exe'.
So it looks like the problem is git isn't on my path in cmd
Matthias Koch
@matkoch
are you executing this from WSL?
chrsin
@chrsin
I'm executing it from Rider
Matthias Koch
@matkoch
okay, then that is the issue
chrsin
@chrsin
Yeah makes sense
chrsin
@chrsin
Just verified that adding git to path removed the message.
Matthias Koch
@matkoch
:thumbsup:
Matthias Koch
@matkoch
@/all :mega::shipit: NUKE 0.21.2 IS OUT!!!
  • Fixed validation to exclude requirements of skipped targets
  • Fixed solution serialization to include malicious project GUID in error message
Matthias Koch
@matkoch
@ymalich can you come over to slack?