Hi, I have this job in a script using jenkins:
GIT_COMMIT_HASH = sh (script: 'git log --pretty=format:"%h;%s" --no-merges | grep SS-15') But he don´t understand the mask of the format:"%h;%s". There is something wrong in the syntax. Look what returns to me: [Pipeline] sh + + grep SS-15 git log --pretty=format:%h;%s --no-merges[Pipeline] }[Pipeline] // withEnv[Pipeline] }[Pipeline] // stage[Pipeline] }[Pipeline] // node[Pipeline] End of PipelineERROR: script returned exit code 1 Finished: FAILURE -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.