Am Dienstag, 11. Juni 2019 13:14:28 UTC+2 schrieb Sverre Moe:
>
> I have the following Pipeline step to find specific files:
> sh("find . -regex '.*${packageName}-[0-9.]+-.\\.noarch\\.rpm'")
>
>
You' ll need to escape the backslashes twice: once for groovy and once for
the shell
sh("find . -reg
I have the following Pipeline step to find specific files:
sh("find . -regex '.*${packageName}-[0-9.]+-.\\.noarch\\.rpm'")
The Output:
[Pipeline] sh
+ find . -regex '.*package-name-[0-9.]+-.\.noarch\.rpm'
This does not return any result.
Both of these two works in Bash:
find . -regex '.*meos-dash