Re: Jenkins Mail Commander setup

2016-10-13 Thread Flint Fazz
is there a way to trigger to build a project by sending email? -- 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

Re: Jenkins Mail Commander setup

2016-10-13 Thread Flint Fazz
sorry, i forgot to explain... i want to use an email that trigger to build a project. and I saw Mail Commander plugin. -- 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

Re: PermGen issue

2016-10-13 Thread vishad alekh
Hi, Yes, I am using multi branch pipeline and also jdk 7.  Actually I have made build n compilation job for 3 application. There is a master job which is calling these three jobs in parallel executor.  Thanks and Regards  Vishad Alekh Sent from my BlackBerry 10 smartphone.   Original Message

Re: Jenkins Mail Commander setup

2016-10-13 Thread Mark Waite
It is impressive that a plugin from 2011, based on Jenkins 1.398, which seems to have only released a single version, is still running with a Jenkins version roughly 300 releases later. You probably want to use email-ext or a more recently maintained plugin to send e-mail. Mark Waite On Thu,

Jenkins Mail Commander setup

2016-10-13 Thread Flint Fazz
I did follow the MAIL COMMANDER setup but the problem is, but where should I put the "jenkins-cli.jar"? then tried to send email, and couldn't trigger.. POP3 mail server address: pop.gmail.com POP3 mail server port: 995 POP3 User Name: jenk...@gmail.com POP3 Password: ** then I tried to

Re: PermGen issue

2016-10-13 Thread R. Tyler Croy
(replies inline) On Thu, 13 Oct 2016, vishad alekh wrote: > Hi All, > > I am using Jenkins 2.11. My Jenkins is frequently going down with permGen > issue. > Even if I am not executing any jobs. > My server configuration is pretty good too. > > Can someone please assist with the possible

PermGen issue

2016-10-13 Thread vishad alekh
Hi All, I am using Jenkins 2.11. My Jenkins is frequently going down with permGen issue. Even if I am not executing any jobs. My server configuration is pretty good too. Can someone please assist with the possible reason for the same. Or any way in which this can be resolved. I have tried

Re: Automated Jenkins Installs

