Jenkins and stash

2015-06-29 Thread Doug
Hi, I'm very new and would appreciate if anyone can point me to how to 
setup Jenkins for Stash repo, no need for webhooks, its for testing and 
I'll just like to manually trigger a build.
I used stash repo URL ssh://git@stash.xx:xx/xx/xx.git with my stash 
credential but got a connection error* "stderr: Host key verification 
failed. "*

-- 
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/d2ea6f80-8423-4227-b95b-6389bbb5db32%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins Plugin categories - upload /download

2015-06-29 Thread Richard Bywater
Is https://wiki.jenkins-ci.org/display/JENKINS/URL+SCM something like you
are looking for?

Richard.

On Tue, 30 Jun 2015 at 03:43 vince webb  wrote:

> Hello Dick
> Thank you for your reply. I'm thinking about this download of multiple
> files not for a single Jenkins job but for numerous different jobs each of
> which will require a different list of files. Thus I figured:
> Step 1 get a file which contains a list of URLs
> Step 2 get a file from each of the URLs identified by the file got in step
> 1
>
> Because I envisage these steps being repeated in numerous similar jobs I
> would like configuration to be as simple as possible. Use of a plugin
> should give less scope for error than pasting in a script.
>
>
>
> On 29 June 2015 at 16:08, Ginga, Dick  wrote:
>
>>  Hi Vince You can of course insert a Batch/Shell step that copies
>> anything you want.
>>
>>
>>
>> There is, under Build Environment section:
>>
>>
>>
>> Run buildstep before SCM runs – from the Pre SCM BuildStep Plugin
>>
>>
>>
>> *From:* jenkinsci-users@googlegroups.com [mailto:
>> jenkinsci-users@googlegroups.com] *On Behalf Of *Vince Webb
>> *Sent:* Monday, June 29, 2015 10:36 AM
>> *To:* jenkinsci-users@googlegroups.com
>> *Subject:* Jenkins Plugin categories - upload /download
>>
>>
>>
>> Hello
>> I'm searching for a plugin that I feel must exist already but I can't
>> find it. I've got to thinking that perhaps the reason I can't find it is a
>> weakness in the plugin categorisations.
>>
>> The terms "upload" and "download" are well understood when the user's
>> local computer is either the source or destination of the file transfer.
>>
>> Local computer to remote computer is Upload
>> Remote compure to local computer is Download.
>>
>> When neither computer is local to the user then use of these terms
>> becomes open to interpretation.
>>
>> There is a Jenkins plugin category named "Artifact uploaders". It mostly
>> has plugins for uploading a build output to a place of publication.
>>
>> What I'm looking for is a plugin for pulling files from a remote place
>> into the Jenkins workspace for use by a build. You might categorise this as
>> a download, if you do then you would expect to find it in a category of
>> plugins whose name includes the word DOWNLOAD.
>>
>> I've found no such category, my search for a plugin to get files from
>> HTTP URLs listed in a file has proved fruitless so far. Thus I am
>> contemplating writing my own plugin even though I feel sure such a plugin
>> must already exist.
>>
>> Vince
>>
>>
>>
>>
>>  --
>> 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/cbfcf804-1df6-415d-b4cb-280abc9105f0%40googlegroups.com
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>  --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "Jenkins Users" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/jenkinsci-users/Et3mtvfLKhA/unsubscribe
>> .
>> To unsubscribe from this group and all its topics, 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/6C6EE445A6F6CE4E8A0FFB51B071A4E2D86429AD%40AMERMBX02.PERKINELMER.NET
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>  --
> 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/CAK4cjrDZAxBr2sQFEvHaFT88xVo%2BmonU%3DdBTWTLtpZwnLnO%3D7w%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAMui947rNqRzyD4M7UE0Ri2_9VRTn0yy3AKh9BrfkAOWc2oAgw%40mail.gmail.com.
For more options, visit https://groups.google.

Re: Publish over CIFS suddenly stops working

2015-06-29 Thread Daniel Beck
Take a thread dump to see what all the threads are doing.

On 23.06.2015, at 22:13, Steve Robbins  wrote:

