Multibranch Pipeline: Using notifyCommit does not indicate an SCM change

2016-08-11 Thread Sverre Moe
There is no longer an SCM change when using Multibranch Pipeline. "Started by an SCM change" Instead when the git server executes notifyCommit the branch that has changes shows "Branch indexing" and a question mark. Though at least the changes from SCM are shown on each build. Its just that Bra

Re: Archive multiple artifacts with same name

2016-08-11 Thread Sverre Moe
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 buildi

Re: Jenkins Publish Over SSH for Jenkins Pipeline

2016-08-11 Thread ctime800
It works. Now, does this mean the Publish Over SSH needs to support Jenkins pipeline for this to work? Thanks. On Thursday, August 11, 2016 at 1:37:52 PM UTC-7, Baptiste Mathus wrote: > > You can simply use a plain ssh or scp call through an sh step, wrapped in > an sshagent step. > > Cheers

Perforce plugin exception: no file(s) at that changelist number

2016-08-11 Thread David Plumb
Perforce plugin is failing for me when Perforce returns "no file(s) at that changelist number" errors. The plugin throws an exception for that error but doesn't throw an exception for "file(s) up-to-date", which is also a Perforce "error". Both "errors" are really harmless. Has anyone else seen

Re: Error on Windows Slaves

2016-08-11 Thread Sajith Majeed- Saaj
This appears to be resolved now. Space could have been an issues as we did nothing from our end. On Thu, Aug 11, 2016 at 2:15 AM, wrote: > Can you check if you have write permissions under > e:\jenkins\workspace\Jobfolder > folder? > > Also can you share the full log? > > On Thursday, 11 August

Stash Integration with Jenkins Pipeline {for Code Review}

2016-08-11 Thread Sajith Majeed - Saaj
We are trying to implement a code review process for our applications. We use GIT repository and Atlassian Stash. 1. Have any of you integrated Stash Pull requests with Jenkins Pipelines ? Are there any plugins or documentations that are available to do this ? 2. Is there a better code review pr

Re: Automated Jenkins Plugin/Dependency Management

2016-08-11 Thread Michael Kobit
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 serv

Re: Automated Jenkins Plugin/Dependency Management

2016-08-11 Thread Jason Kulatunga
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

Re: Blocking Pipeline builds while Up- and Downstream Dependencies are building

2016-08-11 Thread 'StuporMundi' via Jenkins Users
Hi, sorry, I probably should have described it more precise... I do in fact have my pipeline set up the way you suggested it: There's a stage for the build (on different platforms, potentially in parallel), there's a stage for the tests (again on different platforms) and there is a deployment s

Re: Automated Jenkins Plugin/Dependency Management

2016-08-11 Thread Baptiste Mathus
IMO a Docker image with the right set of plugins you've tested, plus the security config you're talking about about forbidding any upgrade would seem a simpler way. And probably it would your life simpler if you somehow have to support all those different instances which can currently be actually q

Re: Organizing artifacts?

2016-08-11 Thread Baptiste Mathus
I don't think it's currently possible, nor do I know of a plugin doing that of the top of my head. So possibly file a Jira issue with your use case. And ideally try and propose some impl by yourself if you wanna see it forward more quickly. My 2 cents Le 11 août 2016 4:55 PM, "Arnaud bourree" a

Re: Blocking Pipeline builds while Up- and Downstream Dependencies are building

2016-08-11 Thread Baptiste Mathus
Though I think it should still be feasible, the fact you don't much reference about it is IMO possibly because you're more likely to actually not have upstream or downstream build at all. Instead of having say a build, then a test, then a deploy build you have only one pipeline, possibly leveragin

Re: Jenkins Publish Over SSH for Jenkins Pipeline

2016-08-11 Thread Baptiste Mathus
You can simply use a plain ssh or scp call through an sh step, wrapped in an sshagent step. Cheers Le 11 août 2016 8:31 AM, "ctime800" a écrit : > I need to use the Jenkins Publish over ssh plugin in the Jenkins > pipeline. What would be the syntax for this? I tried to use the script > genera

Re: New Pipeline Maven plugin

