java.lang.NoSuchMethodError: No such DSL method 'withKubeConfig' found among steps [approveReceivedEvent,

2020-12-17 Thread anilkumar panditi
Hi,
My Pipeline is failing with below error.

java.lang.NoSuchMethodError: No such DSL method 'withKubeConfig' found 
among steps [approveReceivedEvent, approveRequestedEvent, archive, bat, 
build, catchError, checkout, container, containerLog, createEvent, 
deleteDir, dir, dockerFingerprintFrom, dockerFingerprintRun, echo, 
emailext, emailextrecipients, envVarsForTool, error, fileExists, 
findBuildScans, getContext, git, input, isUnix, jiraComment, 
jiraIssueSelector, jiraSearch, junit, kubernetesApply, kubernetesDeploy, 
library, libraryResource, load, lock, mail, milestone, node, parallel, 
podTemplate, powershell, properties, publishChecks, publishHTML, pwd, pwsh, 
readFile, readTrusted, resolveScm, retry, script, 
setGitHubPullRequestStatus, sh, slackSend, slackUploadFile, 
slackUserIdFromEmail, slackUserIdsFromCommitters, sleep, stage, stash, 
step, svn, timeout, timestamps, tm, tool, unarchive, unstable, unstash, 
validateDeclarativePipeline, waitUntil, warnError, withContext, 
withCredentials, withDockerContainer, withDockerRegistry, withDockerServer, 
withEnv, withGradle, wrap, writeFile, ws] or symbols [GenericTrigger, 
Number, Open, all, allBranchesSame, allOf, allowRunOnStatus, always, ant, 
antFromApache, antOutcome, antPath, antTarget, any, anyOf, apiToken, 
architecture, archiveArtifacts, artifactManager, asIsGITScm, 
authorizationMatrix, batchFile, bitbucket, bitbucketBranchDiscovery, 
bitbucketForkDiscovery, bitbucketPublicRepoPullRequestFilter, 
bitbucketPullRequestDiscovery, bitbucketSshCheckout, bitbucketTagDiscovery  

I have installed Kubernetes Plugin and added credentials.Any Idea?

-- 
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/e5dcb413-96bf-4339-aac3-9cec315e8efdn%40googlegroups.com.


Blue Ocean Github enterprise token does not work

2020-12-16 Thread anilkumar panditi
Hi,
I am creating a pipeline in blue ocean with github enterprise and when i 
enter the token and connect nothing is happening and i could not see 
anything in logs .

I tried the work around from below , downgrading the GitHub API plugin 
version to 1.106 , but when downgraded its blue ocean github enterprise 
doesnt even load .


https://stackoverflow.com/questions/61083892/jenkins-blue-ocean-plugin-fails-to-connect-to-github

please help, any idea?

-- 
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/3ffbe007-9dfb-44b3-9f56-8273a5d9e183n%40googlegroups.com.


Re: Jenkins Integration with LDAP - Testing Connection Fails

2020-12-31 Thread anilkumar panditi
Hi MK,
i am getting ldap_bind: Invalid credentials (49)

what are the credentials need to give here.

Thanks,
Anil

On Saturday, 22 August 2020 at 10:00:55 UTC+5:30 Mk wrote:

> Hi Jeremy, Thanks for the reply. Actually *ldapsearch* command on jenkins 
> master server terminal works. Below is the response. 
>
> ldapsearch -x -h ad-ldap-server.com -p 389 -D 
> "CN=jenkins,OU=Users,OU=Division,OU=Team,DC=domain,DC=com"  -b 
> "OU=Users,OU=Division,OU=Team,DC=domain,DC=com" "(sAMAccountName=jenkins)" 
> -W
> Enter LDAP Password:
> # extended LDIF
> #
> # LDAPv3
> # base  with scope subtree
> # filter: (sAMAccountName=jenkins)
> # requesting: ALL
> #
>
> # search result
> search: 2
> result: 0 Success
>
> # numResponses: 2
> # numEntries: 1
>
> Since i am getting reponse so seems i have permission to query the 
> AD(LDAP) server.
>
> Also tried *Login name case sensitivity* & *Group name case sensitivity* 
> - Both with *Case sensitive* & *Case insensitive *but still same result. 
>
>
>
> On Friday, August 21, 2020 at 11:44:56 PM UTC+5:30, jeremy mordkoff wrote:
>>
>> sounds like the user is valid but not a member of any groups. Is that 
>> possible? 
>>
>>
>>
>> On Thursday, August 20, 2020 at 1:28:21 PM UTC-4 Mk wrote:
>>
>>> Hi Team,
>>>
>>> I am trying to configure LDAP(AD) Authentication in our Jenkins, Below 
>>> is my configuration settings, But test LDAP connection is failing.
>>>
>>> Environment:-
>>> Jenkins Version - 2.235.5(LTS)
>>> LDAP Plugin - 1.24
>>>
>>>
>>> Server - ldap://ad-ldap-server.com
>>> root DN: DC=domain,DC=com
>>> User search base: OU=Users,OU=Division,OU=Team,DC=domain,DC=com
>>> User search filter: sAMAccountName={0}
>>> Group search base: OU=Users,OU=Division,OU=Team,DC=domain,DC=com
>>> Group search filter: (&(objectclass=group)(cn={0}))
>>> Group membership
>>>   Group membership filter - 
>>> (&(objectCategory=group)(member:1.2.840.113556.1.4.1941:={0}))
>>> Manager DN: CN=jenkins,OU=Users,OU=Division,OU=Team,DC=domain,DC=com
>>> Manager Password: password
>>> Display Name LDAP attribute: displayname
>>> Email Address LDAP attribute: mail
>>>
>>>
>>> Error Message:-
>>>
>>> [image: 1.png]
>>>
>>> Please let me know what is missing in my configuration?. Any help 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/ff6057a3-0c96-48d9-ae83-7c8cfe234fe9n%40googlegroups.com.


Re: Jenkins Integration with LDAP - Testing Connection Fails

2020-12-31 Thread anilkumar panditi
Okay, can you help how to create manager credentials, also i am trying from 
the command (what is the user id need to give in this command)

ldapsearch -x -h 
ad-ldap-server.com -p 389 -D 
"CN=jenkins,OU=Users,OU=Division,OU=Team,DC=domain,DC=com"  -b 
"OU=Users,OU=Division,OU=Team,DC=domain,DC=com" "(sAMAccountName=jenkins)" -W  

Thanks,
Anil

On Friday, 1 January 2021 at 12:33:02 UTC+5:30 Mk wrote:

> Hi Anil,
>
> Manager and manager password need to configured to validate the test 
> connection.
>
> On Fri, 1 Jan 2021, 12:29 pm anilkumar panditi,  
> wrote:
>
>> Hi MK,
>> i am getting ldap_bind: Invalid credentials (49)
>>
>> what are the credentials need to give here.
>>
>> Thanks,
>> Anil
>>
>> On Saturday, 22 August 2020 at 10:00:55 UTC+5:30 Mk wrote:
>>
>>> Hi Jeremy, Thanks for the reply. Actually *ldapsearch* command on 
>>> jenkins master server terminal works. Below is the response. 
>>>
>>> ldapsearch -x -h ad-ldap-server.com -p 389 -D 
>>> "CN=jenkins,OU=Users,OU=Division,OU=Team,DC=domain,DC=com"  -b 
>>> "OU=Users,OU=Division,OU=Team,DC=domain,DC=com" 
>>> "(sAMAccountName=jenkins)" -W
>>> Enter LDAP Password:
>>> # extended LDIF
>>> #
>>> # LDAPv3
>>> # base  with scope subtree
>>> # filter: (sAMAccountName=jenkins)
>>> # requesting: ALL
>>> #
>>>
>>> # search result
>>> search: 2
>>> result: 0 Success
>>>
>>> # numResponses: 2
>>> # numEntries: 1
>>>
>>> Since i am getting reponse so seems i have permission to query the 
>>> AD(LDAP) server.
>>>
>>> Also tried *Login name case sensitivity* & *Group name case sensitivity* 
>>> - Both with *Case sensitive* & *Case insensitive *but still same 
>>> result. 
>>>
>>>
>>>
>>> On Friday, August 21, 2020 at 11:44:56 PM UTC+5:30, jeremy mordkoff 
>>> wrote:
>>>>
>>>> sounds like the user is valid but not a member of any groups. Is that 
>>>> possible? 
>>>>
>>>>
>>>>
>>>> On Thursday, August 20, 2020 at 1:28:21 PM UTC-4 Mk wrote:
>>>>
>>>>> Hi Team,
>>>>>
>>>>> I am trying to configure LDAP(AD) Authentication in our Jenkins, Below 
>>>>> is my configuration settings, But test LDAP connection is failing.
>>>>>
>>>>> Environment:-
>>>>> Jenkins Version - 2.235.5(LTS)
>>>>> LDAP Plugin - 1.24
>>>>>
>>>>>
>>>>> Server - ldap://ad-ldap-server.com
>>>>> root DN: DC=domain,DC=com
>>>>> User search base: OU=Users,OU=Division,OU=Team,DC=domain,DC=com
>>>>> User search filter: sAMAccountName={0}
>>>>> Group search base: OU=Users,OU=Division,OU=Team,DC=domain,DC=com
>>>>> Group search filter: (&(objectclass=group)(cn={0}))
>>>>> Group membership
>>>>>   Group membership filter - 
>>>>> (&(objectCategory=group)(member:1.2.840.113556.1.4.1941:={0}))
>>>>> Manager DN: CN=jenkins,OU=Users,OU=Division,OU=Team,DC=domain,DC=com
>>>>> Manager Password: password
>>>>> Display Name LDAP attribute: displayname
>>>>> Email Address LDAP attribute: mail
>>>>>
>>>>>
>>>>> Error Message:-
>>>>>
>>>>> [image: 1.png]
>>>>>
>>>>> Please let me know what is missing in my configuration?. Any help 
>>>>> 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-use...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/ff6057a3-0c96-48d9-ae83-7c8cfe234fe9n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/jenkinsci-users/ff6057a3-0c96-48d9-ae83-7c8cfe234fe9n%40googlegroups.com?utm_medium=email_source=footer>
>> .
>>
>

-- 
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/b189583d-7246-41f2-89d3-0eef98e6c718n%40googlegroups.com.


Re: Jenkins Integration with LDAP - Testing Connection Fails

2021-01-01 Thread anilkumar panditi
Hi Mk,
Yes i have the CN,OU details i was confused what is this Manager DN 
password, also when we click on Test it prompt for credentials which i am 
giving the LDAP admin credentials.

On Friday, 1 January 2021 at 13:15:02 UTC+5:30 Mk wrote:

> Manager credentials should be your domain LDAP Credentials. So it requires 
> the complete CN,OU details. To get that contact your domain administrators. 
>
> On Fri, 1 Jan 2021, 1:10 pm anilkumar panditi,  
> wrote:
>
>> Okay, can you help how to create manager credentials, also i am trying 
>> from the command (what is the user id need to give in this command)
>>
>> ldapsearch -x -h ad-ldap-server.com
>>  -p 389 -D "CN=jenkins,OU=Users,OU=Division,OU=Team,DC=domain,DC=com"  -b 
>> "OU=Users,OU=Division,OU=Team,DC=domain,DC=com" "(sAMAccountName=jenkins)" 
>> -W  
>>
>> Thanks,
>> Anil
>>
>> On Friday, 1 January 2021 at 12:33:02 UTC+5:30 Mk wrote:
>>
>>> Hi Anil,
>>>
>>> Manager and manager password need to configured to validate the test 
>>> connection.
>>>
>>> On Fri, 1 Jan 2021, 12:29 pm anilkumar panditi,  
>>> wrote:
>>>
>>>> Hi MK,
>>>> i am getting ldap_bind: Invalid credentials (49)
>>>>
>>>> what are the credentials need to give here.
>>>>
>>>> Thanks,
>>>> Anil
>>>>
>>>> On Saturday, 22 August 2020 at 10:00:55 UTC+5:30 Mk wrote:
>>>>
>>>>> Hi Jeremy, Thanks for the reply. Actually *ldapsearch* command on 
>>>>> jenkins master server terminal works. Below is the response. 
>>>>>
>>>>> ldapsearch -x -h ad-ldap-server.com -p 389 -D 
>>>>> "CN=jenkins,OU=Users,OU=Division,OU=Team,DC=domain,DC=com"  -b 
>>>>> "OU=Users,OU=Division,OU=Team,DC=domain,DC=com" 
>>>>> "(sAMAccountName=jenkins)" -W
>>>>> Enter LDAP Password:
>>>>> # extended LDIF
>>>>> #
>>>>> # LDAPv3
>>>>> # base  with scope 
>>>>> subtree
>>>>> # filter: (sAMAccountName=jenkins)
>>>>> # requesting: ALL
>>>>> #
>>>>>
>>>>> # search result
>>>>> search: 2
>>>>> result: 0 Success
>>>>>
>>>>> # numResponses: 2
>>>>> # numEntries: 1
>>>>>
>>>>> Since i am getting reponse so seems i have permission to query the 
>>>>> AD(LDAP) server.
>>>>>
>>>>> Also tried *Login name case sensitivity* & *Group name case 
>>>>> sensitivity* - Both with *Case sensitive* & *Case insensitive *but 
>>>>> still same result. 
>>>>>
>>>>>
>>>>>
>>>>> On Friday, August 21, 2020 at 11:44:56 PM UTC+5:30, jeremy mordkoff 
>>>>> wrote:
>>>>>>
>>>>>> sounds like the user is valid but not a member of any groups. Is that 
>>>>>> possible? 
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Thursday, August 20, 2020 at 1:28:21 PM UTC-4 Mk wrote:
>>>>>>
>>>>>>> Hi Team,
>>>>>>>
>>>>>>> I am trying to configure LDAP(AD) Authentication in our Jenkins, 
>>>>>>> Below is my configuration settings, But test LDAP connection is failing.
>>>>>>>
>>>>>>> Environment:-
>>>>>>> Jenkins Version - 2.235.5(LTS)
>>>>>>> LDAP Plugin - 1.24
>>>>>>>
>>>>>>>
>>>>>>> Server - ldap://ad-ldap-server.com
>>>>>>> root DN: DC=domain,DC=com
>>>>>>> User search base: OU=Users,OU=Division,OU=Team,DC=domain,DC=com
>>>>>>> User search filter: sAMAccountName={0}
>>>>>>> Group search base: OU=Users,OU=Division,OU=Team,DC=domain,DC=com
>>>>>>> Group search filter: (&(objectclass=group)(cn={0}))
>>>>>>> Group membership
>>>>>>>   Group membership filter - 
>>>>>>> (&(objectCategory=group)(member:1.2.840.113556.1.4.1941:={0}))
>>>>>>> Manager DN: CN=jenkins,OU=Users,OU=Division,OU=Team,DC=domain,DC=com
>>>>>>> Manager Password: password
>>>>>>> Display Name LDAP attribute: displayname
>>>>>>>

Re: run jenkins pipeline fails "docker": error=2, No such file or directory

2021-01-28 Thread anilkumar panditi
Hi,
I have Jenkins running as docker container and in my Jenkins File , in 
initialize stage i have following which is working also , i have installed 
docker from Docker hub latest. Not sure where is the problem . Pipeline is 
failing with the following.

ava.io.IOException: error=2, No such file or directory 


 
at java.lang.UNIXProcess.forkAndExec(Native Method) 


 
at java.lang.UNIXProcess.(UNIXProcess.java:247) 


 
at java.lang.ProcessImpl.start(ProcessImpl.java:134) 


 
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029) 

Caused:
 
java.io.IOException: Cannot run program "docker": error=2, No such file or 
directory 


 
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048) 


 
at hudson.Proc$LocalProc.(Proc.java:250) 


 
at hudson.Proc$LocalProc.(Proc.java:219) 


 
at hudson.Launcher$LocalLauncher.launch(Launcher.java:936) 


 
at hudson.Launcher$ProcStarter.start(Launcher.java:454) 


 
at hudson.Launcher$ProcStarter.join(Launcher.java:465) 


 
at 
org.jenkinsci.plugins.docker.commons.impl.RegistryKeyMaterialFactory.materialize(RegistryKeyMaterialFactory.java:101)
 



 
at 
org.jenkinsci.plugins.docker.workflow.AbstractEndpointStepExecution2.doStart(AbstractEndpointStepExecution2.java:53)
 



 
at 
org.jenkinsci.plugins.workflow.steps.GeneralNonBlockingStepExecution.lambda$run$0(GeneralNonBlockingStepExecution.java:77)
 



 
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) 


 
at java.util.concurrent.FutureTask.run(FutureTask.java:266) 


 
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) 



 
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) 



 
at java.lang.Thread.run(Thread.java:748)


