Jenkins 2.60.1 With Java 7 Slave Node

2017-06-23 Thread Conrad T. Pino
* A secure Java 8 JRE is unavailable on CentOS 5. * Oracle JRE free support ended long ago. * OpenJDK 8 binary packages unavailable. * Fedora EPEL latest is OpenJDK 1.7.0_131 * Can Jenkins 2.60.1 work with Java 7 JRE slaves? -- You received this message because

Parameterized option in multibranch pipeline job

2017-06-23 Thread ajith arthur
Hi Guys, I have a Jenkins multibranch pipeline job, which always configure build without parameter at branch initialization, but I need to configure the branches as build with parameter. We can use *properties* to configure the parameters in a Jenkinsfile, but my question is how to

custom UI for a jenkins project?

2017-06-23 Thread ziffusion
Is it possible to create a custom UI for a jenkins project and it's flow? Or do you pretty much have to stick with the one Jenkins provides? For example, the default flow for a Jenkins project is: project page -> Build with parameters -> parameters form -> build -> project page where you

Jelly script changelogset date issue with Mercurial

2017-06-23 Thread Arun Chandrasekaran
I have a jelly script that displays the ChangeLogSet.date. Here is the snippet https://bpaste.net/show/b1dfd27acf66 However this displays cs.date as UNIX timestamp, as given by the mercurial plugin and not as string format. Is there a way to convert UNIX timestamp to string in the jelly

Re: Pipeline: Transfer files via SSH

2017-06-23 Thread Ryan Kuharske
I know this is an old thread but I thought I'd post how I was able to get the issue resolved. The issue we were having is that the ID which Jenkins runs with doesn't have access to the directory we needed to publish our artifacts to. In order to get around this, we needed to ssh back into the

Re: Error connecting windows slave

2017-06-23 Thread Ryan Brown
That did it. thank you so much! On Friday, June 23, 2017 at 1:05:53 PM UTC-6, slide wrote: > > Here's a document that looks pretty good > > > https://support.cloudbees.com/hc/en-us/articles/217423827-How-to-Install-Several-Windows-Slaves-as-a-Service > > On Fri, Jun 23, 2017 at 10:43 AM Ryan

Wiki not allowing edits?

2017-06-23 Thread Mark Waite
I'm preparing to release git plugin 3.3.1 with a few fixes compared to git plugin 3.3.0. I'm unable to edit the git plugin page on the wiki. It is almost as though I am "not quite logged into the system". Have others successfully edited Jenkins wiki pages recently? Mark Waite -- You received

Re: Is it possible to pass data from downstream job to it's parent job?

2017-06-23 Thread Richard Ginga
if you code it like this: stage ('Starting test job') { buildobj = build job: 'RunTestJob', parameters: [[$class: 'StringParameterValue', name: 'aaa', value: aaa]]} you might get something useful back by doing this: (i have not tried it) buildobj.getBuildVariables() available methods for

Is it possible to pass data from downstream job to it's parent job?

2017-06-23 Thread Danny Rehelis
Lets say I execute downstream job - stage ('Starting test job') { build job: 'RunTestJob', parameters: [[$class: 'StringParameterValue', name: 'aaa', value: aaa]]} Is it possible pass environment vars or any other vars I set in downstream job back to its parent? -- You received this

Re: Error connecting windows slave

2017-06-23 Thread Slide
Here's a document that looks pretty good https://support.cloudbees.com/hc/en-us/articles/217423827-How-to-Install-Several-Windows-Slaves-as-a-Service On Fri, Jun 23, 2017 at 10:43 AM Ryan Brown wrote: > Ok thanks so much. I was just following the instructions here >

Re: How to resolve "Process leaked file descriptor" issue which caused job failure in Jenkins

2017-06-23 Thread Mark Waite
In general, you don't need to fix the message that the process leaked file descriptors. If the process leaks file descriptors, eventually it will exhaust the file descriptors, but that is not likely the cause of a problem for this specific job. If you want processes to survive beyond the end

Re: Error connecting windows slave

2017-06-23 Thread Ryan Brown
Ok thanks so much. I was just following the instructions here . I will try the jnlp agent method. Any good guidance? I am not finding a lot online. On Friday, June 23, 2017 at

Re: GitHub and Bitbucket branch source UI refactoring

2017-06-23 Thread Stephen Connolly
On 23 June 2017 at 17:24, Mark Waite wrote: > I see duplicate entries in the "Add' configuration of the Bitbucket source > for "Checkout over ssh". Let me know if you need steps to see that. > Shouldn't... may just be a bug in the drop down populator when you have

Re: GitHub and Bitbucket branch source UI refactoring

2017-06-23 Thread Mark Waite
I see duplicate entries in the "Add' configuration of the Bitbucket source for "Checkout over ssh". Let me know if you need steps to see that. I also wonder if the text "General", "Git" and "Bitbucket" should be italicized, or bold, or separated with dashes, or something, so that the user has

Re: GitHub and Bitbucket branch source UI refactoring

