tag:blogger.com,1999:blog-1293092930231261958.post6353168009654681537..comments2022-10-13T10:38:25.509+01:00Comments on So, today...: ... I had Jenkins Build Steps Fail Just Because Grep Returned Nothingdreginhttp://www.blogger.com/profile/03758722086717742156noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-1293092930231261958.post-75421612579045298702019-01-01T20:23:04.420+00:002019-01-01T20:23:04.420+00:00In my case, I had "#!/bin/bash" at the t...In my case, I had "#!/bin/bash" at the top of the file, but it wasn't the _first line_. There happened to be an empty first line, and hence the shbang was never recognized. Removed the line (thanks to your post) and voila! Kartikhttps://www.blogger.com/profile/16842522920901441599noreply@blogger.comtag:blogger.com,1999:blog-1293092930231261958.post-58368862464431320672018-04-10T17:18:48.741+01:002018-04-10T17:18:48.741+01:00All these years later :D Glad it helped!All these years later :D Glad it helped!dreginhttps://www.blogger.com/profile/03758722086717742156noreply@blogger.com