2016-08-11 Thread niristotle okram
Assuming maven was already installed in the node & have the files configured (settings.xml, local repo etc) from the TOOLS setting of jenkins.. Will this plugin override those settings? withMaven(mavenInstallation: 'M3', mavenLocalRepo: '.repository', mavenSettingsConfig: 'maven-settings-for-game

Re: New Pipeline Maven plugin

2016-08-11 Thread Álvaro Lobato
Yes, thanks Daniel. -- 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 http

Re: Automated Jenkins Plugin/Dependency Management

2016-08-11 Thread Slide
Kind of off topic, but it would really be nice to be able to "pin" a plugin to a specific version that won't get upgraded. On Thu, Aug 11, 2016 at 11:08 AM Daniel Beck wrote: > > > On 11.08.2016, at 15:14, Jason Kulatunga wrote: > > > > I'm not sure if anyone has done something similar but I wa

Re: jenkins 2.7.2 sonarQube SonarQubeScanner not found

2016-08-11 Thread Daniel Beck
Manage Jenkins » Global Tool Configuration > On 11.08.2016, at 12:06, Philippe Couas wrote: > > Hi, > > I want install SonarQube with Jenkins2, but install screen not corresponding ? > http://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Scanner+for+Jenkins#AnalyzingwithSonarQubeScan

Re: Automated Jenkins Plugin/Dependency Management

2016-08-11 Thread Daniel Beck
> On 11.08.2016, at 15:14, Jason Kulatunga wrote: > > I'm not sure if anyone has done something similar but I wanted to get some > feedback before I spent too much time investigating either idea. Note that pinning doesn't prevent a plugin from being upgraded -- it's related to Jenkins 1.x pl

Re: Automated Jenkins Plugin/Dependency Management

2016-08-11 Thread Daniel Beck
> On 11.08.2016, at 15:14, Jason Kulatunga wrote: > > we've also verified that 'installNecessaryPlugins' does not actually respect > the version parameter. As the plugin update site metadata does not support arbitrary versions, it'll always install the one present in the JSON -- which is the

Re: New Pipeline Maven plugin

2016-08-11 Thread Daniel Beck
> On 11.08.2016, at 18:33, Álvaro Lobato wrote: > > released the first beta version, already available in the update center Experimental update site only: https://jenkins.io/blog/2013/09/23/experimental-plugins-update-center/ -- You received this message because you are subscribed to the Go

Re: Git Polling fails after upgrade

2016-08-11 Thread Mark Waite
The previous plugin version is usually stored in the plugins directory as plugins/*.bak. If you copy the plugins/*.[hj]pi file to a safe location, you can then copy the .bak file over the existing hpi or jpi file. The next time jenkins starts, it will unpack that file and use it as the plugin. M

Re: Groovy code to access full path to a job, ie "Org/Project/branch" name

2016-08-11 Thread Greg Smith
Thanks! That worked for exactly what I wanted. On Thursday, August 11, 2016 at 11:52:35 AM UTC-4, Cuong Tran wrote: > > Try getFullName() -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emai

New Pipeline Maven plugin

2016-08-11 Thread Álvaro Lobato
Hello everyone, I'd like to introduce you to the new Pipeline Maven plugin . The intention of this plugin is to help using maven from pipeline, setting up a maven environment by using a withMaven step. This environment can la

Groovy code to access full path to a job, ie "Org/Project/branch" name

2016-08-11 Thread Cuong Tran
Try getFullName() -- 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:

Re: Organizing artifacts?

2016-08-11 Thread Arnaud bourree
+1 2016-08-11 14:51 GMT+02:00 Jonathan Hodgson : > Hi, > > I'm winding up with quite a lot of artifacts, logs, built code, test > results etc. > > Is there a way that I could organize these so that it's not just a flat > list on the build page? > > regards > > Jon > > -- > You received this messa

Re: regarding jenkins CD in jenkins 2.0

2016-08-11 Thread Jesse McCormick
I wasn't really advocating running SQL scripts manually or via script runner, but if you have the requirement, it can be done. Since we are a java project, we use Flyway. On Thursday, August 11, 2016 at 9:40:39 AM UTC-4, Zue Sani wrote: > > one more quick fire: I had a script for CD. for exampl

Re: Pipeline script for Build Trigger

2016-08-11 Thread Michal Medvecky
I see that the related issue was resolved, but I still don't know how to add "Build when a change is pushed to GitHub" support to my Jenkinsfile. Can anyone help me please? Michal -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscrib

Re: regarding jenkins CD in jenkins 2.0

2016-08-11 Thread Zue Sani
one more quick fire: I had a script for CD. for example if I had 5 successful builds... If I want to deploy build 4 , is the possible??? And could any let me know what is the best build and deployment scripts for sql DB?? On Wed, Aug 10, 2016 at 10:24 AM, suresh kumar wrote: > Hi Jesse McCormic

Automated Jenkins Plugin/Dependency Management

2016-08-11 Thread Jason Kulatunga
Hey Jenkins-Users, I manage almost a dozen Jenkins servers and our team has been having some issues with plugin management: such as locking our new installations to known working versions of some troublesome Jenkins plugins. We use chef + Jenkins DSL to completely automate the initial installati

Organizing artifacts?

2016-08-11 Thread Jonathan Hodgson
Hi, I'm winding up with quite a lot of artifacts, logs, built code, test results etc. Is there a way that I could organize these so that it's not just a flat list on the build page? regards Jon -- You received this message because you are subscribed to the Google Groups "Jenkins Users" gro

Re: CAS plugin with Jenkins 2

2016-08-11 Thread cma
Never mind. I messed up with the Apache reverse proxy, which terminates my TLS. All redirects from the CAS plugin to the CAS server were re-written by Apache http to point back to itself. In any case, thanks for confirming that the setup Jenkins 2.17 and CAS 2.0 should work! ~Chris Am Mittwoc

jenkins 2.7.2 sonarQube SonarQubeScanner not found

2016-08-11 Thread Philippe Couas
Hi, I want install SonarQube with Jenkins2, but install screen not corresponding ? http://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Scanner+for+Jenkins#AnalyzingwithSonarQubeScannerforJenkins-AddingSonarQubeServer I don't found SonarQubeScanner plugin in Jenkins2 ? What is new m

Re: Error on Windows Slaves

2016-08-11 Thread mosh5cis
Can you check if you have write permissions under e:\jenkins\workspace\Jobfolder folder? Also can you share the full log? On Thursday, 11 August 2016 04:17:17 UTC+5:30, Sajith Majeed - Saaj wrote: > > We started receiving the below error from yesterday on our windows slaves. > This was working