Re: how to pull latest source code when build module only

2016-08-30 Thread 严细浪
When build module, jenkins doesn't execute any configured commands, On Tuesday, August 30, 2016 at 5:59:29 PM UTC+8, maciej wrote: > > 严细浪 (2016-08-23 08:16): > > I am using Jenkins to build a multi module maven project, in Jenkins i can > trigger to build a maven module, however when build

[ANN] - Demos at Jenkins World

2016-08-30 Thread Alyssa Tong
Hello, The events team is organizing a series of short demos to be done in the Open Source Hub at Jenkins World . The demos will be delivered by contributors and JAM leaders who are

Re: Plugin Updates mirror - build-pipeline-plugin Permissions issue - can no longer view folder?

2016-08-30 Thread Daniel Beck
> On 30.08.2016, at 23:28, Chris M wrote: > > Thanks for the followup, good to know i'm not crazy. Fixed for now. Filed the bug as https://issues.jenkins-ci.org/browse/INFRA-908 -- You received this message because you are subscribed to the Google Groups "Jenkins

Re: Do not delete a completed job workspace under all conditions

2016-08-30 Thread Martin d'Anjou
On Thursday, August 25, 2016 at 11:15:43 AM UTC-4, Robert Beddow wrote: > Is there anything like this out there? Or does anyone have any suggestions > of how else I could get the functionality I'm looking for? > Yes, you can try the External Workspace Manager Plugin

Re: Not able to see Jenkin's execution in local desktop

2016-08-30 Thread Slide
It's a "feature" of Windows 10 that you can't see the interaction of a windows service on the desktop, it has nothing to do with Jenkins itself. On Tue, Aug 30, 2016 at 2:33 PM A.K wrote: > So is it the feature of Jenkins that the execution is not visible in >

Re: Not able to see Jenkin's execution in local desktop

2016-08-30 Thread A.K
So is it the feature of Jenkins that the execution is not visible in Windows 10 OS? Is it also applicable for windows slave machine? If it is one of the Jenkins' feature, can you please share any link / documentation to check for the same. On Wednesday, August 31, 2016 at 2:53:10 AM UTC+5:30,

Re: Plugin Updates mirror - build-pipeline-plugin Permissions issue - can no longer view folder?

2016-08-30 Thread Chris M
Thanks for the followup, good to know i'm not crazy. -Chris On Tuesday, August 30, 2016 at 5:00:04 PM UTC-4, Daniel Beck wrote: > > This was the first response I sent, unfortunately it was stuck in > moderation. > > I merged the PR I filed against the update site generator, let's see what >

Re: Not able to see Jenkin's execution in local desktop

2016-08-30 Thread Slide
I don't think this is possible anymore after Windows Vista. On Tue, Aug 30, 2016 at 2:09 PM A.K wrote: > Currently I am using Jenkins version 2.7.1 in Windows 10 desktop. When I > am building any project, I am not able to see any execution happening in my > desktop.

Re: Loaded Classes Count grows over time: crashes Jenkins with Perm Gen

2016-08-30 Thread Alexander Gray II
Thank you so much for this info. I ended up upgrading my JDK from 7 to 8. I also added: -Dgroovy.use.classvalue=true JENKINS_JAVA_OPTIONS="-Djava.awt.headless=true *-Dgroovy.use.classvalue=true* -Xms4096m -Xmx4096m -XX:MaxPermSize=1024m -XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC

Not able to see Jenkin's execution in local desktop

2016-08-30 Thread A.K
Currently I am using Jenkins version 2.7.1 in Windows 10 desktop. When I am building any project, I am not able to see any execution happening in my desktop. I searched for this and tried the following option but it didn't work for me. Please suggest how can I resolve this issue. *Steps

Re: build-environment-plugin does not appear to display on pipeline jobs

2016-08-30 Thread Daniel Beck
I've found it's a good practice to just run 'env' (or 'set' on Windows) in any shell steps whose environment I care about. Helps with weird machine-local /etc/profile and similar files as well, overriding what they should not be. > On 30.08.2016, at 23:00, Wayne Warren wrote:

build-environment-plugin does not appear to display on pipeline jobs

