ResultFAILURE
Tests 0 failed / 0 succeeded
Started2025-05-13 14:41
Elapsed6.00s
Revisione4db4942ac5ad027992becabc412fed06d4e04a6
Refs 1333

No Test Failures!


Error lines from build-log.txt

... skipping 4 lines ...

[clone-repo : clone] {"level":"info","ts":1747147291.4670143,"caller":"git/git.go:165","msg":"Successfully cloned https://github.com/tektoncd/catalog @ 8285e21ae107026e2499ebafda0faf3d70c8953d (HEAD -> main, origin/main) in path /workspace/output/"}
[clone-repo : clone] {"level":"info","ts":1747147291.500622,"caller":"git/git.go:203","msg":"Successfully initialized and updated submodules in path /workspace/output/"}


[lint-catalog : lint-catalog] FILE: task/git-version/0.1/git-version.yaml
[lint-catalog : lint-catalog] ERROR: /usr/bin/shellcheck, [-s bash] failed:
[lint-catalog : lint-catalog] 
[lint-catalog : lint-catalog] In git-version-set-git-version line 7:
[lint-catalog : lint-catalog] export GITVERSION=$(dotnet gitversion /showvariable FullSemVer)
[lint-catalog : lint-catalog] Error: Files "task/git-version/0.1/git-version.yaml" has failed validation
[lint-catalog : lint-catalog]        ^--------^ SC2155 (warning): Declare and assign separately to avoid masking return values.
[lint-catalog : lint-catalog] 
[lint-catalog : lint-catalog] 
[lint-catalog : lint-catalog] In git-version-set-git-version line 8:
[lint-catalog : lint-catalog] echo -n "${GITVERSION}" | tee $(results.gitVersion.path)
[lint-catalog : lint-catalog]                               ^------------------------^ SC2046 (warning): Quote this to prevent word splitting.
... skipping 16 lines ...
[lint-catalog : lint-catalog]   https://www.shellcheck.net/wiki/SC2046 -- Quote this to prevent word splitt...
[lint-catalog : lint-catalog]   https://www.shellcheck.net/wiki/SC2155 -- Declare and assign separately to ...
[lint-catalog : lint-catalog]   https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ...
[lint-catalog : lint-catalog] 

[post-comment : post-comment] Sending this data to GitHub: 
[post-comment : post-comment] {'body': '<details><summary>Catlin Output</summary>\n\n```\nFILE: task/git-version/0.1/git-version.yaml\n```\n</details>\n<details><summary>Catlin script lint Output</summary>\n\n```\nERROR: /usr/bin/shellcheck, [-s bash] failed:\n\nIn git-version-set-git-version line 7:\nexport GITVERSION=$(dotnet gitversion /showvariable FullSemVer)\n       ^--------^ SC2155 (warning): Declare and assign separately to avoid masking return values.\n\n\nIn git-version-set-git-version line 8:\necho -n "${GITVERSION}" | tee $(results.gitVersion.path)\n                              ^------------------------^ SC2046 (warning): Quote this to prevent word splitting.\n\n\nIn git-version-set-git-version line 12:\nexport PACKAGEVERSION=$(echo -n $GITVERSION | sed \'s/[^-._0-9A-Za-z]/-/g\')\n       ^------------^ SC2155 (warning): Declare and assign separately to avoid masking return values.\n                                ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.\n\nDid you mean: \nexport PACKAGEVERSION=$(echo -n "$GITVERSION" | sed \'s/[^-._0-9A-Za-z]/-/g\')\n\n\nIn git-version-set-git-version line 13:\necho -n "${PACKAGEVERSION}" | tee $(results.packageVersion.path)\n                                  ^----------------------------^ SC2046 (warning): Quote this to prevent word splitting.\n\nFor more information:\n  https://www.shellcheck.net/wiki/SC2046 -- Quote this to prevent word splitt...\n  https://www.shellcheck.net/wiki/SC2155 -- Declare and assign separately to ...\n  https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ...\n\n```\n'}
[post-comment : post-comment] a GitHub comment has been added to https://github.com/tektoncd/catalog/pull/1333