Re: Jenkins view failed

2016-05-18 Thread Baptiste Mathus
Hi, In your screenshot you actually cut out the interesting part (the stack trace). Cheers Le 15 mai 2016 8:58 AM, "Jatin Rai" a écrit : > Hi All, > > I was making a change to pipeline view of jenkins and the jenkins failed. > > In spite all jobs and views are there but we

Re: Jenkins Hardware Upgrade

2016-05-18 Thread Baptiste Mathus
Search that ml for words like rsync and so on. The migration subject has been discussed already quite a few times. -- Baptiste Le 16 mai 2016 6:00 PM, "Anderson Goulart" a écrit : > Stop all jobs, backup your data, install on the new node and restore your > backup.

Re: Jenkins view failed

2016-05-18 Thread Baptiste Mathus
Also do you see things in the logs? Le 18 mai 2016 8:47 AM, Baptiste Mathus a écrit : Hi, In your screenshot you actually cut out the interesting part (the stack trace). Cheers Le 15 mai 2016 8:58 AM, "Jatin Rai" a écrit : Hi All, I was making a change to

Re: Has anyone implemented the one line Jenkinsfile?

2016-05-18 Thread John Chandra
Got it. Thanks a lot Daniel! On Wednesday, May 18, 2016 at 2:30:21 PM UTC-4, Daniel Beck wrote: > > > > On 18.05.2016, at 20:20, John Chandra > wrote: > > > > I wonder how does a Jenkinsfile know where to look for that function? Is > there any other configuration I should

Re: Chain builds together, but still need to be conditional on source control change

2016-05-18 Thread Rick Patterson
Hi, Baptiste. Not sure what you mean if the workspace gets wiped out, it always does, I have jenkins clean the workspace before each job. I'll have to look into his pipeline plugin, thanks for this pointer. Rick On Friday, May 13, 2016 at 3:56:18 PM UTC-4, Baptiste Mathus wrote: > > How

Re: SCM Plugin for ClioSoft's SOS?

2016-05-18 Thread Jonathan
I intend to follow up with Cliosoft and ask. I'll review the GSOC doc more closely, and see if there's anything I can add. I noticed the existing "use custom workspace" option in Jenkins but this seems like a more full featured implementation (including pipeline code support). I agree about

Re: How to mount volume in a docker job inside a dockerized jenkins

2016-05-18 Thread Nicolas Geraud
Ok, with some tests I know understand how "sibling containers" work. thanks for your help Le mercredi 18 mai 2016 11:01:33 UTC+2, nicolas de loof a écrit : > > The reason it works like this is the bind mount is done from host, so need > a valid fully qualified host path, but the `pwd` command

Re: File as parameter not working

2016-05-18 Thread Brian Ray
Sorry, the API was URL#withInputStream, not #withReader. On Wednesday, May 18, 2016 at 6:24:11 PM UTC-7, Brian Ray wrote: > > Aha. Pipeline's under heavy development so unfortunately, there are gaps > like this. > > How's the remote machine sharing the file? Windows directory share, e.g.? > >

Re: File as parameter not working

2016-05-18 Thread Brian Ray
Aha. Pipeline's under heavy development so unfortunately, there are gaps like this. How's the remote machine sharing the file? Windows directory share, e.g.? Depending on the type of file and how it's shared will likely determine the strategy. I had no success getting a pipeline script to use

Github Commiter Authorization Strategy not allowing users to cancel builds

2016-05-18 Thread mark.gaylard via Jenkins Users
We are using the github oauth plugin. It works as expected for authentication, but not for authorization. We have 'Use Github repository permissions' checked, but any user not listed in the admin user section cannot cancel builds (but they can trigger them). I would assume that if you can

Re: File as parameter not working

2016-05-18 Thread Jonathan Hodgson
Ok, I tried creating two projects, one a freestyle job, the other a pipeline. The only thing I set up in each was a file as parameter. I ran a "Build using parameters" selecting the same file to upload. When I tried to view the file in the freestyle job, it worked, but in the pipeline job I

Re: How to mount volume in a docker job inside a dockerized jenkins

2016-05-18 Thread Nicolas Geraud
Thanks for the quick answer, I'll test this tonight. Do you have any blog post (or perhaps i've missed a "Quoi de neuf Docker" episode) which explain why it works like this ? Le mercredi 18 mai 2016 10:28:05 UTC+2, nicolas de loof a écrit : > > For this to work, you'll need the host path to be

Re: How to mount volume in a docker job inside a dockerized jenkins

2016-05-18 Thread nicolas de loof
The reason it works like this is the bind mount is done from host, so need a valid fully qualified host path, but the `pwd` command is ran inside jenkins container, so resolves to container filesystem. A possible alternate approach is for you to rely on " --volumes-from $(hostname) ", as a

Calling tera term from jenkins hangs