2016-08-30 Thread Wayne Warren
Does anyone know how to view the build environment for a pipeline job? Is this built in to the pipeline job somehow and therefore needs no support from build-environment-plugin? I'd be happy to submit JIRA ticket for this and submit a patch if the fix isn't too time-consuming. It's pretty

Re: Plugin Updates mirror - build-pipeline-plugin Permissions issue - can no longer view folder?

2016-08-30 Thread Daniel Beck
This was the first response I sent, unfortunately it was stuck in moderation. I merged the PR I filed against the update site generator, let's see what it looks like in a few hours. > On 30.08.2016, at 17:29, Daniel Beck wrote: > > Interesting. Looks like a robustness issue

Re: Windows slave

2016-08-30 Thread Baptiste Mathus
Are you in a corporate environment? Are you sure the windows machine can actually access the master? You could use telnet on that Windows agent to see if you manage at least to reach the fixed jnlp port you've set on the master. Cheers Le 24 août 2016 4:37 PM, "Timmy Vercruysse"

Re: What is a permanent agent or slave server when discussing Jenkins?

2016-08-30 Thread Baptiste Mathus
Again, you're welcome to try and push forward that initiative if you think it's important. 2016-08-27 20:10 GMT+02:00 Kiran : > The CM tools have terms for servers that receive changes. I don't see why > a CI tool would not have one. Apparently the Jenkins community

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

2016-08-30 Thread Baptiste Mathus
Hi, What are you trying to achieve? Cheers 2016-08-26 17:08 GMT+02:00 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

Re: Plugin Updates mirror - build-pipeline-plugin Permissions issue - can no longer view folder?

2016-08-30 Thread Daniel Beck
Interesting. Looks like a robustness issue in the update center generator. Build Pipeline (and two others) have incomplete deployments, resulting in warnings during update site generation -- and all three of them are not listed in that folder. I'll file this bug to be fixed in general, and

Re: Loaded Classes Count grows over time: crashes Jenkins with Perm Gen

2016-08-30 Thread Baptiste Mathus
This is definitely not normal. You should take a heap dump and use typical tools for analyzing such dumps in Java. Eclipse MAT is one of them, developed [originally?] by SAP IIRC, but there are many others. Also, I would definitely advise you to switch over to a JDK8, which hasn't permgen

Re: Windows slave on Linux server

