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

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"

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

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

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

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

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 > > -- >

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

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

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

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

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.

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

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

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:

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 ? >

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

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

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

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

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

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"

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: 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? > >

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

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

Blocking Pipeline builds while Up- and Downstream Dependencies are building

2016-08-11 Thread 'StuporMundi' via Jenkins Users
Hi everyone, I have a question regarding pipeline jobs in Jenkins 2.x. For freestyle jobs one always had the possibility to block their execution while one of their up and/or downstream dependencies were building (*Advanced Project Options --> Block build when upstream/downstream project is

Jenkins Pipeline Groovy Script and JSON

2016-08-11 Thread Łukasz Zachulski
Please check SO thread for details regarding JSON file parsing in Jenkinsfile, http://stackoverflow.com/q/37864542/6128602. -- 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,

Jenkins Publish Over SSH for Jenkins Pipeline

2016-08-11 Thread ctime800
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 generator but this one is not in the list. Please advise. Thanks. -- You received this message because you are subscribed to the Google Groups "Jenkins

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

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