diff --git a/jenkinsfilenew_api b/jenkinsfilenew_api index 1e7883a..1b23ca1 100644 --- a/jenkinsfilenew_api +++ b/jenkinsfilenew_api @@ -9,6 +9,7 @@ podTemplate { container('image-builder') { sh''' + find . -depth -name '.svn' -type d -exec rm -rf {} + /kaniko/executor --context=${BUILD_WORKSPACE} --dockerfile=./api/Dockerfile --destination=${IMAGE_NAME}:${IMAGE_VERSION} --cache=false --cleanup ''' }