Re: unreliable connection between Jenkins master and slaves

2019-03-20 Thread Matevz . langus
Hi, ah, true. I was trying to resolve this with Freestyle project, pipeline works indeed. thanks, Matevz On Tuesday, 19 March 2019 15:34:01 UTC+1, Mark Waite wrote: > > Pipeline jobs already have that behavior. Pipeline durability settings > allow the PIpeline job to continue running on a d

Re: unreliable connection between Jenkins master and slaves

2019-03-20 Thread Viacheslav Dubrovskyi
19.03.2019 15:22, matevz.lan...@borea.si пишет: > Hi, > > I would like to ask whether there is a good solution for scenarios > when there is a bad connection between master and slaves. I have a > problem with long duration tasks where they last for long time. If > network problem happens the task f

Trigger from GIT to Jenkins buildWithParameters ignores parameter value in pipeline

2019-03-20 Thread Jaroslav Koblizek
I have a *post-receive* hook in GIT (works ok) which calls http://ip:port/job/project_name/buildWithParameters?token=abc&ABC=qwe > *ABC* is my parameter which is defined in Jenkins' project as *String parameter* with default value *xyz*. URL has value *qwe*. [image: enter image descripti

Why does my Jenkins not run a .exe file?

2019-03-20 Thread Balu Pillai
Hi all, I am a newbie to Jenkins, but I have been reading and learning a lot in the recent months. First of all, let me say - I am very impressed with Jenkins and that how most of the stuff work out of the box for simple configurations. I have been pushing my self gradually into writing pipeli

Re: Trigger from GIT to Jenkins buildWithParameters ignores parameter value in pipeline

2019-03-20 Thread Aaron Digulla
Use params.ABC "params" contains build parameters, "env" the environment. -- Aaron Digulla -- 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, send an email to jenkinsci-u

Re: Why does my Jenkins not run a .exe file?

2019-03-20 Thread Aaron Digulla
Hi Balu, This is very weird. Some things that you can try: - Run another exe (something simple). Does that work? - Does it work when you put "cmd /c" in front of the name of the executable? - Do you get an error when you add a typo to the name of the executable (maybe Jenkins can't find it)? - D

Re: Jenkins Performance loading slow

2019-03-20 Thread Sverre Moe
We have enabled cache for LDAP authentication Cache size 20 Cache TTL 5 min 0 sec Is there a workaround? Disabling cache perhaps? onsdag 20. mars 2019 00.03.01 UTC+1 skrev Stuart Rowe følgende: > > Since you have the Active Directory plugin installed, can you confirm that > you have caching ena

Re: Jenkins Performance loading slow

2019-03-20 Thread Sverre Moe
The LDAP caching is supposed to increase performance > Some LDAP servers may be slow, or rate limit client requests. In such cases enabling caching may improve performance of Jenkins with the risk of delayed propagation of user changes from LDAP and increased memory usage on the master. onsda

Re: Jenkins Performance loading slow

2019-03-20 Thread Sverre Moe
I tried increasing the cache Size 50 TTL 1 hour Still loading is really slow for some. Refresh main page, fast. Then I try to enter a project. and I click and click and click, wait and wait, but nothing. Then it just loads after several seconds. onsdag 20. mars 2019 15.16.03 UTC+1 skrev Sverre

Jenkins HTTP full-duplex channel timeout when building job from Jenkins CLI Jar file

2019-03-20 Thread srikanth . indurthi
When trying to build a job from Jenkins CLI with jenkins-cli.jar file, with the command. This was working fine few days ago. Need help in resolving this issue please as its blocking the complete automation pipeline. *java -jar /root/jenkins-cli.jar -s https:/// -auth username:authtoken build *

Re: Trigger from GIT to Jenkins buildWithParameters ignores parameter value in pipeline

2019-03-20 Thread Jaroslav Koblizek
Thanks Aaron. The issue was in missing escaping of & in URL. More details I posted to https://stackoverflow.com/questions/55257984/trigger-from-git-to-jenkins-buildwithparameters-ignores-parameter-value-in-pipel/55265035 -- You received this message because you are subscribed to the Google Grou

Re: Jenkins Performance loading slow

2019-03-20 Thread Sverre Moe
I did try to delete the cookies from Jenkins, and it became much faster at loading. onsdag 20. mars 2019 15.22.52 UTC+1 skrev Sverre Moe følgende: > > I tried increasing the cache > Size 50 > TTL 1 hour > > Still loading is really slow for some. > Refresh main page, fast. Then I try to enter a pr

@Whitelist pipeline from multibranch project or allow out of sandbox

2019-03-20 Thread Guybrush Threepwood
hello I have a Jenkins fileas part of a multibranch pipeline But I'm getting seccurityissues when trying to create a directory inside the workspace how can either disable the sandbox for this pipeline or whitelist the methods I need to use from my code Thanks. This is the code: =

Re: @Whitelist pipeline from multibranch project or allow out of sandbox

2019-03-20 Thread Jan Monterrubio
There’s an admin view for white listing method calls. If you don’t have admin access you can’t see it. On Wed, Mar 20, 2019 at 14:03 Guybrush Threepwood wrote: > hello I have a Jenkins fileas part of a multibranch pipeline But I'm > getting seccurityissues when trying to create a directory insid

Re: @Whitelist pipeline from multibranch project or allow out of sandbox

2019-03-20 Thread Mark Waite
I don't think it is safe to whitelist the java File object or its methods. Is there a reason you're not relying on the ability of the dir step to create a directory if one does not exist? Refer to https://stackoverflow.com/questions/42654875/jenkins-pipeline-create-directory for the stackoverflow