Replies: 2 comments
-
How does the "cake" shell script called look like? I suspect is has an |
Beta Was this translation helpful? Give feedback.
0 replies
-
@tkkeyan, with the switch to using a new command line parser, all input arguments must now use As such, if you switch to using: See also this similar question and answer: #3100 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
From today morning I am facing this issue in all our application while do the Cake build. Can you please help me on this?
Gitlab-ci.yml:
Preview:
stage: Preview
script: 'call cake Preview'
only:
- Dev2021
environment:
name: Preview
Build.cake:
#addin "nuget:?package=Cake.Npm&version=0.16.0"
#addin "nuget:?package=dejavu.Deploy&version=2019.2.28.1224"
#addin "Cake.Powershell"
Task("Preview")
.IsDependentOn("Build:Compile")
Error:
$ call cake Preview
Running build target Preview for environment from build.cake
Preparing to run build script...
Running build script...
Error: Unknown command 'Preview'.
build.cake -target=Preview
^^^^^^^ No such command
Beta Was this translation helpful? Give feedback.
All reactions