> Hi,
> 
> I've had Jenkins running fine for some time with jobs that publish the build 
> artifacts to a CIFS share.  Then suddenly it stopped working; the build log 
> says java ran out of native threads.   The master, slave, and CIFS server are 
> all windows machines.
> 
> The stack trace (below) is slightly different but it seems very similar to 
> https://issues.jenkins-ci.org/browse/JENKINS-19075 Unfortunately, the 
> suggestion to use "-Djcifs.resolveOrder=DNS 
> -Djcifs.smb.client.dfs.disabled=true" did not work for me.  [Just to be 
> certain: I used those arguments on the slave node that was failing.  I 
> presume that is where the "publish" is running, right?  Or do I need to 
> modify the master node's options?  If so, how do you accomplish that when the 
> service runs jenkins.exe?]
> 
> I find this sudden failure exceedingly strange since the source code being 
> built has not changed for weeks.  Also that some builds on the same slave 
> node do succeed to transfer their build output. It may be a size effect 
> because the zip file being transferred is 28MB but only 20MB gets transferred 
> before the error occurs. The builds that succeed are transferring less than 
> 3MB. 
> 
> There was about a week between the last good build and the first failing one. 
>  During this time there was no change to the source code being built nor to 
> Jenkins.  So could a change to IT infrastructure like name resolution be the 
> trigger?  Anyone have ideas where to look?
> 
> Thanks,
> -Steve
> 
> Tail of the failing job's console output:
> 
> 14:04:25 java.lang.OutOfMemoryError
> : unable to create new native thread
> 
> 14:04:25 
>   at java.lang.Thread.start0(Native Method)
> 
> 14:04:25 
>   at java.lang.Thread.start(Unknown Source)
> 
> 14:04:25 
>   at jcifs.UniAddress.lookupServerOrWorkgroup(UniAddress.java:173)
> 
> 14:04:25 
>   at jcifs.UniAddress.getAllByName(UniAddress.java:290)
> 
> 14:04:25 
>   at jcifs.UniAddress.getByName(UniAddress.java:245)
> 
> 14:04:25 
>   at jcifs.smb.Dfs.getTrustedDomains(Dfs.java:62)
> 
> 14:04:25 
>   at jcifs.smb.Dfs.resolve(Dfs.java:167)
> 
> 14:04:25 
>   at jcifs.smb.SmbFile.resolveDfs(SmbFile.java:671)
> 
> 14:04:25 
>   at jcifs.smb.SmbFile.send(SmbFile.java:773)
> 
> 14:04:25 
>   at 
> jcifs.smb.SmbFileOutputStream.writeDirect(SmbFileOutputStream.java:245)
> 
> 14:04:25 
>   at jcifs.smb.SmbFileOutputStream.write(SmbFileOutputStream.java:216)
> 
> 14:04:25  at com.slide.hudson.plugins.CIFSShare.upload(CIFSShare.java:397)
> 
> 
> 
> 
> -- 
> 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/eda6a582-8eb2-4a34-8229-796ad0c4c23a%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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/4433FFD5-7647-45BF-A664-A3D397465B4D%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins Plugin categories - upload /download

2015-06-29 Thread vince webb
Hello Dick
Thank you for your reply. I'm thinking about this download of multiple
files not for a single Jenkins job but for numerous different jobs each of
which will require a different list of files. Thus I figured:
Step 1 get a file which contains a list of URLs
Step 2 get a file from each of the URLs identified by the file got in step 1

Because I envisage these steps being repeated in numerous similar jobs I
would like configuration to be as simple as possible. Use of a plugin
should give less scope for error than pasting in a script.



On 29 June 2015 at 16:08, Ginga, Dick  wrote:

