Label on steps in Stage View Log

2016-09-19 Thread Sverre Moe
I believe there was registered an issue with Jenkins regarding the ambiguity of the Stage Log display in Stage View. Having several similar steps in the Log is confusing. Cannot find out which is which. Anyone remember the Jenkins issue? I have tried searching for it, but cannot find it. For ins

Re: Jenkins on Websphere 8.5 - out of memory (heap)

2016-09-19 Thread Tomáš Mrázek
JDK1.8, max heap was set up to 2048M. Implementation for that WinProcess.parseCmdLineAndEnvVars is by creating substrings with one character less and with my baisc calculations, with 150k char String and possibly zero GC I would need 11 gb, That's out of question for such a simple task.There mu

Aw: Re: Same Jenkins job for different git branches

2016-09-19 Thread Klaus Rudolph
"Mark Waite" wrote: > The multi-branch freestyle job type and the multibranch pipeline job type > will automatically create and delete a job for each branch that matches your > selection criteria. > I very much prefer a job per branch because it makes the changes easier to >read, and the histo

Re: Same Jenkins job for different git branches

2016-09-19 Thread Mark Waite
On Monday, September 19, 2016 at 3:59:15 PM UTC-7, Sam K wrote: > > How will it affect the list of changes it shows on the builds page? > > Build No. 10 was built with master branch > Build No. 11 is built with release_alpha branch > Build No. 12 is then built with master branch > > Will change

Same Jenkins job for different git branches

2016-09-19 Thread Sam K
How will it affect the list of changes it shows on the builds page? Build No. 10 was built with master branch Build No. 11 is built with release_alpha branch Build No. 12 is then built with master branch Will changes between the builds be tracked correctly? Will build no. 12 report changes be

Maintaining a unique Build Number across multiple build servers

2016-09-19 Thread Robert Kruck
Is it possible to preserve the integrity of build numbers (NO DUPLICATES and build numbers in order) while building in multiple Jenkins build servers? If this capability exists in Jenkins, what Jenkins plugins are required, and what versions of Jenkins itself, and of the required Jenkins plugi

Re: Is there any variable for total build time in pipeline plugin?

2016-09-19 Thread Baptiste Mathus
Not a bad idea indeed ;-). 2016-09-19 21:24 GMT+02:00 Cuong Tran : > How about: > > currentBuild.getDuration() > > https://github.com/jenkinsci/workflow-support-plugin/blob/ > master/src/main/java/org/jenkinsci/plugins/workflow/support/steps/build/ > RunWrapper.java > > On Monday, September 1

Re: how to deploy dll from one node to QA server

2016-09-19 Thread shashikanth
Thanks for your reply HTH. On Mon, Sep 19, 2016 at 11:31 AM, Baptiste Mathus wrote: > To use Jenkins in general (and any automation tool), you need to study the > ways you could do something manually. Once you know the possibilities (say, > ssh, ftp, cifs, nfs, whatever), then you can look for a

Re: create jobs automatically after the code commits to the repository

2016-09-19 Thread Cuong Tran
Have you looked at job-dsl plugin? https://github.com/jenkinsci/job-dsl-plugin On Monday, September 19, 2016 at 8:10:32 AM UTC-7, Luciano Matte wrote: > > Hi all, > > Does anyone have any hint or suggestion plugin for creating jobs > automatically > after the code commits to the repository? > >

Re: Is there any variable for total build time in pipeline plugin?

2016-09-19 Thread Cuong Tran
How about: currentBuild.getDuration() https://github.com/jenkinsci/workflow-support-plugin/blob/master/src/main/java/org/jenkinsci/plugins/workflow/support/steps/build/RunWrapper.java On Monday, September 19, 2016 at 1:34:38 AM UTC-7, Denis Kot wrote: > > I would like to send message from pi

Re: Best Practices for Pipeline Global Function Args (Maps vs Closures)

