Re: Using git publisher from a Jenkinsfile pipeline?

2016-08-26 Thread Random Guy
I tried withCredentials() method...  its giving an error.. 
NoSuchMethodError...

java.lang.NoSuchMethodError: No such DSL method 'withCredentials' found

 Here is how my method look

withCredentials([[$class: 'UsernamePasswordMultiBinding', credentialsId: 
'myid', usernameVariable: 'USERNAME', passwordVariable: 'PASSWORD']]) {

   sh("git tag -a ${TAG_NAME}")
   sh('git push https://${USERNAME}:${PASSWORD}@game-of-life 
--tags')
}

any idea?



On Sunday, June 19, 2016 at 8:30:43 AM UTC-7, Mark Waite wrote:
>
> I found the answer.  Sorry to bother the list.
>
> Git publisher is not yet supported with pipeline (see 
> https://issues.jenkins-ci.org/browse/JENKINS-28335)
>
> A work around to publish to git from a pipeline is available.  See 
> https://github.com/jenkinsci/pipeline-examples/blob/master/pipeline-examples/push-git-repo/pushGitRepo.Groovy
>  
>
> Mark Waite
>
> On Sunday, June 19, 2016 at 9:02:10 AM UTC-6, Mark Waite wrote:
>>
>> I've been creating Jenkins jobs as tests of various bug fixes and storing 
>> them in a git repository.  Currently, the Jenkins jobs include the 
>> definition of the verification steps to confirm the bug is fixed.
>>
>> The pipeline file seems like a better way to check that the problem is 
>> fixed, since the checks for successful job completion can be done in groovy.
>>
>> One of the bugs I need to check needs to use the git publisher to push a 
>> commit back to the originating repository and branch.  In the snippet 
>> generator I can see an entry for "publishHTML", but I don't see any entry 
>> that would let me use the git publisher to push changes.  A google search 
>> also did not show any obvious hints of ways I could use the git publisher.
>>
>> Are there examples that use the git publisher from a pipeline script?
>>
>> Thanks,
>> Mark Waite
>>
>

-- 
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/cd00f7de-6252-41ba-a07e-638e19da0d51%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Parametrized MultiBranch Pipeline Jobs?

2016-08-26 Thread Michael Lasevich
In case anyone is searching here is my own answer to this question - there 
is a 'parameter' command in the Pipeline DSL designed for this exact 
purpose, but there are some gitcha's

* First, the code generator generates broken code - so do not trust it. 
Luckily main issue is easy to fix by replacing the "parameter [...]" syntax 
with "parameter([...])" syntax - but there are other issues - so doublecheck

* Then there is the fact that the request for parameters is set from the 
job itself, so essentially you are setting parameters for the NEXT job, not 
for the one that is running. This actually makes sense, once you wrap your 
head around it

* Ans this is a very nasty one - if you make a mistake in your parameter() 
call that leads to invalid  config (for example a Choice parameter with no 
choices) you are in trouble. Because to fix it, you have to run a job and 
the job will not run until you fix the problem. I ended up having to delete 
the entire MB job to fix it.

-M


On Friday, August 26, 2016 at 12:52:49 PM UTC-7, Michael Lasevich wrote:
>
> Is it possible to add parameters to a multibranch pipeline job? 
>
> I am happy with the job running with some sorts of default values when 
> running automatically, but it would be nice to be able to have Jenkinsfile 
>  (or even manually) define parameters that could be optionally provided 
> when running the job manually.
>
> Thanks,
>
> -M
>
>
>

-- 
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/1e584aef-6a59-4044-80d8-38854230f83f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to get total number of concurrent builds running for a job on Jenkins?

2016-08-26 Thread praveen
  

I would like to monitor how many concurrent builds running for a job on 
Jenkins using groovy script console. 


Using this I'm able to get the all running builds status, But I need to get 
the count of concurrent builds are running for a job. Can someone help me 
on this?


import hudson.model.*

hudson.model.Hudson.instance.items
.findAll { job -> job.isBuilding() }
.each { job ->  
  println "Job ${job.name} is building"}

-- 
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/bea9d271-e78d-4aae-a026-fb734d67109d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Active directory plugin failing to connect to the server after restarting Windows Server 2012 R2

2016-08-26 Thread Sai Chaitanya Madala
Hello,

I'm facing below error after installing Jenkins. Please let me know how to 
solve this issue.

hudson.util.HudsonFailedToLoad: org.jvnet.hudson.reactor.ReactorException: 
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'authenticationManager': Cannot resolve reference to bean 
'activeDirectory' while setting bean property 'providers' with key [0]; nested 
exception is org.springframework.beans.factory.BeanCreationException: Error 
creating bean with name 'activeDirectory': Instantiation of bean failed; nested 
exception is org.springframework.beans.BeanInstantiationException: Could not 
instantiate bean class 
[hudson.plugins.active_directory.ActiveDirectoryAuthenticationProvider]: 
Constructor threw exception; nested exception is 
org.kohsuke.stapler.framework.io.IOException2: Failed to connect to Active 
Directory. Does this machine belong to Active Directory?
at hudson.WebAppMain$3.run(WebAppMain.java:244)
Caused by: org.jvnet.hudson.reactor.ReactorException: 
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'authenticationManager': Cannot resolve reference to bean 
'activeDirectory' while setting bean property 'providers' with key [0]; nested 
exception is org.springframework.beans.factory.BeanCreationException: Error 
creating bean with name 'activeDirectory': Instantiation of bean failed; nested 
exception is org.springframework.beans.BeanInstantiationException: Could not 
instantiate bean class 
[hudson.plugins.active_directory.ActiveDirectoryAuthenticationProvider]: 
Constructor threw exception; nested exception is 
org.kohsuke.stapler.framework.io.IOException2: Failed to connect to Active 
Directory. Does this machine belong to Active Directory?
at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:269)
at jenkins.InitReactorRunner.run(InitReactorRunner.java:45)
at jenkins.model.Jenkins.executeReactor(Jenkins.java:1010)
at jenkins.model.Jenkins.(Jenkins.java:878)
at hudson.model.Hudson.(Hudson.java:85)
at hudson.model.Hudson.(Hudson.java:81)
at hudson.WebAppMain$3.run(WebAppMain.java:227)
Caused by: org.springframework.beans.factory.BeanCreationException: Error 
creating bean with name 'authenticationManager': Cannot resolve reference to 
bean 'activeDirectory' while setting bean property 'providers' with key [0]; 
nested exception is org.springframework.beans.factory.BeanCreationException: 
Error creating bean with name 'activeDirectory': Instantiation of bean failed; 
nested exception is org.springframework.beans.BeanInstantiationException: Could 
not instantiate bean class 
[hudson.plugins.active_directory.ActiveDirectoryAuthenticationProvider]: 
Constructor threw exception; nested exception is 
org.kohsuke.stapler.framework.io.IOException2: Failed to connect to Active 
Directory. Does this machine belong to Active Directory?
at 
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275)
at 
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)
at 
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:287)
at 
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:126)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged(Native Method)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
at 
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
at 

Parametrized MultiBranch Pipeline Jobs?

2016-08-26 Thread Michael Lasevich
Is it possible to add parameters to a multibranch pipeline job? 

I am happy with the job running with some sorts of default values when 
running automatically, but it would be nice to be able to have Jenkinsfile 
 (or even manually) define parameters that could be optionally provided 
when running the job manually.

Thanks,

-M


-- 
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/0e246519-cc41-4222-b4c8-8036a94c0c50%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Automated Jenkins Plugin/Dependency Management

