Re: SAML with Okta is very slow

2020-09-24 Thread Ivan Fernandez Calvo
Is your Jenkins home in a NFS or other network storage? I think so for the mount point, when a user enter a few files are written, because your IO is slow the IO operations are blocked waiting to finish that make the login slower than expected. You probably has more performance issues, I usually

Re: Connection refused from jenkins Centos repo

2020-09-24 Thread Mark Waite
I'm not seeing any indication that pkg.jenkins.io is offline. The IP addresses you listed in the resolving and connecting match with the IP addresses reported by `dig` on my computer. I confirmed that the same wget command you used is working for me from a CentOS 7 computer in an AWS data center

Connection refused from jenkins Centos repo

2020-09-24 Thread Egor Garadja
Hello, i can`t get information about Jenkins centos repo (repodata.xml) and update my Jenkins Server: wget https://pkg.jenkins.io/redhat-stable/repodata/repomd.xml --2020-09-24 21:34:15-- https://pkg.jenkins.io/redhat-stable/repodata/repomd.xml Resolving pkg.jenkins.io (pkg.jenkins.io)... 151.

ANN - 2020 Jenkins elections. Nominations and voter registration are open!

2020-09-24 Thread Oleg Nenashev
Dear all, We are happy to announce the 2020 elections in Jenkins! Nominations are open for governance board and officer positions. These roles are an essential part of Jenkins' community governance and well-being. We invite Jenkins community members to send nominations and participate in voting.

Re: How to reuse an existing workspace?

2020-09-24 Thread jesus fernandez
Thanks for answering so quickly, I saw this but I got confused as I do not use any node I just declared agent any and then the stages, I guess I could do it like this? pipeline { agent { node { label 'master' customWorkspace '/MyExistingPath' }

Re: How to reuse an existing workspace?

2020-09-24 Thread Gian Maxera
I think you can use the "customWorkspace" option. https://www.jenkins.io/doc/book/pipeline/syntax/ I use the declarative and scripted pipelines, so I don't know if there is that option in freestyle too. Cheers, Gianluca. Il giorno gio 24 set 2020 alle ore 15:33 jesus fernandez < jesusfernandez0

How to reuse an existing workspace?

2020-09-24 Thread jesus fernandez
I am quite new to Jenkins, I have been learning on my own, I have a working freestyle project that I want to convert to pipeline now, I have the script (at least I think) but I do not know what to add to make it use the existing workspace from the freestyle job so when pulling from the SCM does

Re: how to execute a bash script in a jenkins declarative pipeline

2020-09-24 Thread jesus fernandez
but what you suggested worked! probaly I need to improve my batch scripting knowledge as it is none at the moment. THANKS A LOT! El jueves, 24 de septiembre de 2020 a las 16:19:09 UTC+2, jesus fernandez escribió: > I also tried with call but I get this error: > ``` > *16:18:43* C:\Users\User\.

Re: how to execute a bash script in a jenkins declarative pipeline

2020-09-24 Thread jesus fernandez
I also tried with call but I get this error: ``` *16:18:43* C:\Users\User\.jenkins\workspace\pipeline_test>call C:/Users/User/.jenkins/workspace/Age_2_DE/Steam Build Scripts/scripts/build_dev.bat *16:18:43* 'C:/Users/User/.jenkins/workspace/Age_2_DE/Steam' is not recognized as an internal or e

Re: Extended Email Publisher - Different recipients based on status

2020-09-24 Thread Slide
Each trigger should have a list of recipients that you can specify. Are you using freestyle or pipeline jobs? On Thu, Sep 24, 2020, 06:37 'Tim Calderwood' via Jenkins Users < jenkinsci-users@googlegroups.com> wrote: > Good day to you > > We are using Extended Email Publisher with great succe

RE: how to execute a bash script in a jenkins declarative pipeline

2020-09-24 Thread Jérôme Godbout
Hi, make sure to escape the path if it has spaces: bat('start “C:/Users/User/.jenkins/workspace/Project/Steam Build Scripts/scripts/build_dev.bat”'); Why do you need the start? Is the command return before completion or something? From: jenkinsci-users@googlegroups.com On Behalf Of jesus fern

Re: SAML with Okta is very slow

2020-09-24 Thread Mark Schroering
Here are the logs in a better format. Sep 24, 2020 7:52:17 AM FINE org.pac4j.saml.client.SAML2Client retrieveUserProfileAdding attribute value mark.schroering@*.com for attribute null Sep 24, 2020 7:52:17 AM FINE org.pac4j.core.profile.UserProfile addAttributeno conversion => key: email

Extended Email Publisher - Different recipients based on status

2020-09-24 Thread 'Tim Calderwood' via Jenkins Users
Good day to you We are using Extended Email Publisher with great success. However, we need to be able to change the recipient list based on the build status. If there a way to change the recipient list bases on pass or fail, and if possible first fail vs always fail? Thanks -- You rec

Why does my Jenkins server crash when running `wrangler publish`? (error 502)

2020-09-24 Thread Mattias Fjellvang
So I am trying to set up a Jenkins deploy pipeline. Almost everything seems to be working fine, except for the last part of the job, which is to run `wrangler publish` (to publish the site to Cloudflare Workers). I have tried running it twice now, and both times, it will fail during the job, an

how to execute a bash script in a jenkins declarative pipeline

2020-09-24 Thread jesus fernandez
I have started recently using Jenkins in windows 10. I have a freestyle job that sync from the SCM, build a C++ solution and then it runs a batch script to upload to steam. I am trying to convert it to pipeline as I realized reading the documentation how much more powerful it is. My problem is

SAML with Okta is very slow

2020-09-24 Thread Mark Schroering
We have noticed it taking a very long time (up to 60s) to complete the SAML auth flow. Here are some logs showing the bigger time gaps. We are on version 1.1.7 of the SAML plugin and running Jenkins version 2.257. Sep 24, 2020 7:52:17 AM FINE org.pac4j.saml.client.SAML2Client retrieveUserPr