Fix CI error. (#530)

* ignore .git folder when doing clang-format

* fix syntax

* add backslashes before quotes

* add path filter for several extensions

[ROCm/composable_kernel commit: d072790fe2]
This commit is contained in:
Illia Silin
2022-12-06 13:09:51 -08:00
committed by GitHub
parent 96c07fc27d
commit cbc6b1c823

6
Jenkinsfile vendored
View File

@@ -618,9 +618,9 @@ pipeline {
stage('Clang Format') {
agent{ label rocmnode("nogpu") }
environment{
execute_cmd = "find .. -iname \'*.h\' \
-o -iname \'*.hpp\' \
-o -iname \'*.cpp\' \
execute_cmd = "find .. -not -path \'*.git*\' -iname \'*.h\' \
-o -not -path \'*.git*\' -iname \'*.hpp\' \
-o -not -path \'*.git*\' -iname \'*.cpp\' \
-o -iname \'*.h.in\' \
-o -iname \'*.hpp.in\' \
-o -iname \'*.cpp.in\' \