2016-10-13 Thread Victor Martinez
Hi Ryan, There are different solutions besides of using Docker (which IMO, it's the one of the best ones as Mark already suggested), as long as you use Configuration Management tools: - Ansible -> https://galaxy.ansible.com/geerlingguy/jenkins/ - Puppet ->

Re: error in Jenkins.

2016-10-13 Thread Victor Martinez
It's worth adding further details about what you did to see that error and also what plugins/jenkins versions are installed. Then you can get more accurate answers though. What Stackoverflow means: - http://stackoverflow.com/questions/22182669/what-actually-causes-a-stack-overflow-error Just

Re: Polling both svn and git from pipeline

2016-10-13 Thread Rachel
Hi, In your case, I would have two separated Jenkins jobs, but sharing the same workspace: - Advanced Project Options > Use custom workspace I hope be useful. Best regards, Rachel El miércoles, 12 de octubre de 2016, 2:47:08 (UTC+2), taroc...@gmail.com escribió: > > Is it possible to

Re: Jenkins with Cucumber not working, please help !!

2016-10-13 Thread Rachel
Hi Vinoth, I'm not sure if you executed Maven command after plugins installation or if you restarted Jenkins after installation. I think you're looking for Cucumber Reports Plugin and you have detailed information about

Re: error in Jenkins.

2016-10-13 Thread Rachel
Hi Zue, What job configuration are you trying to execute? Best regards, Rachel El jueves, 13 de octubre de 2016, 18:32:17 (UTC+2), Zue Sani escribió: > > Hi could any one let me know what was this error? how to rectify it. > > > Thank you, > zue. > -- You received this message because you are

Re: Unable To execute SCons script in jenkins

2016-10-13 Thread Rachel
Hi, Yes, that's the reason. If you remove the build step about SCons, you'll have to add a new step: - Add build step > Execute shell and write the SCons command: scons -f /Users/Uma/.jenkins/jobs/Sample/workspace or in a smart way: scons -f $WORKSPACE I think you don't need to

Jenkins pipeline - run parallel things on an agent

2016-10-13 Thread Lina Muryanto
Hi, I am a new Jenkins Pipeline user. I want to use Jenkins pipeline to run my regression tests. For simplification, I want to run 2 tests on same node (agent) in parallel. My pipeline script has a stage that looks like: ... stage ('runParallel') { node ('regrNode') { def

Running externally loaded groovy functions on agent

2016-10-13 Thread Fahd Arshad
Hi Guys, I need Some help loading external functions in Jenkinsfile. Jenkinsfile contents below: node('local-node') { git "https://github.com/afahd/MW.git; echo "this is groovy" clone.clone() } Externally loaded function: @Grab(group='org.yaml', module='snakeyaml', version='1.17')

Jenkins with Cucumber not working, please help !!

2016-10-13 Thread Vinoth Kannan
Hi, I have a maven project, in which i have used Cucumber with Junit runner. Now i tried of integrating it with jenkins and was able to invoke the script through simple command "mvn test" from jenkins But when i clicked on Cucumber-JVM report its not showing anything other than build

Re: Automated Jenkins Installs

2016-10-13 Thread Mark Waite
The official Jenkins image can be easily extended to pass in the configuration in files. That's how it is designed to work, and it has worked quite well for me. If you'd like to see one way to do it, look at the lts-with-plugins branch of my docker repo,

Automated Jenkins Installs

2016-10-13 Thread Ryan Cocks
Hi, I'm a bit surprised to find Jenkins installation requires manual intervention via a user interface. Are there any guides on how to avoid the UI and do an automated deploy of Jenkins itself? Best idea I have is to store a post-setup jenkins docker image. I'd much prefer to be able to pass

touble with push hook from github enterprise

2016-10-13 Thread Watrous, Daniel
Hi, I'm using github enterprise (GHE) and Jenkins 2.17. I have a working parameterized pipeline. Now I'm interested in having that run every time code is pushed to GHE. I have the GHE side setup to send a push notification. [cid:image001.png@01D2253C.A6A8C6F0] The green checkmark seems to

Re: Are jelly templates supported in email-ext with pipeline

2016-10-13 Thread András Gaál
Hi, any updates on this? Regards, Andrew On Thursday, April 21, 2016 at 4:21:52 PM UTC+2, slide wrote: > > The biggest hurdle at this point is that email-ext uses token macro for > token replacement and token macro is built around AbstractBuild, which > pipeline does not use. I am looking into

docker: command not found ( Mac mini + Jenkins )

2016-10-13 Thread Victor Martinez
Environment variables when connecting ssh slaves might be a bit different, as far as I know those ssh connections are not interactive therefore you need to review whether that Docker binary is part of any of the paths of the PATH variable. There are some references in the below link for

Re: Email Extension Plugin - "groovy.lang.MissingPropertyException: No such property:" exception when trying to print the message contents

2016-10-13 Thread Slide
The messages are always sent as multipart, even for plain text messages. On Thu, Oct 13, 2016, 07:15 Adri CS wrote: > Hi slide, > > yes. That was it! Thanks! > > Altough why is the content being reported as multipart when it's a plain > text string? > > Cheers! > > > On

Re: Email Extension Plugin - "groovy.lang.MissingPropertyException: No such property:" exception when trying to print the message contents

2016-10-13 Thread Adri CS
Hi slide, yes. That was it! Thanks! Altough why is the content being reported as multipart when it's a plain text string? Cheers! On Thursday, 13 October 2016 15:57:35 UTC+2, slide wrote: > > You are missing double quotes around the variable. > > logger.println("${PROJECT_DEFAULT_CONTENT}");

Re: Email ext to send html body in Pipeline

2016-10-13 Thread Slide
I believe that was added in 2.50 that was released recently. On Wed, Oct 12, 2016, 13:57 Sam K wrote: > Is there a plan to allow the ${FILE,path="${DIR}/test.html"} option that > is already available in the plugin? That is EXACTLY what most would want I > presume. :) > >

Re: Docker Slaves Plugin Exception in Pipeline

2016-10-13 Thread Qiang
Thanks for fixing it... the 1.0.5 version worked perfectly with sample code. Can't wait to put into real use :) Qiang On Tuesday, October 11, 2016 at 1:07:00 PM UTC-5, Qiang wrote: > > Thank you! > > I noticed a "git" command alone is ok, but adding a "sh" command generate > the following

Re: Email Extension Plugin - "groovy.lang.MissingPropertyException: No such property:" exception when trying to print the message contents

2016-10-13 Thread Slide
You are missing double quotes around the variable. logger.println("${PROJECT_DEFAULT_CONTENT}"); On Thu, Oct 13, 2016, 06:44 Adri CS wrote: > Dear all, > > In a project, I'm trying to access to the message contents in the > *Pre-send script.*I'm trying to add those

Email Extension Plugin - "groovy.lang.MissingPropertyException: No such property:" exception when trying to print the message contents

2016-10-13 Thread Adri CS
Dear all, In a project, I'm trying to access to the message contents in the *Pre-send script.*I'm trying to add those contents to the log. I've set up the message type directly to *text/plain* and specified the *Default Contents* to a string (let's say: "ABCDEF"). So in the *Pre-send

pipeline - keep build forever

2016-10-13 Thread roman . pickl
Hi there, Is there any possibility to keep a build forever programmatically after submitting an input approval step? Best, Roman -- 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: Jenkinsfile: How to iterate a properties file without having an "java.io.NotSerializableException: java.util.Hashtable$Entry" error

2016-10-13 Thread Sverre Moe
Put it in a method annotated with @NonCPS torsdag 13. oktober 2016 11.18.12 UTC+2 skrev eid badr følgende: > > Hi > > in jenkinsFile.groovy I want to iterate over a properties file, but I > always get an error > how can it be done properly with no error? > > node('master') { > Properties

Jenkinsfile: How to iterate a properties file without having an "java.io.NotSerializableException: java.util.Hashtable$Entry" error

2016-10-13 Thread eid badr
Hi in jenkinsFile.groovy I want to iterate over a properties file, but I always get an error how can it be done properly with no error? node('master') { Properties properties = new Properties() properties.load(new FileInputStream("${env.JENKINS_HOME}\\properties\\${file}"))

Jenkinsfile: How to iterate a properties file without having a "java.io.NotSerializableException: java.util.Hashtable$Entry" error

2016-10-13 Thread eid badr
Hi in my jenkinsFile I want to iterate over a properties file, but I always get an error how can it be done properly with no error? node('master') { Properties properties = new Properties() properties.load(new FileInputStream("${env.JENKINS_HOME}\\properties\\${file}"))

Re: problem in 1 project and 2 either files need to send if changes detected

2016-10-13 Thread Axl Kersillian
i even tried Root Build script: ${workspace}/resource/ or ${workspace}/web/ it won't work because both build.gradle of resource and web codes are to build commons, repository, service. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To

Re: Unable To execute SCons script in jenkins

2016-10-13 Thread Umamaheswari G
Hi, I have tried removing the build step in my project->configure->Build. Now the console output is Started by user Administrator Building in workspace /Users/Shared/Jenkins/Home/workspace/TestProject > git rev-parse --is-inside-work-tree # timeout=10

problem in 1 project and 2 either files need to send if changes detected

2016-10-13 Thread Axl Kersillian
Hello guys, I'll explain first, I have a project name testProj. Under workspace I have commons, repository, service, resource, web. The files I need to deploys are resource.jar and web.jar but both resource and web also depends on the commons, repository and service. Source Code Management:

problem in 1 project and 2 files have to deploy when changes detected

2016-10-13 Thread Axl Kersillian
Hello guys, I'll explain first, I have a project name testProj. Under workspace I have commons, repository, service, resource, web. The files I need to deploys are resource.jar and web.jar but both resource and web also depends on the commons, repository and service. Source Code Management:

Uninstall jenkins and its dependencies from Red Hat Linux Enterprise Edition(5.8)

2016-10-13 Thread chinmoy padhi
Hi Google Users, I am trying to uninstall jenkins using rpm -e commands, but it is not at all removing all the dependencies. So how to uninstall, so that all dependencies can be removed? Currently I am trying to do the same on Red Hat Linux Enterprise Edition (5.8) Appreciate your help

Re: Unable to write log file error I am getting in Jenkins for build.xml

2016-10-13 Thread chinmoy padhi
I tried to check the owner and permission of jobs(jenkins for both directory and contents) directory and workspace(jrootsfor both directory and contents) directory Even I changed the workspace to jenkins from root , also gave chmod 777 * to all but still getting the error. On Wednesday, 12