git log master..hotfix/SFCC.1.11.0 --oneline | tail -1 ERROR: fatal: ambiguous argument 'master..hotfix/SFCC.1.11.0': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git <command> [<revision>...] -- [<file>...]'
When I executed above command through CLI it working fine. But when I have Executed command in jenkins execute shell am getting above error. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/089bb2c9-3426-4b0c-a175-ecaa52a7bfd0%40googlegroups.com.