>  Hi Vince You can of course insert a Batch/Shell step that copies
> anything you want.
>
>
>
> There is, under Build Environment section:
>
>
>
> Run buildstep before SCM runs – from the Pre SCM BuildStep Plugin
>
>
>
> *From:* jenkinsci-users@googlegroups.com [mailto:
> jenkinsci-users@googlegroups.com] *On Behalf Of *Vince Webb
> *Sent:* Monday, June 29, 2015 10:36 AM
> *To:* jenkinsci-users@googlegroups.com
> *Subject:* Jenkins Plugin categories - upload /download
>
>
>
> Hello
> I'm searching for a plugin that I feel must exist already but I can't find
> it. I've got to thinking that perhaps the reason I can't find it is a
> weakness in the plugin categorisations.
>
> The terms "upload" and "download" are well understood when the user's
> local computer is either the source or destination of the file transfer.
>
> Local computer to remote computer is Upload
> Remote compure to local computer is Download.
>
> When neither computer is local to the user then use of these terms becomes
> open to interpretation.
>
> There is a Jenkins plugin category named "Artifact uploaders". It mostly
> has plugins for uploading a build output to a place of publication.
>
> What I'm looking for is a plugin for pulling files from a remote place
> into the Jenkins workspace for use by a build. You might categorise this as
> a download, if you do then you would expect to find it in a category of
> plugins whose name includes the word DOWNLOAD.
>
> I've found no such category, my search for a plugin to get files from HTTP
> URLs listed in a file has proved fruitless so far. Thus I am contemplating
> writing my own plugin even though I feel sure such a plugin must already
> exist.
>
> Vince
>
>
>
>
>  --
> 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/cbfcf804-1df6-415d-b4cb-280abc9105f0%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Jenkins Users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/jenkinsci-users/Et3mtvfLKhA/unsubscribe.
> To unsubscribe from this group and all its topics, 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/6C6EE445A6F6CE4E8A0FFB51B071A4E2D86429AD%40AMERMBX02.PERKINELMER.NET
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAK4cjrDZAxBr2sQFEvHaFT88xVo%2BmonU%3DdBTWTLtpZwnLnO%3D7w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Debug 'Trigger a remote parameterized job'

2015-06-29 Thread Steve K



Hello,

In my system configuration, I setup the plugin to use the Credentials plugin.
I provided the username and password of a user on the remote system with plenty 
of rights to run the job.

The job, however, is not launching.
I see the following in the console output from the job that attempts to launch 
the remote job:

Connection to remote server failed, waiting for to retry - 10 seconds until 
next attempt.

Retry attempt #5 out of 5
ERROR: Remote build failed for the following reason, but the build will 
continue:ERROR : Max 
number of connection retries have been exeeded.ERROR 
: Remote build failed for 
the following reason, but the build will continue:ERROR 
: Got a blank response 
from Remote Jenkins Server [http://the RemoteJenkinsServer:8080 
], cannot continue.FATAL 
: 
nulljava.lang.NullPointerException 
  
at 
org.jenkinsci.plugins.ParameterizedRemoteTrigger.RemoteBuildConfiguration.perform(RemoteBuildConfiguration.java:535)
 

at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) 

at 
hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770)
 

at hudson.model.Build$BuildExecution.build(Build.java:199) 

etc...

Do you have an idea of what the problem might be?
How do I go about debugging this problem?
Is there a log somewhere that might contain more helpful information?

Thanks in advance.


-- 
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/5f495c8c-1616-4727-aafe-1f21fab74409%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: Jenkins Plugin categories - upload /download

2015-06-29 Thread Ginga, Dick
Hi Vince You can of course insert a Batch/Shell step that copies anything you 
want.

There is, under Build Environment section:

Run buildstep before SCM runs – from the Pre SCM BuildStep Plugin

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Vince Webb
Sent: Monday, June 29, 2015 10:36 AM
To: jenkinsci-users@googlegroups.com
Subject: Jenkins Plugin categories - upload /download

Hello
I'm searching for a plugin that I feel must exist already but I can't find it. 
I've got to thinking that perhaps the reason I can't find it is a weakness in 
the plugin categorisations.

The terms "upload" and "download" are well understood when the user's local 
computer is either the source or destination of the file transfer.

Local computer to remote computer is Upload
Remote compure to local computer is Download.

When neither computer is local to the user then use of these terms becomes open 
to interpretation.

There is a Jenkins plugin category named "Artifact uploaders". It mostly has 
plugins for uploading a build output to a place of publication.

What I'm looking for is a plugin for pulling files from a remote place into the 
Jenkins workspace for use by a build. You might categorise this as a download, 
if you do then you would expect to find it in a category of plugins whose name 
includes the word DOWNLOAD.

I've found no such category, my search for a plugin to get files from HTTP URLs 
listed in a file has proved fruitless so far. Thus I am contemplating writing 
my own plugin even though I feel sure such a plugin must already exist.

Vince




--
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/cbfcf804-1df6-415d-b4cb-280abc9105f0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

-- 
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/6C6EE445A6F6CE4E8A0FFB51B071A4E2D86429AD%40AMERMBX02.PERKINELMER.NET.
For more options, visit https://groups.google.com/d/optout.