On Monday, 27 November 2017 at 01:21:50 UTC+5:30 lynn.x...@gmail.com wrote:

>
> Oleg Nenashev 于2017年11月26日 周日上午8:55写道:
>
>> Hi,
>>
>> Docker CLI tool needs to be installed on the machine and available in 
>> PATH if you do not specify a Docker tool installation to be used. 
>> See the withTool() documentation if you need to specify a tool path: 
>> https://github.com/jenkinsci/docker-workflow-plugin/blob/f32bca9148471ff7381f5404a747b0151305996e/src/main/resources/org/jenkinsci/plugins/docker/workflow/DockerDSL/help.jelly#L31-L37
>>
>
> Thanks, but you can see from the log that Docker pull already succeeded so 
> curious why Docker inspect fails 
>
>>
>> Best regards,
>> Oleg Nenashev
>>
>>
>> пятница, 24 ноября 2017 г., 11:27:02 UTC+3 пользователь Lynn Lin написал:
>>
>>> hi
>>>
>>> I am following this guide to have a run jenkins pipeline in my mac  
>>> https://jenkins.io/doc/pipeline/tour/agents/ 
>>>
>>> pipeline {
>>> agent {

cleanup jenkins

2021-06-09 Thread anilkumar panditi
Hi,
I have jenkins instance deployed as a pod on Openshift with Persistent 
Volume attached.

How to cleanup Jenkins from time time to make sure that Persistent volume 
is not full. Please help

Thanks,
Anil

-- 
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/57a779a9-aa49-4d77-923f-00461ad9e754n%40googlegroups.com.


Unable to install ECR plugin

2021-05-27 Thread anilkumar panditi
Hi,
I am trying to install amazon ecr plugin 
And its trying to install attached dependent plugins as well

but Amazon webservices SDK ,failing with following error.

used: java.io.IOException: Failed to load 
https://updates.jenkins.io/download/plugins/aws-java-sdk/1.11.995/aws-java-sdk.hpi
 
to /var/lib/jenkins/plugins/aws-java-sdk.jpi.tmp
at 
hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1265)
Caused: java.io.IOException: Failed to download from 
https://updates.jenkins.io/download/plugins/aws-java-sdk/1.11.995/aws-java-sdk.hpi
 
(redirected to: 
https://mirrors.tuna.tsinghua.edu.cn/jenkins/plugins/aws-java-sdk/1.11.995/aws-java-sdk.hpi)

Can you please help.

-- 
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/0aca5103-0d70-45ce-be4f-b6c0bbb934d5n%40googlegroups.com.


Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

2021-05-28 Thread anilkumar panditi
Hi,
sorry for asking repeated question,
Earlier i had worked on a Jenkins instance which is a docker docker 
container which uses the docker inside container like below.
-v /var/run/docker.sock:/var/run/docker.sock --privileged="true" 
--user="root"

But , my Jenkins instance is running on Openshift as pod ,now and i wanted 
to reuse the same Jenkinsfile which has docker commands , and failing with 
*Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the 
docker daemon running?*

Please help.

-- 
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/afc6f6ad-63f1-40a0-86d3-24486b0b321dn%40googlegroups.com.


Re: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

2021-05-31 Thread anilkumar panditi
Hi Could you please help.

On Fri, May 28, 2021 at 11:06 PM anilkumar panditi <
anilkumar.pand...@gmail.com> wrote:

> Hi,
> sorry for asking repeated question,
> Earlier i had worked on a Jenkins instance which is a docker docker
> container which uses the docker inside container like below.
> -v /var/run/docker.sock:/var/run/docker.sock --privileged="true"
> --user="root"
>
> But , my Jenkins instance is running on Openshift as pod ,now and i wanted
> to reuse the same Jenkinsfile which has docker commands , and failing with
> *Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is
> the docker daemon running?*
>
> Please help.
>
> --
> 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/afc6f6ad-63f1-40a0-86d3-24486b0b321dn%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/afc6f6ad-63f1-40a0-86d3-24486b0b321dn%40googlegroups.com?utm_medium=email_source=footer>
> .
>

-- 
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/CABT%2Byc7QLy0M7mRxNQcrpb5YEFKxzKTccybtpyvzcAw9iPsvvg%40mail.gmail.com.


Re: Unable to install ECR plugin

2021-05-28 Thread anilkumar panditi
Hi,
Thank you for your email. It could be weird, i have this jenkins instance
running as a pod on Openshift.
Which i have installed the Jenkins operator first and created a Jenkins
instance. And while trying to install Amazon ECR , the SDK is failing and
so rest(ECR etc).

So tired , deploying jenkins using a docker-image with oc new-app and i can
install amazon ecr.

Can you help?


On Thu, May 27, 2021 at 7:46 PM Mark Waite 
wrote:

>
>
> On Thu, May 27, 2021 at 4:52 AM anilkumar panditi <
> anilkumar.pand...@gmail.com> wrote:
>
>> Hi,
>> I am trying to install amazon ecr plugin
>> And its trying to install attached dependent plugins as well
>>
>> but Amazon webservices SDK ,failing with following error.
>>
>> used: java.io.IOException: Failed to load
>> https://updates.jenkins.io/download/plugins/aws-java-sdk/1.11.995/aws-java-sdk.hpi
>> to /var/lib/jenkins/plugins/aws-java-sdk.jpi.tmp
>> at
>> hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1265)
>>
> Caused: java.io.IOException: Failed to download from
> https://updates.jenkins.io/download/plugins/aws-java-sdk/1.11.995/aws-java-sdk.hpi
> (redirected to:
> https://mirrors.tuna.tsinghua.edu.cn/jenkins/plugins/aws-java-sdk/1.11.995/aws-java-sdk.hpi
> )
>
>>
>> Can you please help.
>>
>
> Your geographically nearest mirror is at Tsinghua University in China.
> Jenkins is trying to use that mirror to download the 180+ MB aws-java-sdk
> plugin.  That attempt is failing.  The failure could be due to company
> firewall issues.  The failure could be due to overload of that server.  I
> started the download from that server to my location in North America and
> confirmed that it was able to transfer data.  I cancelled before the
> transfer completed.
>
> You can open
> https://get.jenkins.io/plugins/aws-java-sdk/1.11.995/aws-java-sdk.hpi?mirrorlist
> and see other mirrors, then you could interactively download from one of
> the other mirrors.
>
> We'd love to have more mirrors, especially in Asia and Australia.  If you
> know of companies or organizations that are willing to provide a Jenkins
> mirror, please have them contact the Jenkins infrastructure team at
> https://groups.google.com/g/jenkins-infra
>
> Mark Waite
>
>> --
>> 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/0aca5103-0d70-45ce-be4f-b6c0bbb934d5n%40googlegroups.com
>> <https://groups.google.com/d/msgid/jenkinsci-users/0aca5103-0d70-45ce-be4f-b6c0bbb934d5n%40googlegroups.com?utm_medium=email_source=footer>
>> .
>>
> --
> 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/CAO49JtEJPVPbYNnzrHg9xjqSKvFmYPsxOTXbeLkzQ22Xo89Qng%40mail.gmail.com
> <https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtEJPVPbYNnzrHg9xjqSKvFmYPsxOTXbeLkzQ22Xo89Qng%40mail.gmail.com?utm_medium=email_source=footer>
> .
>

-- 
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/CABT%2Byc4y_h2x44O6HQatNReEGdzB_jvLh1asDXeQhowCj2TrAA%40mail.gmail.com.


Jenkins URL https://.com/ is not working(502 Bad Gateway)

2021-02-10 Thread anilkumar panditi
Hi,
I have configured jenkins URL ,
Manage Jenkins>System configuration>Jenkins Location>Jenkins URL

ex: https://.com/

And i have curled on host where Jenkins running as docker container ,

[root@ip- ~]# curl -kv https://.com/
* About to connect() to DNS.com port 443 (#0)
*   Trying x...
* Connected to DNS.com (IP) port 443 (#0)
* Initializing NSS with certpath: sql:/etc/pki/nssdb
* skipping SSL peer certificate verification
* SSL connection using TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
* Server certificate:
*   subject: CN=DNS.com

 HTTP/1.1 502 Bad Gateway
< Server: awselb/2.0
< Date: Wed, 10 Feb 2021 08:11:05 GMT
< Content-Type: text/html
< Content-Length: 122
< Connection: keep-alive


Any idea why its not working , please help?

-- 
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/3d707af9-577a-4cea-aa68-6b28019a8271n%40googlegroups.com.


Re: Jenkins URL https://.com/ is not working(502 Bad Gateway)

2021-02-10 Thread anilkumar panditi
Hi Dirk, 
Thank you , 
Jenkins container started like below.

docker run --name myjenkins -d -u root -p 8080:8080 -p 5:5 -v 
$(which docker):/usr/bin/docker -v /jenkins:/var/jenkins_home -v 
/var/run/docker.sock:/var/run/docker.sock  myjenkins

And i curled from other host and it gets connected and throwing 502 bad 
gateway.

Thanks,
Anil

On Wednesday, 10 February 2021 at 16:09:55 UTC+5:30 dheinric wrote:

> Am Mittwoch, den 10.02.2021, 00:14 -0800 schrieb anilkumar panditi:
>
> And i have curled on host where Jenkins running as docker container ,
>
>
> So, this seems to be a Docker question rather than a Jenkins one, doesn't 
> it? Anyway, did you start your container with an appropriate port mapping 
> for port 443 (option -p)? And maybe check that containers on that host are 
> generally reachable from other hosts (or, i.o.w.: that your Docker 
> networking is setup properly).
>
> HTH...
>
> Dirk
>
> -- 
>
> *Dirk Heinrichs*
> Senior Systems Engineer, Delivery Pipeline
> OpenText ™ Discovery | Recommind
> *Phone*: +49 2226 15966 18 <+49%202226%201596618>
> *Email*: dhei...@opentext.com
> *Website*: www.recommind.de
> Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach
> Vertretungsberechtigte Geschäftsführer Gordon Davies, Madhu Ranganathan, 
> Christian Waida, Registergericht Amtsgericht Bonn, Registernummer HRB 10646
> This e-mail may contain confidential and/or privileged information. If you 
> are not the intended recipient (or have received this e-mail in error) 
> please notify the sender immediately and destroy this e-mail. Any 
> unauthorized copying, disclosure or distribution of the material in this 
> e-mail is strictly forbidden
> Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte 
> Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail 
> irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und 
> vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte 
> Weitergabe dieser Mail sind nicht gestattet.
>

-- 
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/50e13aec-6e84-4593-89c1-2baea6ee0e1bn%40googlegroups.com.


Re: Jenkins URL https://.com/ is not working(502 Bad Gateway)

2021-02-11 Thread anilkumar panditi
Hi Dirk,
Could you please give the docker run command to use 443 ,

Thanks
Anil Panditi
On Wednesday, 10 February 2021 at 17:39:44 UTC+5:30 dheinric wrote:

> Am Mittwoch, den 10.02.2021, 04:00 -0800 schrieb anilkumar panditi:
>
> docker run --name myjenkins -d -u root -p 8080:8080 -p 5:5 -v 
> $(which docker):/usr/bin/docker -v /jenkins:/var/jenkins_home -v 
> /var/run/docker.sock:/var/run/docker.sock  myjenkins
>
> And i curled from other host and it gets connected and throwing 502 bad 
> gateway.
>
>
> From your first mail, you where running curl with "https://...;, 
> <https://%22,> which means port 443. I see no mapping of port 443 in the 
> above command. Try running curl with "http://...:8080;.
>
> HTH...
>
> Dirk
>
> -- 
>
> *Dirk Heinrichs*
> Senior Systems Engineer, Delivery Pipeline
> OpenText ™ Discovery | Recommind
> *Phone*: +49 2226 15966 18 <+49%202226%201596618>
> *Email*: dhei...@opentext.com
> *Website*: www.recommind.de
> Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach
> Vertretungsberechtigte Geschäftsführer Gordon Davies, Madhu Ranganathan, 
> Christian Waida, Registergericht Amtsgericht Bonn, Registernummer HRB 10646
> This e-mail may contain confidential and/or privileged information. If you 
> are not the intended recipient (or have received this e-mail in error) 
> please notify the sender immediately and destroy this e-mail. Any 
> unauthorized copying, disclosure or distribution of the material in this 
> e-mail is strictly forbidden
> Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte 
> Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail 
> irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und 
> vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte 
> Weitergabe dieser Mail sind nicht gestattet.
>

-- 
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/eb43cbb6-d0ef-4d54-a9a5-227d9462e352n%40googlegroups.com.


Multibranch Pipeline deploys other branches commits

2021-03-15 Thread anilkumar panditi
Hi,
We have a multi branch pipeline , when one of the branch is deployed ,we 
see the other branched commits as well in the stage view.

Any idea to solve this? Please help


-- 
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/2ad6f553-6a3c-4e67-b128-a4eee89adb80n%40googlegroups.com.


Need to adjust Jenkins pipeline logs using Groovy syntax at each stage

2021-11-01 Thread anilkumar panditi
Hi,
I am working on below to suppress Jenkins pipeline logs using Groovy syntax 
at each stage, like for Initialization or Build stage we need to log only 
"ERROR" level. 
and for Deployment Stage we need to log DEBUG level logs..

And don't want to print each and every message in console output.

Thanks,
Anil

-- 
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/cdbc4b93-fcab-4c49-a427-94c82a4655b5n%40googlegroups.com.