Re: How to include other files using (pipeline utility plugin) in jenkins pipeline

2019-01-29 Thread Faad Sayaou
Hi thanks for your reply. Thats exactly what i have but i managed to solve it by doing sh ('zip -ur bin.zip README.md'). It successfully added the readme file in my bin.zip On Wednesday, 30 January 2019 08:27:24 UTC+1, Richard Bywater wrote: > > Based on my reading of what you have put, it loo

copy file from Mac server to Windows share server via jenkins job

2019-01-29 Thread Pradeep Drall
Hi, I created .ipa and .apk file in Mac machine with Jenkins job , now I would like to copy these files from Mac machine to windows shared drive with jenkins job. Please do let me know the plugin name and jenkins pipeline job code. Mac server : {HOME}\Archivefile\abc.ipa and bcd.apk file Win

Re: How to include other files using (pipeline utility plugin) in jenkins pipeline

2019-01-29 Thread Richard Bywater
Based on my reading of what you have put, it looks like you'd end up with a zip file called "bin.zip**/some/other/path/bin.zipREADME.md" - is that definitely what you have in your pipeline? Richard. On Wed, Jan 30, 2019 at 7:59 PM Faad Sayaou wrote: > Hello, > I am using the pipeline utility p

How to include other files using (pipeline utility plugin) in jenkins pipeline

2019-01-29 Thread Faad Sayaou
Hello, I am using the pipeline utility plugín for zipping build results in order to do a nexus upload in my pipeline script. However, I have a readme.md file in my workspace which i will like to include when zipping my build artifacts. I tried the following stages stage ('zip stage') {

Re: [Config File Provider Plugin] how to use plugin in pipeline

2019-01-29 Thread Alejandro Moncayo
After searching around for examples and not finding good ones, I have this one: A sample text properties file with this data: property1=value1 property2=value2 property3=value3 and my pipeline looks like: /// //Pipeline starts here / import groovy.io.FileT

Active Directory plugin warning: TLS is not correctly configured

2019-01-29 Thread Andreas Goeb
Dear fellow Jenkins users, I came across an issue today that I just cannot figure out myself. I hope this is the correct place to ask for help. *Problem:* After some connection issues with Active Directory and following reconfiguration, Jenkins now shows the warning „TLS is not correctly conf

Unable to run git repository on jenkins which is deplyed under tomcat8

2019-01-29 Thread archana . srichandan
Hi All, I am not able to run my git repo on Jenkins ,attach is the screen shot for your reference. Regards, Archana Srichandan -- 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,

Re: Required context class hudson.FilePath is missing

2019-01-29 Thread Keith Phillips
Sorry, yes I did have an agent line but forgot to include it. On Tue, Jan 29, 2019 at 01:13 Baptiste Mathus wrote: > Slide is 100% right for the support aspect. > > I _think_ that this error is expected, given you didn't specify an agent > and are trying to use `deleteDir()`, which does require

Re: Insert or replace a character in a string at a certain position

2019-01-29 Thread Jan Monterrubio
Groovy multi-line string uses 3 " so def jsony = """ { "myJson": "isjson" } """ On Tue, Jan 29, 2019 at 7:08 AM Panneer wrote: > Hi, > > correct. I am using JSON format only.. But jenkin not accepting your > suggested format . > Already i tried. > > Thanks > Panneer > > > > On Tuesday, Janua

Re: Insert or replace a character in a string at a certain position

2019-01-29 Thread Panneer
Hi, correct. I am using JSON format only.. But jenkin not accepting your suggested format . Already i tried. Thanks Panneer On Tuesday, January 29, 2019 at 12:13:37 AM UTC-7, Xiaojie Zhao wrote: > > Are you going to use this as a json string? You might consider the below > example: > > node

Re: Insert or replace a character in a string at a certain position

2019-01-29 Thread Panneer
On Monday, January 28, 2019 at 5:47:10 PM UTC-7, Panneer wrote: > > Hi All, > > I want to insert a character in a string at a certain position in Groovy > pipeline. e.g is here below > > sam1 = {"ttd1": [{:php2val2"}:{"Version" : "02.02.42"} > > i want to convert the above data into below forma

Re: Required context class hudson.FilePath is missing

2019-01-29 Thread Baptiste Mathus
Slide is 100% right for the support aspect. I _think_ that this error is expected, given you didn't specify an agent and are trying to use `deleteDir()`, which does require one (agent). I would be surprised this was actually working as-is on previous Pipeline plugins previous versions. Le lun. 28