Closed ilkeyucel closed 6 days ago
From the error you provided
23:36:02 [!] Invalid
basic.Dangerfile
file: swiftlint is not installed
It looks like you're hitting this error: https://github.com/ashfurrow/danger-ruby-swiftlint/blob/bf340a84953b303bb76168124c433d7e0e216dff/lib/danger_plugin.rb#L68 Also tested here: https://github.com/ashfurrow/danger-ruby-swiftlint/blob/bf340a84953b303bb76168124c433d7e0e216dff/spec/danger_plugin_spec.rb#L17-L20
The program can't find the SwiftLint executable. Can you make sure swiftlint is installed in the jenkins node?
puts `which swiftlint`
You can add the above code before invoking the swiftlint plugin in your dangerfile.
@ilkeyucel Did you fix your issue ? I will close it soon
After installing danger-swiftlint 0.34.0 PRs are breaking with the following error:
Ruby version:
ruby 3.2.2 (2023-03-30 revision e51014f9c0) [arm64-darwin22]
bundler version:Bundler version 2.4.22