HomeiOS Developmentios - Whereas pod set up & replace from Jenkins getting Error

ios – Whereas pod set up & replace from Jenkins getting Error


[iOSTestBuild] $ /bin/sh -xe /var/folders/7h/c_dd36k5627bbs6pbhd4zglw0000gn/T/jenkins10828028391649479003.sh
+ /choose/homebrew/bin/pod set up --repo replace
    [33mWARNING: CocoaPods requires your terminal to be using UTF-8 encoding.
    Consider adding the following to ~/.profile:

    export LANG=en_US.UTF-8
    [0m
/opt/homebrew/Cellar/cocoapods/1.12.0/libexec/gems/cocoapods-1.12.0/lib/cocoapods/executable.rb:118:in `block in which!': [31m[!] Unable to find the executable `git`[0m (Pod::Informative)
    from <internal:kernel>:90:in `tap'
    from /opt/homebrew/Cellar/cocoapods/1.12.0/libexec/gems/cocoapods-1.12.0/lib/cocoapods/executable.rb:117:in `which!'
    from /opt/homebrew/Cellar/cocoapods/1.12.0/libexec/gems/cocoapods-1.12.0/lib/cocoapods/executable.rb:143:in `capture_command'
    from /opt/homebrew/Cellar/cocoapods/1.12.0/libexec/gems/cocoapods-1.12.0/lib/cocoapods/command.rb:126:in `git_version'
    from /opt/homebrew/Cellar/cocoapods/1.12.0/libexec/gems/cocoapods-1.12.0/lib/cocoapods/command.rb:140:in `verify_minimum_git_version!'
    from /opt/homebrew/Cellar/cocoapods/1.12.0/libexec/gems/cocoapods-1.12.0/lib/cocoapods/command.rb:49:in `run'
    from /opt/homebrew/Cellar/cocoapods/1.12.0/libexec/gems/cocoapods-1.12.0/bin/pod:55:in `<top (required)>'
    from /opt/homebrew/Cellar/cocoapods/1.12.0/libexec/bin/pod:25:in `load'
    from /opt/homebrew/Cellar/cocoapods/1.12.0/libexec/bin/pod:25:in `<main>'
Build step 'Execute shell' marked build as failure
Finished: FAILURE

In mac when i run the same command its works only through jenkins when i run the command it gives me this error

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments