-
Please wrap your command with a shell script, and run the shell script on your terminal to see if it exits with non-zero code.
Or you may create example projects here (code.onedev.io) which I can run to reproduce the issue.
-
Also for 500 error when view
.onedev-buildspec.yml, I tried but it works at my side. Please show me detailed reproducing steps. -
Thanks for the sanity check, looks like the
{} \;part of thefindcommand was throwing off the exit code, swapping to{} \+resolved my issue. I'll create a separate issue for the HTTP 500 code since its not directly related. Thanks! -
Previous Value Current Value Open
Closed
-
closed
| Type |
Bug
|
| Priority |
Normal
|
| Assignee | |
| Affected Versions |
Not Found
|
Issue Votes (0)
Relevant step in YAML:
Imported into another project via Import:
Lint step being run:
But running the lint command on the command line show the exit code is non-zero:
Any idea on whats making the lint step always pass regardless of any of the commands exiting with a non-zero exit code?
Also as a side note, trying to view
.onedev-buildspec.ymlfile in a project that just contains an import from another project fails with an HTTP 500