2016-08-30 Thread Baptiste Mathus
Please don't repost. Simply use Google groups archive to see if your message went through. Le 24 août 2016 10:14 PM, "Timmy Vercruysse" a écrit : > Dear, > > i'm using a Jenkins server(from Bitnami). When i try to configure a slave > it works fine for Linux(true

Re: How can I set jnlp port from command line?

2016-08-30 Thread Baptiste Mathus
Why wouldn't it work using Ansible? Granted, as-is it wouldn't be idempotent, but did you try using the shell module for example? 2016-08-26 13:09 GMT+02:00 user_dev : > I am trying to run some jenkins scripts through command line. But it > requires me to set jnlp port.

Re: Loaded Classes Count grows over time: crashes Jenkins with Perm Gen

2016-08-30 Thread Baptiste Mathus
Correction: for the perm gen, this is not exactly a heap dump, by definition. IIRC, MAT or the likes should still be helpful. What you want to identify is the class FQN and so on that are the most present. Possibly, that'd help identiying which plugin or something is responsible for that leak.

Re: How can I host a private Jeinkins Plugin Repo

2016-08-30 Thread Baptiste Mathus
https://jenkins.io/blog/2015/07/14/juseppe-a-custom-update-site-for-jenkins/ 2016-08-29 18:28 GMT+02:00 : > For reasons I won't go into here, I'd like to be able to host my own > Jenkins Plugin repo and then configure my Jenkins server to use it. I have > not been able to

Re: NullPointerExceptions after adding TimerTrigger via groovy script.

2016-08-30 Thread Baptiste Mathus
Hello, There's a bunch of examples there: https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+Script+Console (see the end of the page). Cheers 2016-08-29 15:12 GMT+02:00 kumar naresh : > > HI Colin, > > this groovy is updating/adding build perodic section in build

Re: Jenkins Pipeline Issue

2016-08-30 Thread Baptiste Mathus
What do indexing logs say? Did you actually write Jenkinsfile or JenkinsFile as in your mail. If the latter, then it's normal, it should be Jenkinsfile. Cheers Le 23 août 2016 8:52 PM, "vishad alekh" a écrit : > Thanks for the reply Mathus. > > > I have uploaded the

Re: Do not delete a completed job workspace under all conditions

2016-08-30 Thread Baptiste Mathus
You should treat the workspace filesystem as an internal thing for Jenkins IMO. Archiving artefact is one feature to express the things you wanna keep. If you want to keep a directory structure for later reuse, maybe you could either zip it and archive it. Or push it somewhere else at the end of

Re: Archive multiple artifacts with same name

2016-08-30 Thread David Karlsen
I see the archive DSL have less options (fingerprint) than the wrapper-based version - should they become aligned? 2016-08-29 9:14 GMT+02:00 Sverre Moe : > That worked. > > I removed > step([$class: 'ArtifactArchiver', artifacts: '*.rpm', excludes: null, > fingerprint:

Re: Jenkins 2.0 requirements

2016-08-30 Thread Daniel Beck
> On 30.08.2016, at 18:14, Ashish Yadav wrote: > > How can I confirm if I meet the above requirements? I am currently running > Jenkins LTS v1.642.3 on CentOS v7. It’s the ‘standard’ installation of > Jenkins from the yum repository. How do I know if I am running

New Pipeline plugin: Pipeline Model Definition

2016-08-30 Thread Andrew Bayer
Hey all - I've released a first preliminary version (0.1) of a new plugin, Pipeline: Model Definition. It's intended to provide a more config-like/declarative way to define Pipelines, with features like better syntactic/semantic error messages, an easy way to specify notifications or post-build

Jenkins 2.0 requirements

2016-08-30 Thread Ashish Yadav
As per https://jenkins.io/2.0/, > Jenkins 2 now requires Servlet 3.1 to run. If you're not using the embedded > Winstone-Jetty, make sure your container supports Servlet 3.1 (e.g. Tomcat 8) > before upgrading. > Jenkins 2 no longer supports AJP with the embedded Winstone-Jetty container, > so

Re: Automated Jenkins Plugin/Dependency Management

2016-08-30 Thread Michael Kobit
My fault explaining that I know that I can extract it using the *jar* command, but I don't get the same "unzipped" output as running *java -jar jenkins.war*. It looks like this happens because of some magic in https://github.com/jenkinsci/extras-executable-war that handles the unpacking and

Re: Using HTTP Request plugin to remote control an IDE

2016-08-30 Thread Amaury Laurent
For information, this is the architecture I'm working on. The main problem was to make LabVIEW and Jenkins talk to each other...

Re: Plugin Updates mirror - build-pipeline-plugin Permissions issue - can no longer view folder?

2016-08-30 Thread Daniel Beck
> On 30.08.2016, at 17:31, Chris M wrote: > > also curiosu; would this more go into Jenkins Developers group than Users? Probably best on the infra list: https://jenkins.io/content/mailing-lists/ -- You received this message because you are subscribed to the Google

Re: Plugin Updates mirror - build-pipeline-plugin Permissions issue - can no longer view folder?

2016-08-30 Thread Chris M
also curiosu; would this more go into Jenkins Developers group than Users? On Tuesday, August 30, 2016 at 10:52:15 AM UTC-4, Chris M wrote: > > http://updates.jenkins-ci.org/download/plugins/ > > lists all plugins that I spot check; and used to list > build-pipeline-plugin. > > Now, > >

Plugin Updates mirror - build-pipeline-plugin Permissions issue - can no longer view folder?

2016-08-30 Thread Chris M
http://updates.jenkins-ci.org/download/plugins/ lists all plugins that I spot check; and used to list build-pipeline-plugin. Now, http://updates.jenkins-ci.org/download/plugins/build-pipeline-plugin/ fails to resolve even though direct link from the manifest still works.

Re: Build failure with Exception in thread "main" java.lang.ClassNotFoundException: hudson.remoting.Launcher

2016-08-30 Thread Michael Giroux
Disconnecting the slave, and then reconnecting solved the problem for us. This causes jenkins to refresh the runtime jars on the slave. On Wednesday, June 17, 2015 at 12:55:57 PM UTC-7, 1eyed...@gmail.com wrote: > > We ultimately got our server administrator to restart Jenkins, and now the >

Re: Send custom message to Flowdock chat

2016-08-30 Thread Anjib Mulepati
Anyone? On Tuesday, August 9, 2016 at 12:10:03 PM UTC-5, Anjib Mulepati wrote: > > Hi All, > > Is there a way a to send custom message to the Flowdock chat. Right now I > have a dsl as: > > flowdock(FlowdockUtils.FLOWDOCK_TOKEN) { chat() success(false) > fixed(false) } > And it is sending

Re: Loaded Classes Count grows over time: crashes Jenkins with Perm Gen

2016-08-30 Thread grayaii
I tried this tweaking the startup options, but things still grow: JENKINS_JAVA_OPTIONS="-Djava.awt.headless=true *-Xms4096m -Xmx4096m -XX:MaxPermSize=1024m -XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC* -Dhudson.model.ParametersAction.keepUndefinedParameters=true" We are using system

Re: Git fetch fall into timeout

2016-08-30 Thread Mark Waite
Embedding username and password in the URL of an https bitbucket repository has been problematic for the git plugin. https://issues.jenkins-ci.org/browse/JENKINS-28460 and https://issues.jenkins-ci.org/browse/JENKINS-22694 both report issues with that form. You will probably have better results

Re: how to pull latest source code when build module only

2016-08-30 Thread Maciej Jaros
严细浪 (2016-08-23 08:16): I am using Jenkins to build a multi module maven project, in Jenkins i can trigger to build a maven module, however when build module, Jenkins will not pull latest source code, source code only pulled when whole project is built. how to make Jenkins pull source code

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

2016-08-30 Thread Sverre Moe
Just have GitLab execute notifyCommit to Jenkins. https://jenkins.company.com:8443/git/notifyCommit?url=ssh://g...@git.company.com/project.git We are using this with a Git Hook in Gitolite. mandag 29. august 2016 17.35.56 UTC+2 skrev Michael Lasevich følgende: > > This is probably more of a

Re: Parametrized MultiBranch Pipeline Jobs?

2016-08-30 Thread Jesse Glick
BTW I think you are referring to the `properties` step, which takes a list of properties, one of which may be parameter definitions. -- 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

Re: Parametrized MultiBranch Pipeline Jobs?

2016-08-30 Thread Jesse Glick
The first issue is being fixed. The second issue has a possible resolution filed in JIRA. The third issue certainly sounds like a bug. Please file it in `workflow-multibranch-plugin` with a script to demonstrate how to reproduce. -- You received this message because you are subscribed to the

Git fetch fall into timeout

2016-08-30 Thread Readonly Guilhermo
Hi dear enthusiastic Jenkins users, I hope one of you can help me ! ;) I'm facing a real problem since we use git plugin instead of svn. While the git plugin is fetching a repo (on a stash server) nothing happen until we fall into the timeout period. This behavior is systematic and we never

Re: Jenkins build on changes in github branch only.

2016-08-30 Thread MT
forgot to mention the Jenkins slaves in this case are dynamic ( coming from a a cloud infrastructure provider). so i think one issue is no local cache here. On Monday, 29 August 2016 23:43:46 UTC-7, MT wrote: > > This might be very basic question, something that is puzzling me. > If i want to

Jenkins build on changes in github branch only.

2016-08-30 Thread MT
This might be very basic question, something that is puzzling me. If i want to build my project whenever a change happens in my github branch how do it do that? What have i done : * add web hook for jenkins in my github "http://jenkins_url/github-webhook * add build trigger to build only

Subversion Release Manager - Can't take build with Specific Revision

2016-08-30 Thread linson . joseph
Hello Support, Recently we have got an issue with Subversion Release Manager plugin where we cannot take build using specific revision number. We have noticed the issue after upgrading Jenkins to version Jenkins ver. 2.7.1 from Jenkins 1.6. Earlier we were able to