2016-08-26 Thread Michael Kobit
Is there a way to basically "unzip" the *jenkins.war* so that the plugins, 
workflow-libs, and other parts can be configured before actually running 
the service?

On Wednesday, August 17, 2016 at 9:36:08 AM UTC-5, Jason Kulatunga wrote:
>
> Hey,
> Thanks for all the help guys.
> I slept on this idea for a few days because, to be honest I really didn't 
> want to write my own package manager 
> 
>  and 
> re-invent the wheel. I took a step back and looked at how Jenkins solved 
> this problem for Plugin developers, and I think that we could just 
> piggy-back on top of what they use 
> .
>
> Basically what I've done is specify the plugins I want to install in a 
> build.gradle file on my Jenkins server. The build.gradle file lets me 
> specify exactly what versions of the plugins I want for some, and get the 
> latest for the rest. My install task then goes and copies just the runtime 
> hpi files to the $JENKINS_HOME/plugins folder (after clearing out whatever 
> is in there). After restarting my Jenkins server, all plugins are 
> installed, with the correct versions.
>
> I've included a plugin management section in my blog post: You Don't Know 
> Jenkins - Part 1 
>  
> which 
> goes into more detail on how it all works, and includes an example 
> build.gradle file. 
>
> Things to note:
> - The plugin.lock file isn't perfect, its just a STDOUT redirect of 
> `gradle dependencies` which is great for visually checking which versions 
> are installed, but committing it to git gets you nothing, subsequent 
> installs wont be locked to the same transient dependencies. I think I can 
> solve this by using 
> https://github.com/nebula-plugins/gradle-dependency-lock-plugin
> - Since the build.gradle file uses repo.jenkins-ci.org instead of 
> updates.jenkins-ci.org it does pick up the occassional beta/alpha version 
> that gets pushed to the releases repo by developers. I'm working to fix 
> this using a filter in the gradle dependency solver configuration. 
>
>
>
> On Thursday, August 11, 2016 at 6:03:12 PM UTC-7, Michael Kobit wrote:
>>
>> We are looking at doing something similar (actually talking about this 
>> with colleagues today). The idea is to basically build an immutable Jenkins 
>> instance that can't be modified. Or at least severely limit any kinds of 
>> modifications to it so that we have an easily deployable "Jenkins as a 
>> service".
>>
>> I've looked at possibly doing an "unpack and install" execution with the 
>> *jenkins.war 
>> *, but it doesn't look like an easy route. The other pain-point I see is 
>> effectively treating the correct files as "data" that should be persisted 
>> over time, rather than at "Jenkins build time". I am considering trying out 
>> the Docker-type approach. I think for plugin resolution, we are probably 
>> going to have to go the route that you are talking about for doing the 
>> resolution ourselves.
>>
>> For security type issues, I think we could still handle it with the 
>> Docker approach. Build whatever restrictions into the next "immutable" 
>> image and making that deployable. Then, we can have a "staging" area and 
>> easily rollback if we effectively control all the things we need to 
>> control. We are experimenting with pipelines right now, and are waiting to 
>> see how https://issues.jenkins-ci.org/browse/JENKINS-33507 will work for 
>> us to get as much of the job configuration out of Jenkins as possible.
>>
>> We are still in the brainstorming phase, so I'm interested to see who 
>> else has ran into this and what they have done.
>>
>> On Thursday, August 11, 2016 at 5:47:45 PM UTC-5, Jason Kulatunga wrote:
>>>
>>> Hey,
>>> Thanks for all the feedback :)
>>>
>>> @Daniel Beck:
>>> Yup, I'm familiar with the limitations of the 
>>> https://updates.jenkins-ci.org/current/update-center.json file. Thats 
>>> why I'm thinking of creating a plugin/dependency resolution system that 
>>> will have to directly download the specific version of a plugin file from 
>>> update site folder structure 
>>> https://updates.jenkins-ci.org/download/plugins/*/ or use 
>>> https://updates.jenkins-ci.org/latest/ 
>>> if no version restriction is found.
>>>
>>> I wasn't aware that pinning was pointless in 2.x so that'll be an 
>>> interesting problem to deal with. It seems that I'll have to restrict all 
>>> access to the UpdateCenter for idea #1, or do a hybrid approach with a 
>>> UpdateCenter subclass as well.
>>>
>>> @Baptiste Mathus 
>>> Unfortunately just using an image with locked plugins isn't a long term 
>>> solution, because we'll have to occasionally update our Jenkins due to 
>>> required security updates in plugins or the main application. So being able 
>>> to update plugins, creating a new *.lock file, test the plugin interactions 
>>> and 

Re: Archive multiple artifacts with same name

2016-08-26 Thread Michael Lasevich
Have you considered creating a temp subdirectory with identity of your OS 
(can be generated automatically) and then moving your artifacts to that 
directory and archiving the directory? You end up with artifacts with same 
names in different directories - easy to browse and link to, and does what 
you want.

Something like this(untested):

temp="to_archive"
sh """
  dir="${temp}/\$(lsb_release -si)-\$(lsb_release -sr)-\$(uname -m)"
  mkdir -p "\${dir}"
  cp *.rpm "${dir}"
"""
dir(temp){ archive '**' }


-M

On Monday, June 13, 2016 at 1:14:39 AM UTC-7, Sverre Moe wrote:
>
> As I am building on multiple slave nodes I get RPM artifacts from each 
> node. Building on 4 64bit Linux OS, I will get 4 distinct artifacts with 
> the same name. Using ArtifactArchiver will only archive one of those 
> distinct archives and overwrite the previous archived artifact. Considering 
> since each OS may have different versions of libraries one single artifact 
> may not work on all the OS.
>
> Is there a way around this problem that will allow me to archive 4 
> artifacts with same name?
> I am using Jenkins Pipeline and performing the following step
> step([$class: 'ArtifactArchiver', artifacts: '*.rpm', excludes: null, 
> fingerprint: true, onlyIfSuccessful: true])
>
> When I was previously using Multi-configuration builds, this was not a 
> problem since each configuration would show their own artifacts.
>

-- 
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/52524b57-2177-4331-9e3e-e0a3fabea821%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Jenkins-infra question: disabling email notification on watched issues.jenkins-ci.org issues

2016-08-26 Thread Brian Ray
A few weeks ago the JIRA started sending me email notifications on my 
watched issues. Is there a way to disable these notifications on my JIRA 
profile? Atlassian's doc suggests not--it advises setting up inbox filters 
or simply "un-watching" issues when they are no longer of interest.

But, maybe there's a way.

-- 
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/5b10ebf4-538e-4dc3-8fc5-50417a77cd36%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Archive multiple artifacts with same name

2016-08-26 Thread Brian Ray
I can't think of a way around it without naming the artifacts slightly 
differently. That is frustrating.

