Re: stderr: git: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory

2020-08-12 Thread Amol Raj Itankar
It appears that git is missing and getting it installed on server.

I am in the process of setting up fresh 2.235.3 environment with gitlab 
plugin. I have imported all jobs from old environment and in the process of 
testing them.

Currently the installation is happening on RHEL 7 . The way through my 
testing I have discovered that Git package was missing, 

1. Is there any way I can find out if there is any documentation where I 
know what OS libraries are needed ?

2. If I install certain plugin, dependent plungin gets installed, are these 
plugins self sufficient to work ?, I am trying to find our what OS 
libraries they are dependent on ..

Thanks

On Thursday, August 13, 2020 at 1:04:59 PM UTC+10 Mark Waite wrote:

> Usually that would hint there is something wrong with the installation of 
> command line git on that computer or with a missing PCRE library that 
> command line git requires.  Refer to the following stackoverflow articles 
> for suggestions and approaches:
>
>
> https://stackoverflow.com/questions/8501163/error-while-loading-shared-libraries-libpcre-so-0-cannot-open-shared-object-f
>  
>
>
> https://stackoverflow.com/questions/36374758/watchman-error-while-loading-shared-libraries-libpcre-so-1
>
>
> https://serverfault.com/questions/290330/fixing-shared-pcre-library-on-centos
>  
>
> On Wed, Aug 12, 2020 at 9:00 PM Amol Raj Itankar  
> wrote:
>
>> Hello All,
>>
>> I am getting following error when trying to scan multi branch user
>>
>> Currently we have Jenkins 2.45 and moving to 2.235.3 on a seperate RHEL 
>> machine
>> Can someone please help to sort out the issue ?
>> ---
>>
>> Started by user Admin  [Thu Aug 13 
>> 12:30:50 AEST 2020] Starting branch indexing... > git --version # 
>> timeout=10 > git --version # timeout=10 > git --version # timeout=10 using 
>> GIT_SSH to set credentials > git ls-remote 
>> g...@pcalinvm97.corp.chedha.net:chedintegrationdelivery/integration_12c.git 
>> # timeout=10 ERROR: [Thu Aug 13 12:30:50 AEST 2020] Could not update folder 
>> level actions from source 19d6de59-5bae-471d-9399-e97d29128e72 
>> hudson.plugins.git.GitException: Command "git ls-remote 
>> g...@pcalinvm97.corp.chedha.net:chedintegrationdelivery/integration_12c.git" 
>> returned status code 127: stdout: stderr: git: error while loading shared 
>> libraries: libpcre.so.1: cannot open shared object file: No such file or 
>> directory at 
>> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2437)
>>  
>> at 
>> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:2051)
>>  
>> at 
>> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1951)
>>  
>> at 
>> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1942)
>>  
>> at 
>> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.getRemoteReferences(CliGitAPIImpl.java:3368)
>>  
>> at 
>> jenkins.plugins.git.AbstractGitSCMSource.retrieveActions(AbstractGitSCMSource.java:1148)
>>  
>> at jenkins.scm.api.SCMSource.fetchActions(SCMSource.java:848) at 
>> jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:598)
>>  
>> at 
>> com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:278)
>>  
>> at 
>> com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:165)
>>  
>> at 
>> jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:1032)
>>  
>> at hudson.model.ResourceController.execute(ResourceController.java:97) at 
>> hudson.model.Executor.run(Executor.java:428) [Thu Aug 13 12:30:50 AEST 
>> 2020] Finished branch indexing. Indexing took 46 ms FATAL: Failed to 
>> recompute children of development_pipeline hudson.plugins.git.GitException: 
>> Command "git ls-remote 
>> g...@pcalinvm97.corp.chedha.net:chedintegrationdelivery/integration_12c.git" 
>> returned status code 127: stdout: stderr: git: error while loading shared 
>> libraries: libpcre.so.1: cannot open shared object file: No such file or 
>> directory at 
>> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2437)
>>  
>> at 
>> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:2051)
>>  
>> at 
>> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1951)
>>  
>> at 
>> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1942)
>>  
>> at 
>> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.getRemoteReferences(CliGitAPIImpl.java:3368)
>>  
>> at 
>> jenkins.plugins.git.AbstractGitSCMSource.retrieveActions(AbstractGitSCMSource.java:1148)
>>  
>> at jenkins.scm.api.SCMSource.fetchActions(SCMSource.java:848) at 
>> jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:598)
>>  
>> at 
>> 