Re: What Jenkins copies from slave to master when a build finishes?

2015-06-29 Thread Eric Pyle
The Jenkins book is correct, but the terminology can be misleading. 
Artifacts and build results will indeed be stored on the Jenkins master. 
However, "build results" include only success/failure, console log, and 
other things Jenkins and your plugins use to perform their functions. 
"Artifacts" will only include those files specifically designated as 
artifacts in "Archive the artifacts" under post-build steps. Any other 
files in the workspace will not be transferred. So although you may 
think of various files created by your build as artifacts, Jenkins has 
to be told which ones you want to archive (store on the master).


Eric

On 6/29/2015 10:32 AM, Alan Evangelista wrote:
RG> Well I am not a Linux guy but is /srv/share a folder mapped to 
your Jenkins server? Then that would be a manual copy step.


No, there is no NFS setup between master and server.

RG> If /srv/share is a local folder on your slave, then I do not know 
how it is getting to your master.


That's indeed the case.


Are you sure Jenkins does not copy the artifacts created in a job 
automatically from slave to master? I read differently in chapter 11 
(Distributed Builds) in a book named "Jenkins - The Definitive Guide", 
author John Ferguson:


"In all cases, the fact that a build job is being run on a slave, and 
how that slave is managed, is transparent for the end-user: the build 
results

and artifacts will always end up on the master server."
--
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/f6a93535-bfc1-4011-beb9-7cb1f84daafd%40googlegroups.com 
.

For more options, visit https://groups.google.com/d/optout.


--
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/55915AA9.2020602%40cd-adapco.com.
For more options, visit https://groups.google.com/d/optout.


Jenkins Plugin categories - upload /download

2015-06-29 Thread Vince Webb
Hello
I'm searching for a plugin that I feel must exist already but I can't find 
it. I've got to thinking that perhaps the reason I can't find it is a 
weakness in the plugin categorisations.

The terms "upload" and "download" are well understood when the user's local 
computer is either the source or destination of the file transfer.

Local computer to remote computer is Upload
Remote compure to local computer is Download.

When neither computer is local to the user then use of these terms becomes 
open to interpretation.

There is a Jenkins plugin category named "Artifact uploaders". It mostly 
has plugins for uploading a build output to a place of publication.

What I'm looking for is a plugin for pulling files from a remote place into 
the Jenkins workspace for use by a build. You might categorise this as a 
download, if you do then you would expect to find it in a category of 
plugins whose name includes the word DOWNLOAD.

I've found no such category, my search for a plugin to get files from HTTP 
URLs listed in a file has proved fruitless so far. Thus I am contemplating 
writing my own plugin even though I feel sure such a plugin must already 
exist.

Vince





-- 
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/cbfcf804-1df6-415d-b4cb-280abc9105f0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: What Jenkins copies from slave to master when a build finishes?

2015-06-29 Thread Alan Evangelista
RG> Well I am not a Linux guy but is /srv/share a folder mapped to your 
Jenkins server? Then that would be a manual copy step.

No, there is no NFS setup between master and server.

RG> If /srv/share is a local folder on your slave, then I do not know how 
it is getting to your master.

That's indeed the case.


Are you sure Jenkins does not copy the artifacts created in a job 
automatically from slave to master? I read differently in chapter 11 
(Distributed Builds) in a book named "Jenkins - The Definitive Guide", 
author John Ferguson:

"In all cases, the fact that a build job is being run on a slave, and how 
that slave is managed, is transparent for the end-user: the build results
and artifacts will always end up on the master server."

-- 
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/f6a93535-bfc1-4011-beb9-7cb1f84daafd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Connecting Jenkins Operation Center to an existing jenkins master

2015-06-29 Thread Stephen Connolly
Please do not spam the Jenkins open source mailing lists with questions
specific to CloudBees products. The correct place to direct those issues is
either supp...@cloudbees.com (or perhaps the us...@cloudbees.com mailing
list but I think that is not really used now since the PaaS was dropped)

To try and answer your question... anyway

A version number with two segments is Jenkins OSS, e.g. 1.618 has two
segments "1" and "618"

A version number with three segments is Jenkins LTS, e.g. 1.609.1 has three
segments "1" followed by "609" followed by "1" again

A version number with four segments is based off the corresponding three
segment version, so "1.609.1.1" is a build based on "1.609.1". Where
somebody is providing builds based off the LTS line - for example CloudBees
do this, but anyone could do the same - then they would use version numbers
based on the version they build on, so the four segment "1.609.1.1"
identifies a version that is not produced by the community.

So you are running Jenkins OSS.

For CJOC we mandate that you must have a license for all client masters and
to connect a client master to CJOC you need to have the oc-client plugin
installed. See
https://wiki.jenkins-ci.org/display/JENKINS/CloudBees+Jenkins+Enterprise
for our open source plugin that will connect your instance to our
proprietary update center so that you can download and install the required
plugins (this is because the Jenkins community - who we respect - has
decreed that closed source plugins are not allowed to be hosted on the
community's update centers... so to get our closed source plugins you need
to connect to our own update center)

On 26 June 2015 at 01:09, Well  wrote:

> I've got a Jenkins ver. 1.580.13.1 (Jenkins Operations Center by
> CloudBees 1.6)  installed on a server. I'm trying
> to setup one of my existing jenkins masters (running Jenkins ver. 1.613
> ) to connect as a "Client Master".
>
> According to documentation (here
> )
> this is only possible on the following jenkins versions.
>
> At the time of writing, the current version of CJOC is 1.554.1.2. This
>> version is supports the following versions of Jenkins:
>>
>>- CloudBees Jenkins Enterprise 14.05 (at time of writing this was
>>1.554.10.1 or 1.565.11.1)
>>
>>
>>- CloudBees Jenkins Enterprise 14.11 (at time of writing this was
>>1.580.1.1)
>>
>>
>>- Jenkins OSS current LTS (at time of writing this was 1.580.1)
>>
>>
>>- Jenkins OSS current HEAD (at time of writing this was 1.593)
>>
>>
>
> What I'm wondering is the relation between different release lines out
> there. I wonder if my jenkins 1.613 on the same line as "Jenkins OSS"?
>
> I already tried setting up my existing master as a client master but it
> can't recognize my already existing master's url as a valid jenkins
> instance.
> I'm not sure where on the client master's side should I be looking for the
> registration page?
>
>
>
> 
>
>  --
> 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/8138964d-26e9-44b9-9a6c-8bac71703af0%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CA%2BnPnMyQ_zBaqrG9LzZyH-co4MCy-qTs76X8Ef_Z7G4QO%2BrbWg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re-2: How to stop job at run time

2015-06-29 Thread Jovan Jevric
Hi,

i would have a look, if these builds can be started as downstream-jobs, without 
waiting for those to finisch. Afterwards try polling jobs you're interested in 
instead.
Haven't adapted this approach yet, but may look like this partly:

Joe


 
import hudson.model.*
// For each job
for (item in Hudson.instance.items)
{
  jobName = item.getFullDisplayName()
  // check that job is not building
  if (!item.isBuilding())
  {
// TODO: Modify the following condition to select which jobs to affect
if (jobName == "MyJob")
{
  println("Wiping out workspaces of job " + jobName)
  customWorkspace = item.getCustomWorkspace()
  println("Custom workspace = " + customWorkspace)
 
  for (node in Hudson.getInstance().getNodes())
  {
println("  Node: " + node.getDisplayName())
workspacePath = node.getWorkspaceFor(item)
if (workspacePath == null)
{
  println("Could not get workspace path")
}
else
{
  if (customWorkspace != null)
  {
workspacePath = node.getRootPath().child(customWorkspace)
  }
 
  pathAsString = workspacePath.getRemote()
  if (workspacePath.exists())
  {
workspacePath.deleteRecursive()
println("Deleted from location " + pathAsString)
  }
  else
  {
println("Nothing to delete at " + pathAsString)
  }
}
  }
}
  }
  else
  {
println("Skipping job " + jobName + ", currently building")
  }
}


processed by David.fx 
Subject: Re: How to stop job at run time (29-Jun-2015 11:27)
From:Panikera Raj 
To:  j...@huber-online.com


Hi Guys,


Any update on this...






Regards,
Panikera


On Fri, Jun 26, 2015 at 5:46 PM, Panikera Raj  wrote:

Hi All,


I have a scenario where I am using Build flow project in jenkins like below:


parallel (
  {build("NightlyBuilds")},
  {build("MemoryLeaks")}
  )


so both NightlyBuilds, MemoryLeaks  are going paralally but in memoryleaks 
project i have a check point, when flag become true so i need to stop full 
project how can i achieve this.








for reference you can see screen shot as well


Thanks in advance, You help greatly appreciated.


Regards,
Panikera.


-- 
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/CAEzR4Zwu5HdQ%2BWWra4NBuG1-E3ZsD7Oy0tNwXcNQC-wOLTaAJg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

-- 
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/DIIE.5CD20074486E%40192.168.11.6.
For more options, visit https://groups.google.com/d/optout.


Job Name validation based on Job Type.

2015-06-29 Thread Anil Subudhi
I have created the new project type, I would like to validate the job name 
of project type i created.

What i tried:

  1) As it is calling doCheckjobName of Hudson it is not invoking my 
descriptor method doCheckjobName ().

  2) Checked with newInstance() to throw Runtime exception/Failure but 
though it throws exception but it doesn't print the error message in hudson 
context rather simple response HTTP 500 content coming.Am i missing some 
  jelly to configure.

  3) Tried with error.jelly but no luck. 


  I want either it can be done in form validation or on after submit, it 
should flag the message in Error page.

Can any one help on this.

Thanks!

-- 
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/c74e4e82-31c1-48d0-841f-65ae25d53bec%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: wiki is down

2015-06-29 Thread Arnaud Héritier
wiki was restored ~1h ago and everything seems to be fine
Let us know if you notice any issue

cheers

On Mon, Jun 29, 2015 at 10:29 AM, Arnaud Héritier 
wrote:

> Hi,
>
>   We have an outage on our wiki. I'm trying to restore it. Please be
> patient.
>
> thanks
>
> --
> -
> Arnaud Héritier
> http://aheritier.net
> Mail/GTalk: aheritier AT gmail DOT com
> Twitter/Skype : aheritier
>



-- 
-
Arnaud Héritier
http://aheritier.net
Mail/GTalk: aheritier AT gmail DOT com
Twitter/Skype : aheritier

-- 
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/CAFNCU-_fDdZKthVLzbrvfE7XRO%3DSH1Ha4B1-Q2FSaniGngATJw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to stop job at run time

2015-06-29 Thread Panikera Raj
Hi Guys,

Any update on this...



Regards,
Panikera

On Fri, Jun 26, 2015 at 5:46 PM, Panikera Raj 
wrote:

> Hi All,
>
> I have a scenario where I am using Build flow project in jenkins like
> below:
>
> parallel (
>   {build("NightlyBuilds")},
>   {build("MemoryLeaks")}
>   )
>
> so both *NightlyBuilds, MemoryLeaks  *are going paralally but in
> memoryleaks project i have a check point, when flag become true so i need
> to stop full project how can i achieve this.
>
> [image: Inline image 1]
>
>
> for reference you can see screen shot as well
>
> Thanks in advance, You help greatly appreciated.
>
> Regards,
> Panikera.
>

-- 
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/CAEzR4Zwu5HdQ%2BWWra4NBuG1-E3ZsD7Oy0tNwXcNQC-wOLTaAJg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Log is being polluted..

2015-06-29 Thread Ivo Bellin Salarin
Hi everybody,

I encounter a problem while administering a jenkins server. Its logs are
being polluted bu somewhat, and I am unable to detect what.

Since I don't want to be rude with other ML readers, please find an excerpt
of the jenkins logs at the following address:
https://gist.github.com/nilleb/5b02b0fbbd9551612d85

A line beginning with
AVERTISSEMENT: Ignoring extra content
is printed every few seconds since this morning. How can I detect which is
the source of this generic event class? (org.eclipse.jetty.util.log.JavaUtilLog
warn)

I already have restarted the server and the slaves, but the strange trace
persists. Could this be related to one of the clients of the web interface?
To an incorrect state of the war folder?

-- 
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/CAPc4eF_JZumonA38a1i2qpPT5Y830a8AQeTs%2BM290F-dWt3F%3DQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


wiki is down

2015-06-29 Thread Arnaud Héritier
Hi,

  We have an outage on our wiki. I'm trying to restore it. Please be
patient.

thanks

-- 
-
Arnaud Héritier
http://aheritier.net
Mail/GTalk: aheritier AT gmail DOT com
Twitter/Skype : aheritier

-- 
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/CAFNCU-8X1jkV%3DogsEsm8W5zkUJtTqS185c2G8H3stjru5W9prw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.