2016-05-18 Thread 'Chris Amos' via Jenkins Users
Sorry, I know not strictly a jenkins issue, jenkins remains responsive and can kill the hung build so jenkins is fine. But something about the jenkins environment messes up teraterm and I need a clue. My build job is pretty straightforward; 1 Source from SVN 2 execute batch file to build (3

AW: Calling tera term from jenkins hangs

2016-05-18 Thread Eric Engel
This is probably a Windows specific problem, because services under Windows cannot interact with GUI elements. So if you installed Jenkins as a Windows service it may not be able to access the GUI elements of your teraterm application. I witnessed the same problem for automated GUI testing. On

Re: Calling tera term from jenkins hangs

2016-05-18 Thread 'Chris Amos' via Jenkins Users
Thanks Eric, Good clue, I wonder if a fix may be to run a slave on my machine to get around this, which would fit with the plan. Right now it is all a simple jenkins service on my dev pc, the plan is a linux server controlling slaves for linux and windows builds. Chris On Wednesday, 18 May

Re: Calling tera term from jenkins hangs

2016-05-18 Thread 'Chris Amos' via Jenkins Users
Hi Daniel, Yep, prompted by Eric I went off and found the service option to allow the process to interact with the desktop. And now it works. But not quite perfect, I get a flashing icon on the task bar to tell me that a program wants to interact with the desktop, when I let it interact all

Pipeline Plugin: Multiple steps for ArtifactArchiver and JUnitResultArchiver in one pipeline possible?

2016-05-18 Thread Lars Meynberg
We're trying to switch our Build Pipeline from the classic way (Multiple Jobs) to the new pipeline-as-code approach. In the past we've chained some jobs together. We had some parallel test jobs and each test has produced its own test results. These results were copied to the master job and

Re: Jenkins using a lot more resources after upgrade

2016-05-18 Thread Ugo Bellavance
Hi Stephen, We don't use slaves. We only have one master. Should I create an issue in JIRA for my specific issue? (is there a reason why you got the conservation out of the group?) Thanks, On Wed, May 18, 2016 at 8:56 AM, Stephen Connolly < stephen.alan.conno...@gmail.com> wrote: > Hard to

How do I use a file parameter in a pipeline project?

2016-05-18 Thread Jonathan Hodgson
Documentation on this seems to be non-existent, so I don't know whether it's broken or I'm just doing things wrong. But the file doesn't seem to be uploading, and certainly isn't being placed in the workspace. Surely I can't be the only person who needs this functionality? -- You received

Re: Jenkins using a lot more resources after upgrade

2016-05-18 Thread Stephen Connolly
Hard to say for certain as that could still be references maintained by the unexported objects that are pending unexport. If you can get your instance into that state and then have it sit idle for a couple of hours... if it is JENKINS-34573 then you should see the retained memory reduce as one

Connnecting to TFS its taking long time from Jenkins

2016-05-18 Thread madhu chilipi
Hi Team, I am trying to connect TFS using jenkins, But its taking too long like 5 min at this step any idea? Started by user anonymous Building in workspace /u02/poc/soa_build/.jenkins/workspace/mvn_OSBBUILDJOB_1221_OSB_BUILD

Re: Calling tera term from jenkins hangs

2016-05-18 Thread Daniel Beck
> On 18.05.2016, at 11:47, Eric Engel wrote: > > On Windows you would need to start the Jenkins master directly from a user > session (if everything runs on one machine and you have no slaves) or start > the slave for this job by JNLP (you may do this on startup). >

How to mount volume in a docker job inside a dockerized jenkins

2016-05-18 Thread Nicolas Geraud
Hi all, i'm using a dockerized jenkins (from jenkinsci/jenkins:2.2) and mounting the following volumes from my host : volumes: - "/opt/jenkins:/var/jenkins_home" - "/var/run/docker.sock:/var/run/docker.sock" I've created a job that launch a docker container to build some python

Re: How to mount volume in a docker job inside a dockerized jenkins

2016-05-18 Thread nicolas de loof
For this to work, you'll need the host path to be the exact same as the jenkins container path, i.e. not use /opt/jenkins but /var/jenkins_home on host so `pwd` will resolve to some /var/jenkins_home/... subfolder that make sense to be mounted from host into your side container 2016-05-18 10:14

Re: Jenkins failed to Connect Bonobo Git Repository

2016-05-18 Thread Munira Presswala
hi Users , I also has a few questions in this regard. what is the reason behind this exception ? On Wednesday, 18 May 2016 12:41:31 UTC+5:30, Munira Presswala wrote: > > Basically we are in transition to take over client's vendor project .And > we recieve following error when Client's

Re: SCM Plugin for ClioSoft's SOS?

2016-05-18 Thread Martin d'Anjou
I agree this discussion should be here and not on the dev mailing list. Have you approached Cliosoft to ask if they would write a Jenkins plugin for you? It surely can help them as well as help you. For SCM, I am switching to Git. For storing generated assets (pre-compiled libraries, netlists,

Re: Jenkins using a lot more resources after upgrade

2016-05-18 Thread Stephen Connolly
If you have no slaves and only run builds on the master then we can definitively state that JENKINS-34573 is not the root cause. If you have slaves (even if idle or unused) then we cannot. If you have a definitive answer to the above question then you should probably create a JIRA On 18 May 2016

Re: Jenkins using a lot more resources after upgrade

2016-05-18 Thread Ugo Bellavance
We only have 1 Jenkins server so I'll create a JIRA, Thanks a lot for your help :)! On Wednesday, May 18, 2016 at 10:40:21 AM UTC-4, Stephen Connolly wrote: > > If you have no slaves and only run builds on the master then we can > definitively state that JENKINS-34573 is not the root cause. If

Re: Jenkins failed to Connect Bonobo Git Repository

2016-05-18 Thread Baptiste Mathus
Seems like Git is probably just not in the PATH. > used by: java.io.IOException: Cannot run program "git.exe" (in directory "C:\Program Files (x86)\Jenkins\BWorkspace"): CreateProcess error=2, The system cannot find the file specified Le 18 mai 2016 9:13 AM, "Munira Presswala"

Re: File as parameter not working

2016-05-18 Thread Brian Ray
Not 100% sure but I suspect that Pipeline job params can only be "regular" String parameters and perhaps param types whose values easily resolve to strings. My gut instinct is that more exotic param types that have side effects--like the File type--will not work. So in the current use case the

SBT plugin configuration section missing

2016-05-18 Thread Tim Nelson
Hello, I upgraded to v2.5 this morning and now there is no section on the "Manage Jenkins" -> "Configure System" page for configuring SBT. Has anybody else seen this? Have a solution? I am seeing some exceptions in the log on startup, but I'm not sure if they're related:

Re: commonLibFolder : Jenkins within docker

2016-05-18 Thread Baptiste Mathus
IIUC your issue has just to do with the fact the file you're passing is located on the host, hence not accessible to the container. So, you're left with two options: * the right one: inherit the official image and customize it with a dedicated Dockerfile * the quick and dirty one: bind mount the

Re: Jenkins failed to Connect Bonobo Git Repository

2016-05-18 Thread Mark Waite
Baptiste is correct. The message says that git cannot be found. Each slave (including master) can have a "tool location" specified for the git executable. That is done in the configuration page for the slave (or the master). Typically on Windows machines that is "C:\Program

Windows JNLP slave constantly dropping and reconnecting to master

2016-05-18 Thread Christopher Walton
Hi all, Kind of a novice in the case of Jenkins, but I have been looking for help online for a while now and haven't got much headway; hoping to get some insight from you guys. Jenkins Version - 1.609.2 Master OS - Linux Master Java Version - 1.8.0_45 Slave OS - Windows 7 x64 Slave Java

Re: File as parameter not working

2016-05-18 Thread Jonathan Hodgson
Thanks, What I've found so far also seems to indicate there is an issue with File Parameters in Pipeline plugins. If that's the case then it really begs the question as to why they're an option on the pipeline project setup page. I'm having trouble seeing how I'm going to do what I need to do

Re: Jenkins using a lot more resources after upgrade

2016-05-18 Thread Ugo Bellavance
https://issues.jenkins-ci.org/browse/JENKINS-34919 On Wednesday, May 18, 2016 at 10:45:44 AM UTC-4, Ugo Bellavance wrote: > > We only have 1 Jenkins server so I'll create a JIRA, > > Thanks a lot for your help :)! > > On Wednesday, May 18, 2016 at 10:40:21 AM UTC-4, Stephen Connolly wrote: >> >>

Fwd: Unable to iterate on the basis of multiselect value in jenkins job

2016-05-18 Thread abhishek murarka
Hi, I have created a build pipeline which is working fine for a particular parameter which i select in the active choice parameter through single select. Now i want to modify the same pipeline to be able to iterate multiple times on the basis of muliple select in the active choice parameter.

Has anyone implemented the one line Jenkinsfile?

2016-05-18 Thread John Chandra
Hello all, Has anyone tried to implement the one line Jenkinsfile according to this example: *One line Jenkinsfile* https://github.com/jenkins-inc/securitay/blob/dev/Jenkinsfile *and it is calling a function defined here:*

Re: Pipeline script for Build Trigger

2016-05-18 Thread John Chandra
I see. Thanks, Michael! On Tuesday, May 17, 2016 at 11:37:27 PM UTC-4, Michael Kobit wrote: > > Based on what I can see on that issue, I believe that is the open issue > you should follow. > > On Tue, May 17, 2016, 10:37 AM John Chandra > wrote: > >> Hi Michael, Thanks for your

Re: Has anyone implemented the one line Jenkinsfile?

2016-05-18 Thread Daniel Beck
> On 18.05.2016, at 20:20, John Chandra wrote: > > I wonder how does a Jenkinsfile know where to look for that function? Is > there any other configuration I should add? > It's called the global library: