Re: Why does somestring.digest('SHA-1') fail in pipeline

2019-05-01 Thread Mykola Nikishov
ZillaYT writes: > I have this simple code and it works on my Macs groovy > > String sigStr = 'iurpeirupru04790734' > sigStr = sigStr.digest('SHA-1') > println sigStr Try sigStr = sigStr.decodeBase64() which is available since Groovy 1.0 [1] digest() is available since 2.5.0 [2]. [1] htt

Re: How can i execute sql commands using jenkins

2019-05-01 Thread farrukhf
Hi My Scenario is that what if i want to run multiple queries using jenkins time to time . As using shell script i need to change the script every time for which i have to login server . On Monday, January 23, 2017 at 7:13:07 PM UTC+5:30, Sivakrishna Yarra wrote: > > Hi, > I am using Jenkins as

Multi select option with open choice

2019-05-01 Thread Idan Shay
Hi, I added Active choice parameter with multi select check box option where I got the info from groovy script and it works great. I want to add one more checkbox with no value but empty textbox (String parameter) so the user can write something else that is not in the list that I show. Is it

Re: Why does somestring.digest('SHA-1') fail in pipeline

2019-05-01 Thread Daniel Beck
> On 1. May 2019, at 02:11, Slide wrote: > > I don't know what version pipeline is using right now. We're on 2.4.x. And as usual, don't (ab)use pipeline as a general purpose programming environment. It's not intended to be, never was. -- You received this message because you are subscribe

Re: Why does somestring.digest('SHA-1') fail in pipeline

2019-05-01 Thread ZillaYT
Jenkins pipeline has been working for us so far, except for these little gotchas. Thanks! On Wednesday, May 1, 2019 at 1:55:16 PM UTC-4, Daniel Beck wrote: > > > > > On 1. May 2019, at 02:11, Slide > > wrote: > > > > I don't know what version pipeline is using right now. > > We're on 2.4.x.