On Tuesday, August 23, 2016 at 11:39:48 PM UTC-7, Sverre Moe wrote:
>
> Yes, I am using several stash with different name derived from the slave 
> name. This helps me to transfer the artifacts to our repository.
>
> However my problem is with the archive step that makes the artifacts 
> listed up in Jenkins.
> In project branch job: Last Successful Artifacts 
> In each project build: Build Artifacts
>
> If I build an RPM on SLES12 and CentOS7, then that artifact would have the 
> same name: project-1.0.0-1.x86_64.rpm
> Using the archive step would overwrite the artifact the second time I call 
> the archive step for the same named artifact.
>
> tirsdag 23. august 2016 20.53.16 UTC+2 skrev Brian Ray følgende:
>>
>> Have you looked at the stash step 
>> ?
>>  
>> You can set an arbitrary name, which is how I got around a similar issue.
>>
>> The only downside is that the artifacts aren't saved with the build. If 
>> you need that capability there may be a way to hack that however.
>>
>> On Thursday, August 11, 2016 at 11:15:31 PM UTC-7, Sverre Moe wrote:
>>>
>>> As it stands, using archive is useless unless it can be organized by the 
>>> node it was built on. Building a single project on multiple linux 
>>> distributions will produce the same named file, but not necessary the same.
>>>
>>> mandag 13. juni 2016 10.14.39 UTC+2 skrev Sverre Moe følgende:

 As I am building on multiple slave nodes I get RPM artifacts from each 
 node. Building on 4 64bit Linux OS, I will get 4 distinct artifacts with 
 the same name. Using ArtifactArchiver will only archive one of those 
 distinct archives and overwrite the previous archived artifact. 
 Considering 
 since each OS may have different versions of libraries one single artifact 
 may not work on all the OS.

 Is there a way around this problem that will allow me to archive 4 
 artifacts with same name?
 I am using Jenkins Pipeline and performing the following step
 step([$class: 'ArtifactArchiver', artifacts: '*.rpm', excludes: null, 
 fingerprint: true, onlyIfSuccessful: true])

 When I was previously using Multi-configuration builds, this was not a 
 problem since each configuration would show their own artifacts.

>>>

-- 
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/2d1e86b8-cb9f-43bb-a46e-33c34bce0646%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Jenkins-infra] Jenkins installation offline

2016-08-26 Thread Oleg Nenashev
Hi,

If you need to install Jenkins offline and then manage plugins on it, the
best way would be to use a local update center, through which you can
distribute plugins. For example see
https://github.com/yandex-qatools/juseppe (Embedded file-based update
center).

Once you connect Jenkins to such update center, the most of the
installation flows will be similar to common Jenkins. The only exception
are downloadable tools (Java, Maven, Ant, etc.). Generally you should avoid
using them by using alternate installers (e.g. from the core or from Extra
Tool Installers Plugin
).

Hopefully it helps,
Oleg

2016-08-24 22:11 GMT+02:00 Daruwala, Jimmy :

> Classification: Internal
>
> Hi All,
>
>
>
> My company is planning to migrate from Bamboo to Jenkins. As usual our
> servers do not have any internet connection, which makes my life really
> hard to test installing Jenkins in our staging Linux server. Moreover,
> Jenkins out of the box does not help with anything, only plugins make
> Jenkins what it is. And for testing purposes which plugin to use and
> install “offline” seems really tough.
>
>
>
> Can someone please guide me through the installation and setup of
> *plugins* in Jenkins offline. We can take example of Jira plugin.
>
>
>
> Thanks,
>
> Jimmy Daruwala
>
>
>
>
>
> If you wish to unsubscribe from receiving commercial electronic messages
> from TD Bank Group, please click here  or go
> to the following web address: www.td.com/tdoptout
> Si vous souhaitez vous désabonner des messages électroniques de nature
> commerciale envoyés par Groupe Banque TD veuillez cliquer ici
>  ou vous rendre à l'adresse www.td.com/tddesab
>
>
> NOTICE: Confidential message which may be privileged. Unauthorized
> use/disclosure prohibited. If received in error, please go to
> www.td.com/legal for instructions.
> AVIS : Message confidentiel dont le contenu peut être privilégié.
> Utilisation/divulgation interdites sans permission. Si reçu par erreur,
> prière d'aller au www.td.com/francais/avis_juridique pour des
> instructions.
>
> ___
> Jenkins-infra mailing list
> jenkins-in...@lists.jenkins-ci.org
> http://lists.jenkins-ci.org/mailman/listinfo/jenkins-infra
>
>

-- 
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/CAPfivLAR6WTK5cbBS2W_8U19wxXa%2B2W%2BA4P1TcSuTUg0XZS-kA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Contents of file to be shown in email body with new line or proper line

2016-08-26 Thread Dattatreyac Shekar
Plain text.
It is a just a Text file with few lines. The new lines are not getting
honoured.

On Fri, Aug 26, 2016 at 8:05 PM, Slide  wrote:

> Are you using plain text or html emails? If html, wrap a 
> around it
>
> On Fri, Aug 26, 2016, 04:58 Dattatreyac Shekar 
> wrote:
>
>> *Scenario :*
>> Invoking Jenkins Job remotely using curl with a file parameter.
>> *Goal:*
>> Display the contents of file in email body.
>> Using the Editable Email Notification plugin.
>> *Expected Behavior.*
>> Contents of file to be shown in email body with new line or proper line
>> feeds.
>> *Actual Behavior*
>> Contents of file is shown without line feeds or new lines.
>> *Expectation:*
>> Please let me know,is there any settings or any alternates for the same to
>> achieve.
>>
>> --
>> 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/02f13060-c975-401c-ac3f-
>> 7b3b0b00aad1%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/gi56yItn3zE/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/CAPiUgVettUaioQVw%3Dr1GUF%3D1RAxG_DR%
> 3DgKMpxt1pT6dvJrnSuw%40mail.gmail.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
C Dattatreya
9880433955

-- 
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/CAGWySpF99-6HsaR-3sUezTzi3ts8fFNiL192tBuOh-rsZqv2ew%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to find who's the master of a given slave?

2016-08-26 Thread geoffroy . jabouley
Hi
maybe you can check the command line executed to run the jenkins slave. At 
least for java web start slaves, there is a jnlpurl options which contains 
url to the master.
Not sure about windows services and linux ssh slaves.
BR

Le vendredi 26 août 2016 17:08:24 UTC+2, Tamir Gefen a écrit :
>
> Hello,
> Assuming I have access to a given slave node, what would be the most 
> efficient way to find out its master? Is that info is located in some 
> configuration file? Something else?
>
> Thank you
>
>

-- 
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/e9045e50-64e5-4681-b6e9-f69f6ce7280d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


pipeline bat return -1 without any info, cmd work into cmd.exe

2016-08-26 Thread jerome
Hi,

I have the following simple script (I reduce the number of output to debug 
it to a single file):

node
{
  bat "\"" + pwd() + 
"\\external\\Qt55\\msvc2015_64_opengl\\bin\\qmllint.exe\" \"" + pwd() + 
"\\QmlScripts\\Production\\GeometryCleaner\\GeometryCleaner.qml\"";
}

[Pipeline] nodeRunning on master in 
d:\JenkinsWorkspace\BuildSystemTest\TestPipeline[Pipeline] {[Pipeline] 
pwd[Pipeline] pwd[Pipeline] bat[TestPipeline] Running batch script

d:\JenkinsWorkspace\BuildSystemTest\TestPipeline>"d:\JenkinsWorkspace\BuildSystemTest\TestPipeline\external\Qt55\msvc2015_64_opengl\bin\qmllint.exe"
 
"d:\JenkinsWorkspace\BuildSystemTest\TestPipeline\QmlScripts\Production\GeometryCleaner\GeometryCleaner.qml"
 [Pipeline] }[Pipeline] // node[Pipeline] End of PipelineERROR: script returned 
exit code -1Finished : 
FAILURE


I don't understand why, this command run just fine into a cmd.exe, and I don't 
have much info to help me as why this doesn't work?!?


the cmd.exe as same user as Jenkins run and return -1:

D:\JenkinsWorkspace\BuildSystemTest\TestPipeline>"d:\JenkinsWorkspace\BuildSystemTest\TestPipeline\external\Qt55\msvc2015_64_opengl\bin\qmllint.exe"
 
