Re: How to get access to a Maven POM version in a Freestyle build?

2017-07-27 Thread Eric B
Thanks - I added the EnvInject plugin and it works properly now. Thanks, Eric On Thursday, July 27, 2017 at 3:17:33 PM UTC-4, Cuong Tran wrote: > > Eric, > > You certainly can run groovy script if you have the EnvInject plugin. > Another way to obtain the pom version is to run shell command:

Parsing POM in Jenkins maven project taking very long time (5-6mins)

2017-07-27 Thread Hai Thanh Tran Nguyen
I'm having problem with maven projects that are building on jenkins slave using docker container, it's taking too much time at "Parsing POM" step, about 6mins+. If I build it manually or build it on jenkins master then it take only 30s to finish. If using freestyle project to build, it take

Re: How to get access to a Maven POM version in a Freestyle build?

2017-07-27 Thread Cuong Tran
Make sure to use "-q" to get just the version: VERSION=$(mvn -q -N -Dexec.executable="echo" -Dexec.args='${project.version}' org.codehaus.mojo:exec-maven-plugin:1.3.1:exec) On Thursday, July 27, 2017 at 12:17:33 PM UTC-7, Cuong Tran wrote: > > Eric, > > You certainly can run groovy script if

Re: How to get access to a Maven POM version in a Freestyle build?

2017-07-27 Thread Cuong Tran
Eric, You certainly can run groovy script if you have the EnvInject plugin. Another way to obtain the pom version is to run shell command: mvn -N -Dexec.executable="echo" -Dexec.args='${project.version}' org.codehaus.mojo:exec-maven-plugin:1.3.1:exec On Wednesday, July 26, 2017 at

Re: The official docker image jenkins/jenkins:lts is missing ruby

2017-07-27 Thread Jacob Larsen
I agree. Extending the base image is the way to go. Alternatively, you can use a clean image for the master and set up slaves with ruby, labeled appropriately. /Jacob On 2017-07-27 16:02, Mark Waite wrote: I would be very surprised if the Jenkins docker image were extended to include ruby.

Re: How to set Multibranch Pipeline Trigger interval via Jenkinsfile?

2017-07-27 Thread Yuri Govorushchenko
Thank you Stephen! After fixing typos it worked for me from Script Console: for (f in Jenkins.instance.getAllItems(jenkins.branch.MultiBranchProject.class)) { if (f.parent instanceof jenkins.branch.OrganizationFolder) { // managed by org folder, leave alone continue; } //

Re: Email-ext plugin and sending to culprits

2017-07-27 Thread Amit Dar
Hi, I also have (I think) a similar problem. we use base clearcase, and email-ext doesn't seem to find the emails of the users (culprits) who performed check-ins to the scm. is there a good solution for this? (yes, I know there is git, we don't use it yet) On Thursday, November 10, 2011 at

Re: The official docker image jenkins/jenkins:lts is missing ruby

2017-07-27 Thread Mark Waite
I would be very surprised if the Jenkins docker image were extended to include ruby. Ruby is not a mandatory requirement for Jenkins development and adding it to the base Jenkins Docker image will increase the size of the docker image for all Jenkins users. Mark Waite On Thu, Jul 27, 2017 at

Remote deployment of MSI Package from Jenkins in Windows Environment

2017-07-27 Thread Ben Whyall
Hello I wonder if anyone can help me as I have a problem with my Jenkins install caused by a change in our corporate AV policy. We have a Build server, that lives on Domain A, and we have a system test environment that lives on Domain B. At the moment the Build server does the build and then

Re: How to set Multibranch Pipeline Trigger interval via Jenkinsfile?

2017-07-27 Thread Stephen Connolly
Cannot be done from a Jenkinsfile. You can do via the groovy console with something like for (var f in Jenkins.instance.getAllItems(jenkins.branch.MultiBranchProject.class) { if (f.parent instanceof jenkins.branch.OrganizationFolder) { // managed by org folder, leave alone continue;

The official docker image jenkins/jenkins:lts is missing ruby

2017-07-27 Thread Federico Paolantoni
Dear list, I'm setting up a software development lifecycle infrastructure. I decided to use the official docker container provided by Jenkins community and the idea is not to extend it writing my own image avoiding the amount of work required to maintain an image and to keep as standard as

Re: Clearcase Polling with Linux master and windows slave not working

2017-07-27 Thread Amit Dar
Hi, I have the exact same environment (though I use jenkins and not hudson). master on linux, slave on windows. same results (changes are detected, plugin reports "no changes" at the end). is there an update for this issue? On Tuesday, February 1, 2011 at 5:00:25 PM UTC+2, Vincent Latombe

Re: Anyone have SCM poll trigger working with dynamic base clearcase view on windows?

2017-07-27 Thread Amit Dar
Hi, I read this thread several times, and still no luck on my end. my clearcase plugin is detecting the changes properly, but reports "No Changes" at the end. are you guys till alive and available? :) On Wednesday, August 7, 2013 at 8:34:55 PM UTC+3, Greg Moncreaff wrote: > > > had a cut &

Re: Jenkins Clearcase Plugin Not detecting changes and triggering continually on erroneous-ConfigSpec change detection

2017-07-27 Thread Amit Dar
Hi, I read this thread several times, and still no results. I see the changes are detected, but the plugin reports "No changes" at the end. are you guys still alive? :) On Wednesday, May 21, 2014 at 2:50:34 PM UTC+3, Phil Lord wrote: > > Vincent, > > You the man! It's working! I championed