2017-06-23 Thread Mark Waite
The UI experience has been great for me in the two or three places where I've used it. I was a little surprised (and pleased) with the adaptation that the local branch setting is now a toggle. I think that's the right approach, since (as far as I can tell) that is the 99% use case. Earlier I

Re: Workspace cleanup failing after updating Jenkins 2.65

2017-06-23 Thread t3knoid
Yes. According to Maven plugin doc, it will force use of 1.8 to perform the compile. https://wiki.jenkins-ci.org/display/JENKINS/Maven+Project+Plugin I'm wondering why 1.7 is being used in the command I referenced. On Thursday, June 22, 2017 at 6:25:58 PM UTC-4, Stephen Connolly wrote: > >

Re: JIRA-Plugin comments huge loads of issues since Update

2017-06-23 Thread d . guthmann
Hello,   > Since the Update to Jenkins 2 the PostBuild-Action comments a huge amount of JIRA-Issues when a build is finished, which had "Changes in Dependencies".   Basically I don't understand what causes the "Changes in Dependencies" in Jenkins. I've inspected some of those builds, for

Re: GitHub and Bitbucket branch source UI refactoring

2017-06-23 Thread Stephen Connolly
On 23 June 2017 at 14:18, Joseph P wrote: > Upgrade on "prod like" went smooth :) > w00t! > Could we move the question for behaviours closer to the behaviours text? > > >

Re: Nightly Slave workspace cleanup - unintentional

2017-06-23 Thread Jaap de Jong
> > And yes, you are right, building from scratch is better, at least every > now and then. > It would even be better to always start from scratch! -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop

Re: Nightly Slave workspace cleanup - unintentional

2017-06-23 Thread Jaap de Jong
Thanks Mathus This is really helpful for the short term. Changes on my side? Yeah, its probably more than the 30 days ago when building the projects... And yes, you are right, building from scratch is better, at least every now and then. J. Op vrijdag 23 juni 2017 12:03:21 UTC+2 schreef

Re: Nightly Slave workspace cleanup - unintentional

2017-06-23 Thread Baptiste Mathus
BTW the default behaviour is actually already what you want: hudson.model.WorkspaceCleanupThread.retainForDays is 30 days, so it's very conservative. So either something changed on your side, or you're seeing a bug that may need to be reported (with reproduction steps, as always, if you want to

Re: Jenkins job builder -- Cannot create pipeline style jobs

2017-06-23 Thread Narayana Reddy
Hi Ramanath, Hope you have resolved this issue. Actually I am facing same issue with the pipeline module .. I am using JJB 1.4 version on Jenkins2.0 which got a pipeline plugin version 2.5 . Please let me know if have managed to resolved. Cheers Reddy On Sunday, 11 June 2017 14:43:11 UTC+1,

Re: Nightly Slave workspace cleanup - unintentional

2017-06-23 Thread Baptiste Mathus
https://wiki.jenkins-ci.org/display/JENKINS/Features+controlled+by+system+properties apparently nothing changed recently, introduced in 1.608. Though, beware this IMO: I would possibly raise the timing if you have data size issues and cannot improve it in the short term, but disabling this seems

Nightly Slave workspace cleanup - unintentional

2017-06-23 Thread Jaap de Jong
Hi All, Every night old workspaces on my jenkins slave are cleaned and I have not configured this, never! I can not find where this is configured. Is this perhaps new default behavior? Not sure when this started, but might be since installing 2.64. Any help is appreciated! Thanks in advance

Adding .groovy files to secured script classpath

2017-06-23 Thread Oliver Gondža
Back before script-security started to actively prevent directories on script classpaths[1] (such as for groovy-postbuild plugin), it was a common practice to add a directory with bunch of .groovy files and use the classes from the script. However, since script-security disallowed this it does

Error connecting windows slave

2017-06-23 Thread James Nord
You will find less pain if you launch the agent by hand using the jnlp agent method and then using the install as service option. The error you are seeing looks like a firewall blocking the CIFS ports (file sharing) -- You received this message because you are subscribed to the Google

Re: Pipeline: Transfer files via SSH

2017-06-23 Thread Ryan Kuharske
I know this is a very old topic, however I thought I'd add to it in case the original author will still get updates and for anyone else running into issues who comes across this thread. For myself, the issue was not having the public key (that was generated on the server you're trying to

Re: How to resolve "Process leaked file descriptor" issue which caused job failure in Jenkins

2017-06-23 Thread parvatha reddy
mark, I did run Jenkins job in executing windows batch command. But Jenkins job itself kill all the child process.due to Runtime Environment will be down. can you please help us, how I can fix process leaked file descriptors issue. execute shell the command: N: cd CCOP\REFRESH_SCRIPTS

Error connecting windows slave

2017-06-23 Thread Ryan Brown
Hello all- I have been working to create a jenkins slave on a windows 10 box. After resolving a number of issues opening ports and such I seem to be now connecting but an getting the following error: [2017-06-22 21:09:43] [windows-slaves] Connecting to 172.17.10.70 ERROR: Message not