"d:\JenkinsWorkspace\BuildSystemTest\TestPipeline\QmlScripts\Production\GeometryCleaner\GeometryCleaner.qml"
d:\JenkinsWorkspace\BuildSystemTest\TestPipeline\QmlScripts\Production\GeometryCleaner\GeometryCleaner.qml:66
 : Expected token `,'

D:\JenkinsWorkspace\BuildSystemTest\TestPipeline>

I tried to make sure the output was not surpressed by the reutrn -1 by setting 
returnStatus to true:

node
{
  bat([returnStatus: true, script: "\"" + pwd() + 
"\\external\\Qt55\\msvc2015_64_opengl\\bin\\qmllint.exe\" \"" + pwd() + 
"\\QmlScripts\\Production\\GeometryCleaner\\GeometryCleaner.qml\""]);
}

It does complete the script with success but the command is not run:

[Pipeline] nodeRunning on master in 
d:\JenkinsWorkspace\BuildSystemTest\TestPipeline[Pipeline] {[Pipeline] 
pwd[Pipeline] pwd[Pipeline] bat[TestPipeline] Running batch script

d:\JenkinsWorkspace\BuildSystemTest\TestPipeline>"d:\JenkinsWorkspace\BuildSystemTest\TestPipeline\external\Qt55\msvc2015_64_opengl\bin\qmllint.exe"
 
"d:\JenkinsWorkspace\BuildSystemTest\TestPipeline\QmlScripts\Production\GeometryCleaner\GeometryCleaner.qml"
 [Pipeline] }[Pipeline] // node[Pipeline] End of PipelineFinished: SUCCESS


It's inside the same path, the same .exe the same args, but something is 
missing but no information is given. Anybody have a way to fix this or at least 
debug what is wrong with it?


-- 
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/309a05c9-4eba-4862-9dae-22f18c995be6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to find who's the master of a given slave?

2016-08-26 Thread Tamir Gefen
Hello,
Assuming I have access to a given slave node, what would be the most 
efficient way to find out its master? Is that info is located in some 
configuration file? Something else?

Thank you

-- 
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/bb8e5310-1c88-42ef-8f0d-1860f5c00781%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Best practices: many distinct jobs vs parameterized jobs

2016-08-26 Thread Rich Schumacher
Thanks for the great feedback, everyone! These are all good arguments and 
I've been convinced of the benefits of using distinct jobs for each 
project. Thankfully, the Job DSL plugin makes this trivial.

Cheers!

On Friday, August 12, 2016 at 4:53:15 PM UTC-4, Rich Schumacher wrote:
>
> Hey folks,
>
>
> I'm using the Job DSL plugin to create CI/CD pipelines for a bunch of 
> projects. The projects themselves are very similar and therefore the jobs 
> for build and release will be nearly identical, differing only in stuff 
> like Git repo to clone, email address for notifications, etc. I've been 
> going back and forth about using distinct jobs for each project or to use a 
> parameterized job for each step of the pipeline. The former leads to a 
> proliferation of jobs that are nearly identical. The latter leads to jobs 
> that might have 3-6 parameters and means it's difficult to use directly 
> since you'll need to define all the parameters. The nice thing is that the 
> Job DSL plugin makes either case pretty easy to support.
>
>
> So my question is really about best practices and preferences: many 
> distinct jobs vs a handful of parameterized jobs? Are there any non-obvious 
> pro/cons that I'm missing?
>
>
> 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/ec82c0ca-4e87-4582-97e9-2478c63dd5f7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Contents of file to be shown in email body with new line or proper line

2016-08-26 Thread Slide
Are you using plain text or html emails? If html, wrap a  around
it

On Fri, Aug 26, 2016, 04:58 Dattatreyac Shekar 
wrote:

> *Scenario :*
> Invoking Jenkins Job remotely using curl with a file parameter.
> *Goal:*
> Display the contents of file in email body.
> Using the Editable Email Notification plugin.
> *Expected Behavior.*
> Contents of file to be shown in email body with new line or proper line
> feeds.
> *Actual Behavior*
> Contents of file is shown without line feeds or new lines.
> *Expectation:*
> Please let me know,is there any settings or any alternates for the same to
> achieve.
>
> --
> 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/02f13060-c975-401c-ac3f-7b3b0b00aad1%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/CAPiUgVettUaioQVw%3Dr1GUF%3D1RAxG_DR%3DgKMpxt1pT6dvJrnSuw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to run jenkins in jdk 1.6

2016-08-26 Thread 'Björn Pedersen' via Jenkins Users
Hi,

You should really read the blog post. Jenkins itself need at least JDK1.7 
to run (actually only a JRE1.7) . But you can install more than one jdk on 
a machine, so the jobs can use an older jdk to build soemthing. 
To configure the available jdks, go  to 'manage jenkins' -> 'Configure 
tools'. 

Björn

-- 
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/c0a698e7-0d3a-4f14-84a7-14c663470fc5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins takes too long for loading recent changes of current job (15min approx)

2016-08-26 Thread Mark Waite
On Fri, Aug 26, 2016 at 12:33 AM Ravalika  wrote:

>
> Is there anyway we can debug, why the slow performance apart from
> jenkins.log?
>
>
>
You can increase the logging level of the various classes in the git plugin
and the git client plugin in hopes that the logging time stamps and
messages will give some indication of areas that are slow.  Refer to
https://wiki.jenkins-ci.org/display/JENKINS/Logging for instructions to
increase log levels from the user interface.  The git client plugin source
code (https://github.com/jenkinsci/git-client-plugin) and the git plugin
source code (https://github.com/jenkinsci/git-plugin) will show you the
classes you can monitor and the logging levels.

You could try capturing periodic stack traces of the Jenkins process while
it is computing those changes.  The jvmtop (
http://stackoverflow.com/questions/6846049/profiling-a-running-java-application-in-command-line)
script seems like it could help there, without requiring recompilation or a
profiler.

You could  try running your Jenkins process with VisualVM as a profiler (
https://visualvm.java.net/profiler.html).

Mark Waite

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


Re: How to run jenkins in jdk 1.6

2016-08-26 Thread Panikera Raj
I got the issue, Looks like backward compatibility is not there for
jenkins. after downgrading jenkins version it is able to start with JDK
1.6. Not sure what is behind do not support for older version.

anyway thanks guys, much appreciated your help.

-Panikera





On Fri, Aug 26, 2016 at 5:34 PM, Chris Selwyn 
wrote:

> I suggest you read https://jenkins.io/blog/2015/04/06/good-bye-java6/.
>
> Chris Selwyn
>
>
> On 2016-08-26 12:48, Panikera Raj wrote:
>
>> I have other windows setup which I had JDK 1.6, there I can start
>> jenkins successfully and using for daily activities.
>>
>> -Panikera
>>
>> On Fri, Aug 26, 2016 at 5:06 PM, Chris Selwyn
>>  wrote:
>>
>> You cannot run Jenkins itself on anything less than JDK 7.
>>> What Nicolas was saying was that it is, however, still possible to
>>> have Jenkins build with JDKs less that JDK 7 by adding them to the
>>> Jenkins configuration using the setting in "Manage Jenkins".
>>>
>>> So you need to have at least JDK 7 installed and then whatever other
>>> JDKs that you wish to use to perform builds.
>>>
>>> Chris Selwyn
>>>
>>> On 2016-08-26 12:23, Panikera Raj wrote:
>>>
>>> Can you bit elaborate about this,
>>>
>>> how cay achieve this, is there any configuration file where I can
>>> specify to use JDK 1.6
>>>
>>> -Panikera
>>>
>>> On Fri, Aug 26, 2016 at 3:55 PM, nicolas de loof
>>>  wrote:
>>>
>>> You have to distinguish the JDK running jenkins and the JDK
>>> building
>>> your project. You can configure jenkins to build with arbitrary JDK,
>>> using Java installations on global configuration and selecting the
>>> adequate one for your jobs
>>>
>>> 2016-08-26 11:22 GMT+02:00 Panikera Raj :
>>>
>>> Hi All,
>>>
>>> I have a problem, please do help me on this
>>>
>>> First I have installed JDK 1.7 in windows-64 bit machine, then I
>>> have started jenkins, in jenkins i have created some projects
>>> Called Android and I was able executing successfully, But later I
>>> am facing some issue in Android project, so I have downgraded My
>>> Java JDK to 1.6, Here only my actual problem started,
>>>
>>> After downgrading java version I am trying run jenkins,
>>> but I am facing blow exception.
>>>
>>> D:\Jenkins>java -jar jenkins.war
>>> Jenkins requires Java7 or later, but you are running 1.6.0_21-b06
>>> from C:\Program Files\Java\jdk1.6.0_21\jre
>>> java.lang.UnsupportedClassVersionError: 50.0 at Main.main
>>> (Main.java:83)
>>>
>>> D:\Jenkins>
>>>
>>> Please let me know how to resolve this issue. I don't have other
>>> chance to upgrade the Java version to 1.7, I have to use 1.6 only
>>> please help me on this.
>>> your help will be highly appriciated
>>>
>>> -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/CAEzR4Zxk8
>> CKY4-zGmPGfve2K5T6RiYb2Oevg2xwcTc7unh273Q%40mail.gmail.com
>> [2]
>>
>> [1].
 For more options, visit https://groups.google.com/d/optout [1]
 [2].

>>>
>>> --
>>> 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/CANMVJzkxY
>> _RQLWuO5Bff1ekGAZrnqTWxfb1bwvT0yUwA0LJg9g%40mail.gmail.com
>> [3]
>>
>> [3].
>>> For more options, visit https://groups.google.com/d/optout [1] [2].
>>>
>>
>>  --
>> 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/CAEzR4Zyd8
>> 5EZhrWJ2zuuGHqoCQpwiCi0nRMH99e-fYEPL65Xtg%40mail.gmail.com
>> [4]
>> [4].
>> For more options, visit https://groups.google.com/d/optout [1].
>>
>>  Links:
>> --
>> [1]
>> https://groups.google.com/d/msgid/jenkinsci-users/CAEzR4Zxk8
>> CKY4-zGmPGfve2K5T6RiYb2Oevg2xwcTc7unh273Q%40mail.gmail.com?
>> utm_medium=emailutm_source=footer
>> [5]
>> [2] https://groups.google.com/d/optout [1]
>> [3]
>> https://groups.google.com/d/msgid/jenkinsci-users/CANMVJzkxY
>> _RQLWuO5Bff1ekGAZrnqTWxfb1bwvT0yUwA0LJg9g%40mail.gmail.com?u
>> tm_medium=emailutm_source=footer
>> [6]
>> [4]
>> https://groups.google.com/d/msgid/jenkinsci-users/CAEzR4Zyd8
>> 5EZhrWJ2zuuGHqoCQpwiCi0nRMH99e-fYEPL65Xtg%40mail.gmail.com?
>> utm_medium=email_source=footer
>> [7]
>>
>> --
>> You received this message because you are subscribed to 

Re: How to run jenkins in jdk 1.6

2016-08-26 Thread Chris Selwyn

I suggest you read https://jenkins.io/blog/2015/04/06/good-bye-java6/.

Chris Selwyn

On 2016-08-26 12:48, Panikera Raj wrote:

I have other windows setup which I had JDK 1.6, there I can start
jenkins successfully and using for daily activities.

-Panikera

On Fri, Aug 26, 2016 at 5:06 PM, Chris Selwyn
 wrote:


You cannot run Jenkins itself on anything less than JDK 7.
What Nicolas was saying was that it is, however, still possible to
have Jenkins build with JDKs less that JDK 7 by adding them to the
Jenkins configuration using the setting in "Manage Jenkins".

So you need to have at least JDK 7 installed and then whatever other
JDKs that you wish to use to perform builds.

Chris Selwyn

On 2016-08-26 12:23, Panikera Raj wrote:

Can you bit elaborate about this,

how cay achieve this, is there any configuration file where I can
specify to use JDK 1.6

-Panikera

On Fri, Aug 26, 2016 at 3:55 PM, nicolas de loof
 wrote:

You have to distinguish the JDK running jenkins and the JDK
building
your project. You can configure jenkins to build with arbitrary JDK,
using Java installations on global configuration and selecting the
adequate one for your jobs

2016-08-26 11:22 GMT+02:00 Panikera Raj :

Hi All,

I have a problem, please do help me on this

First I have installed JDK 1.7 in windows-64 bit machine, then I
have started jenkins, in jenkins i have created some projects
Called Android and I was able executing successfully, But later I
am facing some issue in Android project, so I have downgraded My
Java JDK to 1.6, Here only my actual problem started,

After downgrading java version I am trying run jenkins,
but I am facing blow exception.

D:\Jenkins>java -jar jenkins.war
Jenkins requires Java7 or later, but you are running 1.6.0_21-b06
from C:\Program Files\Java\jdk1.6.0_21\jre
java.lang.UnsupportedClassVersionError: 50.0 at Main.main
(Main.java:83)

D:\Jenkins>

Please let me know how to resolve this issue. I don't have other
chance to upgrade the Java version to 1.7, I have to use 1.6 only
please help me on this.
your help will be highly appriciated

-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/CAEzR4Zxk8CKY4-zGmPGfve2K5T6RiYb2Oevg2xwcTc7unh273Q%40mail.gmail.com
[2]


[1].
For more options, visit https://groups.google.com/d/optout [1]
[2].


--
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/CANMVJzkxY_RQLWuO5Bff1ekGAZrnqTWxfb1bwvT0yUwA0LJg9g%40mail.gmail.com
[3]


[3].
For more options, visit https://groups.google.com/d/optout [1] [2].


 --
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/CAEzR4Zyd85EZhrWJ2zuuGHqoCQpwiCi0nRMH99e-fYEPL65Xtg%40mail.gmail.com
[4]
[4].
For more options, visit https://groups.google.com/d/optout [1].

 Links:
--
[1]
https://groups.google.com/d/msgid/jenkinsci-users/CAEzR4Zxk8CKY4-zGmPGfve2K5T6RiYb2Oevg2xwcTc7unh273Q%40mail.gmail.com?utm_medium=emailutm_source=footer
[5]
[2] https://groups.google.com/d/optout [1]
[3]
https://groups.google.com/d/msgid/jenkinsci-users/CANMVJzkxY_RQLWuO5Bff1ekGAZrnqTWxfb1bwvT0yUwA0LJg9g%40mail.gmail.com?utm_medium=emailutm_source=footer
[6]
[4]
https://groups.google.com/d/msgid/jenkinsci-users/CAEzR4Zyd85EZhrWJ2zuuGHqoCQpwiCi0nRMH99e-fYEPL65Xtg%40mail.gmail.com?utm_medium=email_source=footer
[7]

--
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/f20904727b4faed4863820ef60e57723%40selwyn-family.me.uk
[8].

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

 --
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/CAEzR4Zz_QJSugDJBm_wr6cNBRhviwDwvD_yfjtEULCLqgGrW2Q%40mail.gmail.com
[9].
For more options, visit 

Contents of file to be shown in email body with new line or proper line

2016-08-26 Thread Dattatreyac Shekar
*Scenario :*
Invoking Jenkins Job remotely using curl with a file parameter.
*Goal:*
Display the contents of file in email body.
Using the Editable Email Notification plugin.
*Expected Behavior.*
Contents of file to be shown in email body with new line or proper line
feeds.
*Actual Behavior*
Contents of file is shown without line feeds or new lines.
*Expectation:*
Please let me know,is there any settings or any alternates for the same to
achieve.

-- 
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/02f13060-c975-401c-ac3f-7b3b0b00aad1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to run jenkins in jdk 1.6

2016-08-26 Thread Panikera Raj
I have other windows setup which I had JDK 1.6, there I can start jenkins
successfully and using for daily activities.

-Panikera


On Fri, Aug 26, 2016 at 5:06 PM, Chris Selwyn 
wrote:

> You cannot run Jenkins itself on anything less than JDK 7.
> What Nicolas was saying was that it is, however, still possible to have
> Jenkins build with JDKs less that JDK 7 by adding them to the Jenkins
> configuration using the setting in "Manage Jenkins".
>
> So you need to have at least JDK 7 installed and then whatever other JDKs
> that you wish to use to perform builds.
>
> Chris Selwyn
>
>
> On 2016-08-26 12:23, Panikera Raj wrote:
>
>> Can you bit elaborate about this,
>>
>> how cay achieve this, is there any configuration file where I can
>> specify to use JDK 1.6
>>
>> -Panikera
>>
>> On Fri, Aug 26, 2016 at 3:55 PM, nicolas de loof
>>  wrote:
>>
>> You have to distinguish the JDK running jenkins and the JDK building
>>> your project. You can configure jenkins to build with arbitrary JDK,
>>> using Java installations on global configuration and selecting the
>>> adequate one for your jobs
>>>
>>> 2016-08-26 11:22 GMT+02:00 Panikera Raj :
>>>
>>> Hi All,

 I have a problem, please do help me on this

 First I have installed JDK 1.7 in windows-64 bit machine, then I
 have started jenkins, in jenkins i have created some projects
 Called Android and I was able executing successfully, But later I
 am facing some issue in Android project, so I have downgraded My
 Java JDK to 1.6, Here only my actual problem started,

 After downgrading java version I am trying run jenkins,
 but I am facing blow exception.

 D:\Jenkins>java -jar jenkins.war
 Jenkins requires Java7 or later, but you are running 1.6.0_21-b06
 from C:\Program Files\Java\jdk1.6.0_21\jre
 java.lang.UnsupportedClassVersionError: 50.0 at Main.main
 (Main.java:83)

 D:\Jenkins>

 Please let me know how to resolve this issue. I don't have other
 chance to upgrade the Java version to 1.7, I have to use 1.6 only
 please help me on this.
 your help will be highly appriciated

 -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/CAEzR4Zxk8
>> CKY4-zGmPGfve2K5T6RiYb2Oevg2xwcTc7unh273Q%40mail.gmail.com
>>
>>> [1].
 For more options, visit https://groups.google.com/d/optout [2].

>>>
>>> --
>>> 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/CANMVJzkxY
>> _RQLWuO5Bff1ekGAZrnqTWxfb1bwvT0yUwA0LJg9g%40mail.gmail.com
>>
>>> [3].
>>> For more options, visit https://groups.google.com/d/optout [2].
>>>
>>
>>  --
>> 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/CAEzR4Zyd8
>> 5EZhrWJ2zuuGHqoCQpwiCi0nRMH99e-fYEPL65Xtg%40mail.gmail.com
>> [4].
>> For more options, visit https://groups.google.com/d/optout.
>>
>>
>> Links:
>> --
>> [1]
>> https://groups.google.com/d/msgid/jenkinsci-users/CAEzR4Zxk8
>> CKY4-zGmPGfve2K5T6RiYb2Oevg2xwcTc7unh273Q%40mail.gmail.com?
>> utm_medium=emailutm_source=footer
>> [2] https://groups.google.com/d/optout
>> [3]
>> https://groups.google.com/d/msgid/jenkinsci-users/CANMVJzkxY
>> _RQLWuO5Bff1ekGAZrnqTWxfb1bwvT0yUwA0LJg9g%40mail.gmail.com?u
>> tm_medium=emailutm_source=footer
>> [4]
>> https://groups.google.com/d/msgid/jenkinsci-users/CAEzR4Zyd8
>> 5EZhrWJ2zuuGHqoCQpwiCi0nRMH99e-fYEPL65Xtg%40mail.gmail.com?
>> utm_medium=email_source=footer
>>
>
> --
> 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/ms
> gid/jenkinsci-users/f20904727b4faed4863820ef60e57723%40selwyn-family.me.uk
> .
>
> 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 

Re: How to run jenkins in jdk 1.6

2016-08-26 Thread Chris Selwyn

You cannot run Jenkins itself on anything less than JDK 7.
What Nicolas was saying was that it is, however, still possible to have 
Jenkins build with JDKs less that JDK 7 by adding them to the Jenkins 
configuration using the setting in "Manage Jenkins".


So you need to have at least JDK 7 installed and then whatever other 
JDKs that you wish to use to perform builds.


Chris Selwyn

On 2016-08-26 12:23, Panikera Raj wrote:

Can you bit elaborate about this,

how cay achieve this, is there any configuration file where I can
specify to use JDK 1.6

-Panikera

On Fri, Aug 26, 2016 at 3:55 PM, nicolas de loof
 wrote:


You have to distinguish the JDK running jenkins and the JDK building
your project. You can configure jenkins to build with arbitrary JDK,
using Java installations on global configuration and selecting the
adequate one for your jobs

2016-08-26 11:22 GMT+02:00 Panikera Raj :


Hi All,

I have a problem, please do help me on this

First I have installed JDK 1.7 in windows-64 bit machine, then I
have started jenkins, in jenkins i have created some projects
Called Android and I was able executing successfully, But later I
am facing some issue in Android project, so I have downgraded My
Java JDK to 1.6, Here only my actual problem started,

After downgrading java version I am trying run jenkins,
but I am facing blow exception.

D:\Jenkins>java -jar jenkins.war
Jenkins requires Java7 or later, but you are running 1.6.0_21-b06
from C:\Program Files\Java\jdk1.6.0_21\jre
java.lang.UnsupportedClassVersionError: 50.0 at Main.main
(Main.java:83)

D:\Jenkins>

Please let me know how to resolve this issue. I don't have other
chance to upgrade the Java version to 1.7, I have to use 1.6 only
please help me on this.
your help will be highly appriciated

-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/CAEzR4Zxk8CKY4-zGmPGfve2K5T6RiYb2Oevg2xwcTc7unh273Q%40mail.gmail.com

[1].
For more options, visit https://groups.google.com/d/optout [2].


--
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/CANMVJzkxY_RQLWuO5Bff1ekGAZrnqTWxfb1bwvT0yUwA0LJg9g%40mail.gmail.com

[3].
For more options, visit https://groups.google.com/d/optout [2].


 --
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/CAEzR4Zyd85EZhrWJ2zuuGHqoCQpwiCi0nRMH99e-fYEPL65Xtg%40mail.gmail.com
[4].
For more options, visit https://groups.google.com/d/optout.


Links:
--
[1]
https://groups.google.com/d/msgid/jenkinsci-users/CAEzR4Zxk8CKY4-zGmPGfve2K5T6RiYb2Oevg2xwcTc7unh273Q%40mail.gmail.com?utm_medium=emailutm_source=footer
[2] https://groups.google.com/d/optout
[3]
https://groups.google.com/d/msgid/jenkinsci-users/CANMVJzkxY_RQLWuO5Bff1ekGAZrnqTWxfb1bwvT0yUwA0LJg9g%40mail.gmail.com?utm_medium=emailutm_source=footer
[4]
https://groups.google.com/d/msgid/jenkinsci-users/CAEzR4Zyd85EZhrWJ2zuuGHqoCQpwiCi0nRMH99e-fYEPL65Xtg%40mail.gmail.com?utm_medium=email_source=footer


--
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/f20904727b4faed4863820ef60e57723%40selwyn-family.me.uk.
For more options, visit https://groups.google.com/d/optout.


Re: How to run jenkins in jdk 1.6

2016-08-26 Thread Panikera Raj
Can you bit elaborate about this,

how cay achieve this, is there any configuration file where I can specify
to use JDK 1.6

-Panikera


On Fri, Aug 26, 2016 at 3:55 PM, nicolas de loof 
wrote:

> You have to distinguish the JDK running jenkins and the JDK building your
> project. You can configure jenkins to build with arbitrary JDK, using Java
> installations on global configuration and selecting the adequate one for
> your jobs
>
> 2016-08-26 11:22 GMT+02:00 Panikera Raj :
>
>> Hi All,
>>
>> I have a problem, please do help me on this
>>
>> First I have installed JDK 1.7 in windows-64 bit machine, then I have
>> started jenkins, in jenkins i have created some projects Called Android and
>> I was able executing successfully, But later I am facing some issue in
>> Android project, so I have downgraded My Java JDK to 1.6, Here only my
>> actual problem started,
>>   After downgrading java version I am trying run jenkins, but I
>> am facing blow exception.
>> D:\Jenkins>java -jar jenkins.war
>> Jenkins requires Java7 or later, but you are running 1.6.0_21-b06 from
>> C:\Program Files\Java\jdk1.6.0_21\jre
>> java.lang.UnsupportedClassVersionError: 50.0 at Main.main (Main.java:83)
>>
>> D:\Jenkins>
>>
>>
>> Please let me know how to resolve this issue. I don't have other chance
>> to upgrade the Java version to 1.7, I have to use 1.6 only please help me
>> on this.
>> your help will be highly appriciated
>>
>> -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/ms
>> gid/jenkinsci-users/CAEzR4Zxk8CKY4-zGmPGfve2K5T6RiYb2Oevg2xw
>> cTc7unh273Q%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/CANMVJzkxY_RQLWuO5Bff1ekGAZrnqTWxfb1bwvT0
> yUwA0LJg9g%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/CAEzR4Zyd85EZhrWJ2zuuGHqoCQpwiCi0nRMH99e-fYEPL65Xtg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


How can I set jnlp port from command line?

2016-08-26 Thread user_dev
I am trying to run some jenkins scripts through command line. But it 
requires me to set jnlp port. How do I set it from command line ?

This question shows a way through curl but it does not work inside ansible 
command 
https://groups.google.com/forum/#!searchin/jenkinsci-users/set$20jnlp$20port$20via$20command$20line|sort:relevance/jenkinsci-users/xQhwgYySRV4/PREXjuR-LBwJ

-- 
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/12217abc-25ba-441b-8610-148f9dfc760d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to run jenkins in jdk 1.6

2016-08-26 Thread nicolas de loof
You have to distinguish the JDK running jenkins and the JDK building your
project. You can configure jenkins to build with arbitrary JDK, using Java
installations on global configuration and selecting the adequate one for
your jobs

2016-08-26 11:22 GMT+02:00 Panikera Raj :

> Hi All,
>
> I have a problem, please do help me on this
>
> First I have installed JDK 1.7 in windows-64 bit machine, then I have
> started jenkins, in jenkins i have created some projects Called Android and
> I was able executing successfully, But later I am facing some issue in
> Android project, so I have downgraded My Java JDK to 1.6, Here only my
> actual problem started,
>   After downgrading java version I am trying run jenkins, but I am
> facing blow exception.
> D:\Jenkins>java -jar jenkins.war
> Jenkins requires Java7 or later, but you are running 1.6.0_21-b06 from
> C:\Program Files\Java\jdk1.6.0_21\jre
> java.lang.UnsupportedClassVersionError: 50.0 at Main.main (Main.java:83)
>
> D:\Jenkins>
>
>
> Please let me know how to resolve this issue. I don't have other chance to
> upgrade the Java version to 1.7, I have to use 1.6 only please help me on
> this.
> your help will be highly appriciated
>
> -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/CAEzR4Zxk8CKY4-zGmPGfve2K5T6RiYb2Oevg2xwcTc7u
> nh273Q%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/CANMVJzkxY_RQLWuO5Bff1ekGAZrnqTWxfb1bwvT0yUwA0LJg9g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


How to run jenkins in jdk 1.6

2016-08-26 Thread Panikera Raj
Hi All,

I have a problem, please do help me on this

First I have installed JDK 1.7 in windows-64 bit machine, then I have
started jenkins, in jenkins i have created some projects Called Android and
I was able executing successfully, But later I am facing some issue in
Android project, so I have downgraded My Java JDK to 1.6, Here only my
actual problem started,
  After downgrading java version I am trying run jenkins, but I am
facing blow exception.
D:\Jenkins>java -jar jenkins.war
Jenkins requires Java7 or later, but you are running 1.6.0_21-b06 from
C:\Program Files\Java\jdk1.6.0_21\jre
java.lang.UnsupportedClassVersionError: 50.0 at Main.main (Main.java:83)

D:\Jenkins>


Please let me know how to resolve this issue. I don't have other chance to
upgrade the Java version to 1.7, I have to use 1.6 only please help me on
this.
your help will be highly appriciated

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


batch task and maven_release-plugin

2016-08-26 Thread Philippe Couas
Hi,

Could i use Maven Release plugin then in Post build task launching an batch
task to copy released war in an special directory ?

Regards
Phil

-- 
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%2BkJPKbjz27%2BuzaCWHP%2BhPaOF94y5y73i1iVV%2BSOtRxH1N8piw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins takes too long for loading recent changes of current job (15min approx)

2016-08-26 Thread Ravalika
Hi Mark,

Thank you,

answers inline

On Thursday, August 25, 2016 at 6:09:53 PM UTC+5:30, Mark Waite wrote:
>
> The job in the original picture showed only 7 items in its history.  Are 
> some of your jobs retaining many, many history entries?  If so, that will 
> slow the Jenkins startup time, and might slow the time to compute changes.  
> The configuration slicing plugin is very effective at showing (and 
> changing) the amount of history retained for all jobs in the system.
>
>
We have around 10 disabled jobs and 20 active running jobs. For some jobs 
the history is more. 
Is the  configuration slicing plugin required to show the changes?

Has the file system changed any significant characteristics (switched from 
> a local fast file system to a USB 2.0 file system, or to a storage area 
> network or to an NFS mount, or some other form of remote file system)?
>

It is same filesystem, We are not accessing nfs mount data. Initially some 
old builds used to access data from the network, but now we have copied all 
necessary data in the same server, All data stored in same server  

>
> Is the slower performance specific to a few jobs, or general to all jobs?  
> If specific to a few jobs, then you might investigate if the workspace 
> directories for those jobs would benefit by being "wiped" (using the "Wipe 
> workspace" additional behaviour of the git plugin) and reconstructed the 
> next time the job runs.
>

No, The slower performance is not specific to few jobs, general to all jobs.


> The job in the original picture showed "Git polling log" as one of the 
> links.  If you're using git, did you change the git version at the same 
> time you updated Jenkins?  Command line git is generally very fast to 
> compute changes, so this is an unlikely scenario.
>
>
No, we haven''t upgraded the git version in new server 

You could check the "raw git" performance in those repositories by changing 
> into the workspace directory of one or more jobs and executing "git log" 
> commands of various forms to confirm that command line git is performing 
> well.
>
> I have tried git log combinations in the workspaces. git performance is 
very fast through command line 

Is there anyway we can debug, why the slow performance apart from 
jenkins.log?

Thank you very much for your help


Mark Waite
>
> On Thu, Aug 25, 2016 at 4:48 AM Ravalika  
> wrote:
>
>> I have tried applying the workaround mentioned for SECURITY-243, but no 
>> luck
>> When i click on recent changes, still takes approx 15 min to display the 
>> messages.
>>
>> Thank you
>> Renuka
>>
>>
>> On Thursday, August 25, 2016 at 11:26:13 AM UTC+5:30, Ravalika wrote:
>>>
>>> Thank you,
>>> Old Jenkin version is 1.6.3 migrated to jenkins stable version 2.7.1
>>>
>>>
>>> On Monday, August 22, 2016 at 4:54:44 PM UTC+5:30, Daniel Beck wrote:

 When asking about a possible regression, it helps to mention both the 
 version you're using now, as well as the version you were using before. 

 Try applying the workaround mentioned for SECURITY-243 here: 


 https://wiki.jenkins-ci.org/display/SECURITY/Jenkins+Security+Advisory+2016-05-11
  


 > On 22.08.2016, at 08:42, Renuka Pampana  wrote: 
 > 
 > Hi, 
 > 
 > We have migrated recently to Jenkins new stable version. After 
 migration, Jenkins takes too long for displaying the changes of the 
 current 
 job (approx. 15min). 
 > 
 > Can you please provide me some suggestions to improve the speed? 
 > 
 > 
 > Thanks, 
 > Renuka 
 > 
 > -- 
 > 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-use...@googlegroups.com. 
 > To view this discussion on the web visit 
 https://groups.google.com/d/msgid/jenkinsci-users/283e63c8-5cd2-459c-8161-0dc95138%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-use...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/d4ebe6bc-9eba-4e0e-bc1a-1af6be7cf0af%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 

Re: Unreadable data for build wrappers

2016-08-26 Thread Morten Gregersen
Thank you!

Downgrading 'ruby-runtime' to version 0.12 solved our problem.

Den onsdag den 24. august 2016 kl. 14.22.19 UTC+2 skrev Gavin Williams:

> Just to update, after some more googling and debugging, I came across: 
> JENKINS-37422  
>
> The suggestion there is to roll the 'ruby-runtime' plugin back to v0.12.
>
> I gave that a go, and like magic all my broken builds have started working 
> again following a restart... :D
> I didn't even need to go in and re-set the RVM build envs... 
>
> HTH
>
> Gav
>
> On Tuesday, 23 August 2016 15:41:51 UTC+1, Gavin Williams wrote:
>>
>> Not that it helps you Morten, but I've just been hit by the same issue 
>> with RVM and Build-Name-Setter. 
>>
>> Following a restart, the UI and Jenkins dis-regards any config settings, 
>> even though the build config.xml looks correct... 
>>
>> I really don't want to have to fettle 20+ jobs every time I have to 
>> restart Jenkins... 
>>
>> Anyone have any ideas?
>>
>> Env is Jenkins 2.7.2 with latest plugins across the board. 
>>
>> Cheers
>> Gavin 
>>
>> On Tuesday, 23 August 2016 14:50:18 UTC+1, Morten Gregersen wrote:
>>>
>>> We've been using the RVM and ANSI color plugins for several months now. 
>>> Suddenly they stopped working after a restart of Jenkins.
>>>
>>> We generate new jobs from a config.xml template:
>>> 
>>> 
>>>   
>>>   
>>>   DISPLAY_NAME
>>>   false
>>>   
>>>   
>>> 2
>>> 
>>>   
>>> https://server/my_repo.git
>>> Nice GUUID
>>>   
>>> 
>>> 
>>>   
>>> */master
>>>   
>>> 
>>> 
>>> false
>>> 
>>> 
>>>   
>>>   true
>>>   false
>>>   
>>> false
>>>   false
>>>   
>>> 
>>>   */10 5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,0,1 
>>> * * *
>>> 
>>>   
>>>   false
>>>   
>>> 
>>>   ./my_script.rb PRODUCT PLATFORM
>>> 
>>>   
>>>   
>>> 
>>>   te...@example.com
>>>   false
>>>   false
>>> 
>>>   
>>>   
>>> >> plugin="ansicolor@0.4.2">
>>>   xterm
>>> 
>>> 
>>>   >> pluginid="rvm">
>>> rvm
>>> 
>>>   2.3.0
>>> 
>>>   
>>> 
>>>   
>>> 
>>>
>>> When I *Reload Configuration from Disk* in *Manage Jenkins* I get a *You 
>>> have data stored in an older format and/or unreadable data.*
>>>
>>> In the *Manage Old Data* I see the following *Unreadable Data*:
>>> TypeNameError
>>> hudson.model.FreeStyleProject MyJob NoSuchMethodError: 
>>> org.jruby.RubyClass.getVariableAccessorForWrite(Ljava/lang/String;)Lorg/jruby/RubyClass$VariableAccessor;,
>>>  
>>> MissingFieldException: No field 'impl' found in class 'java.lang.Object', 
>>> InstantiationError: null
>>> In the job configuration the checkmark and value for *Color ANSI 
>>> Console Output *and *Run the build in a RVM-managed environment* are 
>>> empty and not set.
>>>
>>> I tried to discard the unreadable data. Then I tick on the two 
>>> properties and set the value to the same as in the config.xml and save. 
>>> Then the config.xml is exactly the same as before I discarded the 
>>> unreadable data.
>>>
>>> When I *Reload Configuration from Disk* in *Manage Jenkins* I get a the 
>>> *You 
>>> have data stored in an older format and/or unreadable data* again.
>>>
>>> How do I get Jenkins to read my configuration correctly again?
>>>
>>> I use Jenkins 2.19 via Jenkins.app 
>>>  on Mac OS X 10.11.6 with the 
>>> newest RVM and ANSI color plugins.
>>>
>>

-- 
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/a15c6479-96b5-4d3d-8187-17a571e6803e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


GitLab integration: web hooks for GitLab CE with Jenkins multi-branch project?

2016-08-26 Thread ST
Hi,

Is there a way to make push event trigger the build for the associated
branch in a Jenkins multi-branch project, using GitLab 8.x Community
Edition (CE)?

The GitLab documentation about Jenkins integration
  http://docs.gitlab.com/ee/integration/jenkins.html
mentions that the Jenkins GitLab Hook Plugin is deprecated in favor of the
Jenkins GitLab Plugin. However since there is "...gitlab.com/ee/..."  in
that URL it is unclear to me whether GitLab CE is supported at all, and
how/where one is supposed to do the configuration?

Anyone using GitLab CE and was able to configure web hooks for multi-branch
project? Or is the only solution in this case to use "SCM polling"?

Thanks!
 stefan.

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