custom image for jnlp( amazonlinux)

2018-11-12 Thread Yaramada Surya tej
Hi, I am trying to use custom image which is based on amazonlinux and pushed to ECR for running jenkins executors on AWS EKS. able to use default image ( alpine) but need help to configure in settings for using a custom image. To achieve this do we need 2 custom images? one for pod and another

calling another job from parent job

2018-11-12 Thread Akshay Paturkar
Hi All, i am trying to call job from another job and able to do it by following below instructions . https://jenkins.io/doc/pipeline/steps/pipeline-build-step/ But I am not able to see stages executed under called job. how do we enable stages of called job to be displayed under build job stage

Re: How to handle complex job dependency?

2018-11-12 Thread Matt Hicks
It doesn't have pipeline support, but the promoted builds plugin can do this for freestyle jobs. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group

Re: Job Failed with "java.lang.OutOfMemoryError: unable to create new native thread" On Kuberentes cluster..

2018-11-12 Thread pbasanta2002
On Sunday, November 11, 2018 at 2:42:43 PM UTC+5:30, pbasan...@gmail.com wrote: > > Hi All, > > While running a job on Kuberentes Cluster > > [EnvInject] - Loading node environment variables. > Building remotely on k8s-prod-cl1-pod1-v1v5j >

Re: Job Failed with "java.lang.OutOfMemoryError: unable to create new native thread" On Kuberentes cluster..

2018-11-12 Thread pbasanta2002
The same job on rerun after some time passed on the same salve node.. On Monday, November 12, 2018 at 11:04:24 AM UTC+5:30, pbasan...@gmail.com wrote: > > Hi , > Thanks for your response. > > on Ulimit -aH , I can see one difference on container and host > > Container : > *open files

Re: How to handle complex job dependency?

2018-11-12 Thread ZillaYT
Thanks Martin. I will explore tagging my docker images as we deploy them. So if I deploy dockerUrl/atrifact:1.0.0 to sandbox, I'll give it a dockerUrl/artifact:1.0.0-sandboxed tag. My deploy-to-staging job will then have to "look" for the "sandboxed" part in the tag. Chris On Monday, November

Re: Issue with spaces in string parameter

2018-11-12 Thread Martin d'Anjou
I doubt that would fix it, I was curious and try it. Jenkins trims, but it does not split the value on spaces. The problem might be on how you pass the value to your python script. Can you share that? Martin On Monday, November 12, 2018 at 8:15:55 AM UTC-5, Danny Jacob wrote: > > Uncheck

Re: How to handle complex job dependency?

2018-11-12 Thread Martin d'Anjou
I think you could use the Copy Artifacts plugin to share a file between jobs. But managing the list of releases in a file becomes hairy IMO. I do not know your specific case, but I guess it will grow over time, not to millions of

SSLError

2018-11-12 Thread gotviseryon
Need urgent help. Trying to run a job in Windows Slave and getting this error. Please help. Will post more information if needed. Installed the certificate in the VM. It's Windows Server 2016 Datacenter. ERROR: HTTPSConnectionPool(host='URL', port=443): Max retries exceeded with url:

Re: Pipeline: Identify different Jenkins instances

2018-11-12 Thread Sverre Moe
Perhaps the best way is to define a global environment variable with different values for each Jenkins instance Manage Settings > Configure System Global properties Environment variables https://build-ci.company.com;8443/ JENKINS_ENVIRONMENT > PRODUCTION https://build-ci-test.company.com;8443/

Pipeline: Identify different Jenkins instances

2018-11-12 Thread Sverre Moe
We have copied our Jenkins instance to have an identical test Jenkins. Is there a *proper* way to distinguish between production Jenkins and test Jenkins within a Scripted Pipeline? We need different behaviour for some parts of our builds, like publishing Yum artifacts, git tagging releases.

Re: Cleanup workspace before/after build

2018-11-12 Thread Sverre Moe
Hi, Sorry, I completely forgot to respond. I'm not sure if there is an existing reported JIRA bug for this. https://issues.jenkins-ci.org/browse/JENKINS-15331 Not sure when this fix was release. It does seems like we are running with it according to the exception it throws. I recall getting a

Re: How to handle complex job dependency?

2018-11-12 Thread ZillaYT
Thanks Martin, though you just reworded my post. But yes one approach to consider is being able to store which, for example, versions have been run by deploy-to-sandox. IOW if deploy-to-sandbox has run with versions 1.0.0 and 1.0.4, I want to store those versions in its property file, say

Re: Issue with spaces in string parameter

2018-11-12 Thread Danny Jacob
Uncheck ‘trim string’ checkbox in advanced and try. It should work On Mon, 12 Nov 2018 at 3:56 PM, Raunak Kumar Gupta wrote: > I have a string parameter in jenkins called 'Keywords'. I set the value of > Keywords = "Google,Microsoft,Uber Go". But jenkins string parameter takes > only till

Re: Jenkins dashboard report with customization

2018-11-12 Thread trupti bhatt
Thanks Rajendra. I have tried following code: but throwing me compilation error: Jenkins.instance.getAllItems(Job.class).each{ > println it.name + " - " + it.class > > def jobBuilds=it.getBuilds() > //for each of such jobs we can get all the builds (or you can limit the > number at your

Expose data with worker by 'Nodeport service' in Kubernetes plugin

2018-11-12 Thread YAN-HONG WANG
Hello all, # My environment: Jenkins: 2.138.3-alpine Kubernetes plugin: 1.13.5 # I can create the dynamic worker pod with Kubernetes plugin. And then it destroyed perfectly after finishing job. But, is it possible to expose data with worker pod by