Re: stderr: git: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory

2020-08-12 Thread Mark Waite
Usually that would hint there is something wrong with the installation of
command line git on that computer or with a missing PCRE library that
command line git requires.  Refer to the following stackoverflow articles
for suggestions and approaches:

https://stackoverflow.com/questions/8501163/error-while-loading-shared-libraries-libpcre-so-0-cannot-open-shared-object-f


https://stackoverflow.com/questions/36374758/watchman-error-while-loading-shared-libraries-libpcre-so-1

https://serverfault.com/questions/290330/fixing-shared-pcre-library-on-centos


On Wed, Aug 12, 2020 at 9:00 PM Amol Raj Itankar 
wrote:

> Hello All,
>
> I am getting following error when trying to scan multi branch user
>
> Currently we have Jenkins 2.45 and moving to 2.235.3 on a seperate RHEL
> machine
> Can someone please help to sort out the issue ?
> ---
>
> Started by user Admin  [Thu Aug 13
> 12:30:50 AEST 2020] Starting branch indexing... > git --version #
> timeout=10 > git --version # timeout=10 > git --version # timeout=10 using
> GIT_SSH to set credentials > git ls-remote 
> g...@pcalinvm97.corp.chedha.net:chedintegrationdelivery/integration_12c.git
> # timeout=10 ERROR: [Thu Aug 13 12:30:50 AEST 2020] Could not update folder
> level actions from source 19d6de59-5bae-471d-9399-e97d29128e72
> hudson.plugins.git.GitException: Command "git ls-remote
> g...@pcalinvm97.corp.chedha.net:chedintegrationdelivery/integration_12c.git"
> returned status code 127: stdout: stderr: git: error while loading shared
> libraries: libpcre.so.1: cannot open shared object file: No such file or
> directory at
> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2437)
> at
> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:2051)
> at
> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1951)
> at
> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1942)
> at
> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.getRemoteReferences(CliGitAPIImpl.java:3368)
> at
> jenkins.plugins.git.AbstractGitSCMSource.retrieveActions(AbstractGitSCMSource.java:1148)
> at jenkins.scm.api.SCMSource.fetchActions(SCMSource.java:848) at
> jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:598)
> at
> com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:278)
> at
> com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:165)
> at
> jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:1032)
> at hudson.model.ResourceController.execute(ResourceController.java:97) at
> hudson.model.Executor.run(Executor.java:428) [Thu Aug 13 12:30:50 AEST
> 2020] Finished branch indexing. Indexing took 46 ms FATAL: Failed to
> recompute children of development_pipeline hudson.plugins.git.GitException:
> Command "git ls-remote 
> g...@pcalinvm97.corp.chedha.net:chedintegrationdelivery/integration_12c.git"
> returned status code 127: stdout: stderr: git: error while loading shared
> libraries: libpcre.so.1: cannot open shared object file: No such file or
> directory at
> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2437)
> at
> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:2051)
> at
> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1951)
> at
> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1942)
> at
> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.getRemoteReferences(CliGitAPIImpl.java:3368)
> at
> jenkins.plugins.git.AbstractGitSCMSource.retrieveActions(AbstractGitSCMSource.java:1148)
> at jenkins.scm.api.SCMSource.fetchActions(SCMSource.java:848) at
> jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:598)
> at
> com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:278)
> at
> com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:165)
> at
> jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:1032)
> at hudson.model.ResourceController.execute(ResourceController.java:97) at
> hudson.model.Executor.run(Executor.java:428) Finished: FAILURE
>
> --
> 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-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/fbfd7b6f-6a00-4b44-aa24-c56111b957ddn%40googlegroups.com
> 
> .
>