2016-09-19 Thread Cuong Tran
I'd stick with map arguments for simple cases. Even the example from the wiki is simpler if you use map. Move to the closure option once you have more experience or complex usage. For example, the new (simplified) syntax for pipleline can be implemented as closure: pipeline { stages {

Re: Is there any variable for total build time in pipeline plugin?

2016-09-19 Thread Baptiste Mathus
long startTime = System.currentTimeMillis() // Do what you need long elapsedMillis = System.currentTimeMillis() - startTime; Then use 2016-09-19 10:34 GMT+02:00 Denis Kot : > I would like to send message from pipeline to hipchat contains total build > time, i.e.: > job-pipeline #3007 SUCC

Re: Jenkins on Websphere 8.5 - out of memory (heap)

2016-09-19 Thread Baptiste Mathus
What's the Xmx value for that Websphere? Which JDK version, and so on? 2016-09-19 17:15 GMT+02:00 Tomáš Mrázek : > So I installed 2.7.4 on Websphere 8.5.5.9. > > I'm running job with a maven build. Everything is fine, ear is created, > but after that Jenkins stucks and throws Heap error (while cr

Re: Can't download plugins - HTTP 302 redirect

2016-09-19 Thread Baptiste Mathus
I think it's https://issues.jenkins-ci.org/browse/JENKINS-8028 but surprised it's still active. Pretty sure I saw fixes about this. Maybe it was on some other parts like Tools. 2016-09-19 6:10 GMT+02:00 Corey Wei : > anyone can help? > > > On Sunday, September 18, 2016 at 4:43:12 PM UTC+8, Corey

Re: Executiing powershell script in Jenkins 2.0 pipeline not allowed.

2016-09-19 Thread Baptiste Mathus
I don't Windows admin much, but did you make sure Jenkins is running under the user you've granted perms? Also, did you restart Jenkins so that that new permissions apply? My 2 cents 2016-09-15 13:14 GMT+02:00 Jan-Olav Eide : > I have a powershell script I want to execute in a pipeline step. > I

Re: how to deploy dll from one node to QA server

2016-09-19 Thread Baptiste Mathus
To use Jenkins in general (and any automation tool), you need to study the ways you could do something manually. Once you know the possibilities (say, ssh, ftp, cifs, nfs, whatever), then you can look for a way to automate it. There're dozens of plugins to support those /protocols/, and you can eve

Will workspace cleanup affect Changes tracking?

2016-09-19 Thread Sam K
I have one job that pulls source code from different branches. I see that the 'Changes' shows the correct checkins that happened on Git for each of the branches. Will having a 'deleteDir()' in the jobs affect the Jenkins changes tracking? Does Jenkins use the workspace for tracking the change

Naginator plugin support environment variables?

2016-09-19 Thread Dunnigan, Terrence J
Does the Naginator plugin support reading Jenkins environment variables? I see that Naginator exposes I'd like to define a regular expression as a Jenkins environment variable and then configure Naginator to use it. I can't seem to get this to work (or to set other inputs as environment variabl

Re: Missing the Job/ExtendedRead permission

2016-09-19 Thread geoffroy . jabouley
Maybe you can install the jenkins plugin: https://wiki.jenkins-ci.org/display/JENKINS/Extended+Read+Permission+Plugin Le jeudi 8 septembre 2016 16:48:36 UTC+2, Ashish Yadav a écrit : > > Any ideas on this? > > From: Ashish Yadav > > Reply-To: "jenkins...@googlegroups.com " < > jenkins...@google

Re: http://my_jenkins_server/cli returns 404?

2016-09-19 Thread Bob Hansen
That was it. I'm using an automated install of jenkins and it was installing a groovy script where you described. Remaned the script, restarted the service and I can now get to the CLI from the dashboard. Thanks! On Friday, September 16, 2016 at 10:12:25 PM UTC-4, Daniel Beck wrote: > > Make su

Jenkins on Websphere 8.5 - out of memory (heap)

2016-09-19 Thread Tomáš Mrázek
So I installed 2.7.4 on Websphere 8.5.5.9. I'm running job with a maven build. Everything is fine, ear is created, but after that Jenkins stucks and throws Heap error (while creating enviroment variables like JENKINS_HOME). FATAL: ...java.lang.OutOfMemoryError

create jobs automatically after the code commits to the repository

2016-09-19 Thread Luciano Matte
Hi all, Does anyone have any hint or suggestion plugin for creating jobs automatically after the code commits to the repository? That is, the Jenkins would have to carry out the svn monitoring, when conducted a new commit, jenkins the case if the job already exists, but there it creates the j

Best Practices for Pipeline Global Function Args (Maps vs Closures)

2016-09-19 Thread Kenneth Baltrinic
Trying to get my head around what is the best way to implement some custom pipeline DLS commands using global functions . I am looking at the examples given under Defining a more structured DSL

Re: Missing the Job/ExtendedRead permission

2016-09-19 Thread Ashish Yadav
Any ideas on this? From: Ashish Yadav mailto:ashish.ya...@firemon.com>> Reply-To: "jenkinsci-users@googlegroups.com" mailto:jenkinsci-users@googlegroups.com>> Date: Tuesday, September 6, 2016 at 1:58 PM To: "jenkinsci-users@googlegroups.com

Error in jenkins related to s3 bucket here i would like push the war file into S3 bucket and i am getting the following error.

2016-09-19 Thread shrikkannt
Failed CodeDeploy post-build step; exception follows. S3 Bucket field cannot contain any subdirectories. Bucket name only! this is the error i am getting can any one please suggest me please -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To

Re: PeopleSoft Online Object Migrations using Jenkins

2016-09-19 Thread Kofi Boateng
Got it. Thanks for the feedback. Regards Kofi Boateng Application Development Manager Technology Delivery Application Services Delivery Oracle HCM Cloud, BI & PeopleSoft HCM Resilient conquers Adversity = Thriving > On Sep 19, 2016, at 1:05 AM, Baptiste Mathus wrote: > > Hey, > Basically J

Re: Mac Jenkins Can't Clone/fetch from GitHub

2016-09-19 Thread Hung
Hi, So I install Jenkins on another mac, this one using my home network with no firewalls. I still can't get it to work. Here is my log, also using the older git plugin, here is the log, different error but still unable to process git request. using .gitcredentials to set credentials > git con

Requesting feedback on upcoming pipeline compatible SonarQube plugin

2016-09-19 Thread 'Julien HENRY' via Jenkins Users
Hi guys, We worked last weeks on making the SonarQube Scanner for Jenkins (aka sonar-plugin) compatible with pipeline. Before doing a final release I'm requesting feedback both from end users and also from Jenkins developers. My concern is that once the plugin will be released it will be hard to

Is there any variable for total build time in pipeline plugin?

2016-09-19 Thread Denis Kot
I would like to send message from pipeline to hipchat contains total build time, i.e.: job-pipeline #3007 SUCCESSFUL after 1 min 42 sec How can I implement it? -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and

Re: Mac Jenkins Can't Clone/fetch from GitHub

2016-09-19 Thread Ankit Arora
Hi, I am also getting Error while Connecting Jenkins from Github. *Error : Failed to connect to repository : Error performing command: git.exe ls-remote -h* Please suggest the solution *//BR* *Ankit AroraTest Engineer * *✉ : **ankitarora...@gmail.com || ankitarora...@gmail.com* *☎ :* *+91-96

Re: Mac Jenkins Can't Clone/fetch from GitHub

2016-09-19 Thread Hung
So I installed the older pluggin you link, and I am still having the same issue. The log still show askpass is being used. Here is the Centos Jenkin that is working log of the git call 11:40:14 using .gitcredentials to set credentials 11:40:14 > git config --local credential.helper store --file