Re: Approaches for sharing workspace in a pipeline

2015-12-30 Thread Thomas Goeppel
Hi John, your approach sounds interesting. Could you please share some Workflow code that shows how you compute the Workspace location, use ws(), and pass workspace locations to subsequent jobs? When accessing workspaces in Workflow you're also facing the problem of concurrent runs. How do yo

Re: Approaches for sharing workspace in a pipeline

2015-12-30 Thread Thomas Goeppel
Oh sorry, wrong addressee %s/John/Martin/ :-) On Wednesday, December 30, 2015 at 11:24:26 AM UTC+1, Thomas Goeppel wrote: > > Hi John, > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emai

jenkins

2015-12-30 Thread Eldon Kuzhyelil
I am using LXC containers and Kubuntu 14.04. In first container i am using jenkins and in the second container i am using git repository. I have copied public key of first container to second container so that i can ssh to second container from first container. But when i try to build i am get

Re: Approaches for sharing workspace in a pipeline

2015-12-30 Thread Baptiste Mathus
Would be great if y'all around could share the cool things you've done with workflow in that examples/tutorial repo: https://github.com/jenkinsci/workflow-examples Thanks! 2015-12-30 11:26 GMT+01:00 Thomas Goeppel : > Oh sorry, wrong addressee > > %s/John/Martin/ :-) > > > On Wednesday, December

CIFS plugin debug messages

2015-12-30 Thread Pritesh Saharey
Hi All, I am using “Publish over CIFS Plugin” 0.3v, I configured itas per documentation https://wiki.jenkins-ci.org/display/JENKINS/Publish+Over+CIFS+Plugineven Test Configuration gives me success messages , I am suing it under Postbuild step in job as “Send build artifact to a Windows share” c

Re: CIFS plugin debug messages

2015-12-30 Thread Victor Martinez
Hi, You can try to use the below logger setup in order to grab further details: - https://wiki.jenkins-ci.org/display/JENKINS/Logging CIFS plugin uses the below dependency: https://github.com/jenkinsci/publish-over-cifs-plugin/blob/master/pom.xml#L69-L73 So you can add the below loggers in yo

Re: Jenkins Git Plugin and Maven Release Builds

2015-12-30 Thread Michael Giroux
Mark, I'm taking a look at the two pull requests. I cloned the repo so I can view code in Eclipse, but I'm getting compile errors in GitSCMTest.java: Description Resource Path Location Type The method configRoundtrip(FreeStyleProject) is ambiguous for the type GitSCMTest GitSCMTest.java /git/sr

Re: Jenkins Git Plugin and Maven Release Builds

2015-12-30 Thread Mark Waite
Don't attempt to evaluate the two pull requests in the same repository. They are two different ideas that might meet your need. I suspect that one or the other will eventually be merged, but not both. Mark Waite On Wed, Dec 30, 2015 at 7:21 AM Michael Giroux wrote: > Mark, I'm taking a look at

Re: CIFS plugin debug messages

2015-12-30 Thread Pritesh Saharey
Hi looks like I am doing something wrong here, I created new Log Recorder and configured as mentioned here https://wiki.jenkins-ci.org/display/JENKINS/Logging, but new log recorder is empty, this is what I configured: Name: Investigating CISF copy issue Loggers: jenkins.plugins.publish_over.*

Re: Jenkins Git Plugin and Maven Release Builds

2015-12-30 Thread Michael Giroux
Not making any changes to code, just trying to examine primary project source to understand what is being changed in the PRs. I cloned the primary git repo from https://github.com/jenkinsci/git-plugin.git so I could get some context for the PRs which show only the code being changed. Getting co

Re: Jenkins Git Plugin and Maven Release Builds

2015-12-30 Thread Michael Giroux
BTW, the following patch resolves my compile errors, but not sure if the cast to (Item) is the best choice. diff --git a/src/test/java/hudson/plugins/git/GitSCMTest.java b/src/test/java/hudson/plugins/git/GitSCMTest.java index 3a14b10..a39e60c 100644 --- a/src/test/java/hudson/plugins/git/GitSCM

Re: CIFS plugin debug messages

2015-12-30 Thread Victor Martinez
I'm not sure now if the wildcards is supported, can you set the class instead? I believe if you type jenkins.plugins.publish_over. It should show the list of available classes. Cheer On 30 Dec 2015 18:25, "Pritesh Saharey" wrote: > Hi > looks like I am doing something wrong here, I created new

Re: Jenkins Git Plugin and Maven Release Builds

2015-12-30 Thread Mark Waite
https://jenkins.ci.cloudbees.com/job/plugins/job/git-plugin/ (and my internal Jenkins server inside my firewall) confirm that the code on the master branch compiles correctly from the maven command line. I run my debugger from Netbeans (rather than Eclipse) and can confirm that it compiles and run

Re: Approaches for sharing workspace in a pipeline

2015-12-30 Thread Martin d'Anjou
Producer code: String root = "/opt/martin" String workspace = "${root}/${env.JOB_NAME}/${env.BUILD_NUMBER}" node() { ws(workspace) { writeFile file: 'file.txt', text: "1234" } } Consumer code: String root = "/opt/martin" String folder = env.JOB_NAME.split('/')[0..-2].join('/') Stri

Re: Jenkins Git Plugin and Maven Release Builds

2015-12-30 Thread Michael Giroux
Thanks Mark. Command line build runs fine w/o compile errors. For your reference, this is a known Eclipse issue bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=369592. On Wednesday, December 30, 2015 at 10:34:59 AM UTC-7, Mark Waite wrote: > > https://jenkins.ci.cloudbees.com/job/plugins/job

Jenkins - changing Stash repo browser URL

2015-12-30 Thread Alex Brodov
I'm trying to change the Stash repo browser URL for all my jobs (about 200 jobs), i've managed to change the ssh URL. I'm doing this using a groovy script, and I'm executing it via the Script Console in Jenkins. Here's a short snippet from script: def OLD_GIT_URL = "old_url"def NEW_GIT_URL =

Why are multiple workspaces being created for a single workflow job execution

2015-12-30 Thread darrell cabral
I have a workflow that should only need one workspace but consumes 2 workspaces (1 for those steps that run on the dockerHostNode agent and 1 for those steps that run on a 'dockerHost' docker container agent). At one time the build only consumed one workspace but at some point (after triggerin

Re: Jenkins Git Plugin and Maven Release Builds

2015-12-30 Thread Michael Giroux
Mark, I wonder if one of the issues I have is actually a defect in the Git Parameter plugin. Specifically, the values set by the Git Parameter plugin include the "origin/" prefix. When this is used as the value for checkout to local branch, AND the build is a maven release, we end up with a ne

Re: Jenkins Git Plugin and Maven Release Builds

2015-12-30 Thread Mark Waite
Could do that as well, though the git parameter plugin is technically correct. It is showing the branch to be built, and the branch to be built truly is "origin/master", since there is no local master branch tracking the remote branch. Mark Waite On Wed, Dec 30, 2015 at 11:41 AM Michael Giroux

Jenkins EC2 plugin spot instances and Google Login plugin - Can't access JNLP file

2015-12-30 Thread Michael Barrientos
We would like to use Jenkins EC2 plugin to create spot instances for our tests. We also use the Google Login Plugin, but the login plugin seems to get int the way of the mechanism that the Spot plugin uses to register itself; it cannot read the /computer/[slave id]/slave-agent.jnlp file because