stderr: git: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory

2020-08-12 Thread Amol Raj Itankar
Hello All,

I am getting following error when trying to scan multi branch user

Currently we have Jenkins 2.45 and moving to 2.235.3 on a seperate RHEL 
machine
Can someone please help to sort out the issue ?
---

Started by user Admin  [Thu Aug 13 
12:30:50 AEST 2020] Starting branch indexing... > git --version # 
timeout=10 > git --version # timeout=10 > git --version # timeout=10 using 
GIT_SSH to set credentials > git ls-remote 
g...@pcalinvm97.corp.chedha.net:chedintegrationdelivery/integration_12c.git 
# timeout=10 ERROR: [Thu Aug 13 12:30:50 AEST 2020] Could not update folder 
level actions from source 19d6de59-5bae-471d-9399-e97d29128e72 
hudson.plugins.git.GitException: Command "git ls-remote 
g...@pcalinvm97.corp.chedha.net:chedintegrationdelivery/integration_12c.git" 
returned status code 127: stdout: stderr: git: error while loading shared 
libraries: libpcre.so.1: cannot open shared object file: No such file or 
directory at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2437)
 
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:2051)
 
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1951)
 
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1942)
 
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.getRemoteReferences(CliGitAPIImpl.java:3368)
 
at 
jenkins.plugins.git.AbstractGitSCMSource.retrieveActions(AbstractGitSCMSource.java:1148)
 
at jenkins.scm.api.SCMSource.fetchActions(SCMSource.java:848) at 
jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:598) 
at 
com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:278)
 
at 
com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:165)
 
at 
jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:1032)
 
at hudson.model.ResourceController.execute(ResourceController.java:97) at 
hudson.model.Executor.run(Executor.java:428) [Thu Aug 13 12:30:50 AEST 
2020] Finished branch indexing. Indexing took 46 ms FATAL: Failed to 
recompute children of development_pipeline hudson.plugins.git.GitException: 
Command "git ls-remote 
g...@pcalinvm97.corp.chedha.net:chedintegrationdelivery/integration_12c.git" 
returned status code 127: stdout: stderr: git: error while loading shared 
libraries: libpcre.so.1: cannot open shared object file: No such file or 
directory at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2437)
 
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:2051)
 
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1951)
 
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1942)
 
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.getRemoteReferences(CliGitAPIImpl.java:3368)
 
at 
jenkins.plugins.git.AbstractGitSCMSource.retrieveActions(AbstractGitSCMSource.java:1148)
 
at jenkins.scm.api.SCMSource.fetchActions(SCMSource.java:848) at 
jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:598) 
at 
com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:278)
 
at 
com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:165)
 
at 
jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:1032)
 
at hudson.model.ResourceController.execute(ResourceController.java:97) at 
hudson.model.Executor.run(Executor.java:428) Finished: FAILURE  

-- 
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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/fbfd7b6f-6a00-4b44-aa24-c56111b957ddn%40googlegroups.com.


Re: Where is source for the "withSonarQubeEnv" and "waitForQualityGate" pipeline steps?

2020-08-12 Thread Richard Bywater
I'm not sure if
https://github.com/SonarSource/sonar-scanner-jenkins/pull/123 is
relevant or not (it talks about different URLs being used which is kind of
your issue but I couldn't really make sense of what it was actually solving
:D)

Richard.

On Thu, 13 Aug 2020 at 12:51, David Karr  wrote:

> Thanks. That's not giving me an obvious answer to my problem. I guess I'll
> have to post more details in a separate question.
>
> On Wednesday, August 12, 2020 at 5:13:50 PM UTC-7, Richard Bywater wrote:
>>
>>
>> https://github.com/jenkinsci/sonarqube-plugin/blob/master/src/main/java/org/sonarsource/scanner/jenkins/pipeline/WaitForQualityGateStep.java
>>  is
>> probably what you are looking for.
>>
>> Richard.
>>
>> On Thu, 13 Aug 2020 at 11:27, David Karr  wrote:
>>
>>> I'm trying to troubleshoot a problem with our integration between
>>> Jenkins and our enterprise SonarQube instance. I need to see the source
>>> code for the "waitForQualityGate()" pipeline step. Is that available
>>> somewhere?
>>>
>>> We're using a SonarQube server definition that uses "http:", but the
>>> "waitForQualityGate()" step appears to be querying tasks from sonarqube
>>> using the "https:" url.  I need to understand why it is doing that.
>>>
>>> --
>>> 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 jenkins...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/jenkinsci-users/8b6301de-7d0e-480a-ba35-c1b09f82e130o%40googlegroups.com
>>> 
>>> .
>>>
>> --
> 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-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/5fa593d9-5a4c-4edb-85a8-081d6950f3efo%40googlegroups.com
> 
> .
>

-- 
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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAAy0hwdw-s1Y_57eZr05AYgGyzCwVXHGf2w-Pnwk5bBnGFAAeA%40mail.gmail.com.


Re: Where is source for the "withSonarQubeEnv" and "waitForQualityGate" pipeline steps?

2020-08-12 Thread David Karr
Thanks. That's not giving me an obvious answer to my problem. I guess I'll 
have to post more details in a separate question.

On Wednesday, August 12, 2020 at 5:13:50 PM UTC-7, Richard Bywater wrote:
>
>
> https://github.com/jenkinsci/sonarqube-plugin/blob/master/src/main/java/org/sonarsource/scanner/jenkins/pipeline/WaitForQualityGateStep.java
>  is 
> probably what you are looking for.
>
> Richard.
>
> On Thu, 13 Aug 2020 at 11:27, David Karr  > wrote:
>
>> I'm trying to troubleshoot a problem with our integration between Jenkins 
>> and our enterprise SonarQube instance. I need to see the source code for 
>> the "waitForQualityGate()" pipeline step. Is that available somewhere?
>>
>> We're using a SonarQube server definition that uses "http:", but the 
>> "waitForQualityGate()" step appears to be querying tasks from sonarqube 
>> using the "https:" url.  I need to understand why it is doing that.
>>
>> -- 
>> 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 jenkins...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/8b6301de-7d0e-480a-ba35-c1b09f82e130o%40googlegroups.com
>>  
>> 
>> .
>>
>

-- 
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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/5fa593d9-5a4c-4edb-85a8-081d6950f3efo%40googlegroups.com.


Re: Where is source for the "withSonarQubeEnv" and "waitForQualityGate" pipeline steps?

2020-08-12 Thread Richard Bywater
https://github.com/jenkinsci/sonarqube-plugin/blob/master/src/main/java/org/sonarsource/scanner/jenkins/pipeline/WaitForQualityGateStep.java
is
probably what you are looking for.

Richard.

On Thu, 13 Aug 2020 at 11:27, David Karr  wrote:

> I'm trying to troubleshoot a problem with our integration between Jenkins
> and our enterprise SonarQube instance. I need to see the source code for
> the "waitForQualityGate()" pipeline step. Is that available somewhere?
>
> We're using a SonarQube server definition that uses "http:", but the
> "waitForQualityGate()" step appears to be querying tasks from sonarqube
> using the "https:" url.  I need to understand why it is doing that.
>
> --
> 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-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/8b6301de-7d0e-480a-ba35-c1b09f82e130o%40googlegroups.com
> 
> .
>

-- 
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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAAy0hweeua7ufu3o81zVko_xTjpXq67soVADvm1%3DLkEd5n5f2A%40mail.gmail.com.


Where is source for the "withSonarQubeEnv" and "waitForQualityGate" pipeline steps?

2020-08-12 Thread David Karr
I'm trying to troubleshoot a problem with our integration between Jenkins 
and our enterprise SonarQube instance. I need to see the source code for 
the "waitForQualityGate()" pipeline step. Is that available somewhere?

We're using a SonarQube server definition that uses "http:", but the 
"waitForQualityGate()" step appears to be querying tasks from sonarqube 
using the "https:" url.  I need to understand why it is doing that.

-- 
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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/8b6301de-7d0e-480a-ba35-c1b09f82e130o%40googlegroups.com.


How to update expired default jenkins.cer and JKS

2020-08-12 Thread Mohtashim S
My jenkins.cer and saml-jenkins-keystore.jks under JENKINS_HOME has 
certificate that has expired causing integration with ADFS using SAML 2.0 
to fail.

I did not find any documentation for how to update the certificate or 
keystore. 

Infact, I do not even know the password for making changes to the 
saml-jenkins-keystore.jks file.

Can you please help direct me as to what needs to be done inorder to get 
the jenkins.cer and saml-jenkins-keystore.jks renewed. 

I tried deleting both jenkins.cer and saml-jenkins-keystore.jks and 
restarting Jenkins expecting it to recreate both the files afresh. 

However, a restart does not create jenkins.cer and 
saml-jenkins-keystore.jks file. 

I need  to change the validility of jenkins.cer and 
saml-jenkins-keystore.jks for the ADFS integration to work. 

Kindly suggest.


-- 
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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/83588c47-6795-4255-af1f-d6cc12b0a3e2o%40googlegroups.com.


Reference a system property in pipeline?

2020-08-12 Thread Alan Sparks
I have some custom properties set on my Jenkins instances, and I'd like to get 
one of those in a pipeline. Having trouble finding out how.

I have a set of properties set with System.setProperty() in my Jenkins 
init.groovy.  Can see them in the Jenkins System Information page.  I've tried 
many permutations of env.MY_PROP, but all are null.

Tried System.getProperty(), but that requires script approval.  Is there any 
other way to get this without an approval?
-Alan

-- 
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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/DM6PR18MB3306760BB14766C0D5D1C9D8C5420%40DM6PR18MB3306.namprd18.prod.outlook.com.


Jenkins back up to remote Jenkins server

2020-08-12 Thread jaychandran subramanian
Hi ,

I have two Jenkins server running in VM .One as Master and other as backup.

needs to know the steps for if Master jenkins VM crashed , needs to bringup 
backup Jenkins remote server .

Kindly provide any link or url or steps for Backup jenkins bringup.

Thanks
Jay

-- 
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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/950968dc-68d5-4afb-b865-ba7d8d949887n%40googlegroups.com.


Jenkins Search bug

2020-08-12 Thread brause89
hi,
I have a problem with our jenkins:
If I use the search function for searching something like "test", I get a 
404 error.
If I use it to search for "test", I get a normal response (nothing 
found).
And if I use it to search for something that definitely exists, I get that 
existing job.

But how can I "clean" the search results of old Jenkins jobs and folders 
that have been renamed, moved or deleted? Because I guess this is what 
happens when I type "test": I get redirected to /job/Test/ which doesn't 
exist (anymore?).

Greetings
David

-- 
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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/d07b6791-ecce-4321-aa48-a228b9376976n%40googlegroups.com.


Strange SAML-jenkins certificate expired causing JENKINS-ADFS integration SSO login to fail

2020-08-12 Thread Shifa Shaikh


We have been login to Jenkins using SSO from the past one year without any 
issues.


Today, however the SSO failed for the entire team and no one can login 
anymore.


After providing the SSO AD credentials we are thrown to the SAMLLougout 
page.


[image: SAMLLOGOUT.png]


Upon investigation the ADFS team informed that one of the certificates from 
Jenkins with `CN=SAML-jenkins` has expired causing the login to fail. The 
snapshot of the expired certificate as shared by the ADFS team for our 
Jenkins is below:


[image: Capture1.PNG]


[image: Capture2.PNG]


We have never created this certificate nor do we have any idea about it. 


Is this something that comes default with the Jenkins SAML plugin or the 
Jenkins product? Please let me know.


Now, that we are not able to login to Jenkins how do we go about fixing the 
issue and updating the certificate ?


I'm using the latest version of the standalone Jenkins war.


Any help guidance would be appreciated.

-- 
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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/dffbebdf-2e75-4d8d-a9be-e2a6b261e1d7o%40googlegroups.com.