bootstrapping jenkins with initial password

2017-05-22 Thread Jeeva Chelladhurai
Hello All, I would like to automate the deployment of dockerized Jenkins with no manual intervention. I have disabled to initial setup wizard using the below java option. JAVA_OPTS=-Djenkins.install.runSetupWizard=false I would also like to bootstrap Jenkins with an initial username and

Re: Detecting build abort in declarative pipeline

2017-05-22 Thread Dan Tran
not quite, we still need to distinguish abort with timeout Thanks -Dan On Monday, May 22, 2017 at 2:27:16 PM UTC-7, James Dumay wrote: > > If we introduced something like the following for both the pipeline and > stage level, would that cover your use case? > > pipeline { > post { >

Coverity Plugin

2017-05-22 Thread Lubay, Cris
Hello, I want to configure Jenkins to add coverity. I was able to install the coverity plugin. On my part, the method of running coverity is using command line. I was also able to add it on Jenkins and I can see the results on the workspace. Now, my question is this. How can Jenkins parse the

Re: Pipeline checkout GitSCM includedRegions

2017-05-22 Thread Manny DaSilva
I'm migrating build jobs from CCNet to Jenkins. And coming from CCNet (with Git), I know that polling with inclusions and exclusions can be made to work. Assuming the feature was working properly, what would be the syntax for multiple included regions? For example, I can't get the following

Re: Pipeline checkout GitSCM includedRegions

2017-05-22 Thread Mark Waite
Refer to https://issues.jenkins-ci.org/browse/JENKINS-36836 for a long discussion of cases which work and cases which don't work and some of the reasons for "works" and "don't work". Mark Waite On Mon, May 22, 2017 at 3:23 PM Manny DaSilva wrote: > Thanks for the reply.

Re: Detecting build abort in declarative pipeline

2017-05-22 Thread James Dumay
If we introduced something like the following for both the pipeline and stage level, would that cover your use case? pipeline { post { aborted { echo 'fired on abort' } } } On Tue, May 23, 2017 at 6:46 AM Dan Tran wrote: > > our build sends out email

Re: Pipeline checkout GitSCM includedRegions

2017-05-22 Thread Manny DaSilva
Thanks for the reply. Just to be clear, the code I posted was generated by the pipeline syntax snippet generator when additional behaviors is selected. Are you saying that the code produced by that tool is not supported or that the "extensions" 'PathRestriction' option is not supported?

Re: Detecting build abort in declarative pipeline

2017-05-22 Thread Dan Tran
our build sends out email notification for every build ( dont ask why: -), in case of intentional abort build by admin we prefer not to email out to reduce the noise. But still send to slack Thanks -Dan On Monday, May 22, 2017 at 1:12:50 PM UTC-7, James Dumay wrote: > > Out of curiosity if

Re: Pipeline checkout GitSCM includedRegions

2017-05-22 Thread Mark Waite
Pipeline does not support include or exclude regions from the git plugin. On Mon, May 22, 2017, 1:41 PM Manny DaSilva wrote: > Jenkins ver. 2.61 > Pipeline checkout GitSCM. > > I'm new to Jenkins Pipeline. Regarding code as follows. I would like to > have multiple

svn tagging plugin

2017-05-22 Thread Pawel Jasinski
I have re-installed jenkins using the latest stable. To my surprisse I am not able to find a svn tagging plugin. Did I screw up my installation? Do I have to use the latest and gratest to get the plugin? Or perhaps the plugin is abandoned, and there is a better way to just fire up a shell command

Re: Detecting build abort in declarative pipeline

2017-05-22 Thread James Dumay
Out of curiosity if we did add a way to detect aborts what would you do with it? On Monday, May 22, 2017 at 6:29:33 AM UTC+10, Dan Tran wrote: > > > Hi is there a way to figure if the build is aborted also able to > distinguish if is timed out or aborted by user > > Thanks > > -Dan > -- You

Jenkins global/security/slaves configuration as code

2017-05-22 Thread Victor Martinez
This is a stalled plugin : https://github.com/jenkinsci/system-config-dsl-plugin/blob/master/README.md Which might help you although i dont know whether it has been ever released. Cheers -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To

Pipeline checkout GitSCM includedRegions

2017-05-22 Thread Manny DaSilva
Jenkins ver. 2.61 Pipeline checkout GitSCM. I'm new to Jenkins Pipeline. Regarding code as follows. I would like to have multiple include regions for Git SCM polling. I'm unable to determine the right syntax. How would I add an additional included region? checkout (scm: [$class:

Re: Plugin disappeared from http://updates.jenkins-ci.org/download/plugins/

2017-05-22 Thread Damien Coraboeuf
Actually, it has even disappeared from the list of plugins at https://plugins.jenkins.io/ ... It was still there on February 2nd... On Monday, May 22, 2017 at 7:13:23 PM UTC+2, Damien Coraboeuf wrote: > > Hi, > > I've published a new version of the Ontrack plug-in and it is available in > the

Jenkins global/security/slaves configuration as code

2017-05-22 Thread Andrey Devyatkin
Hi! We are running Jenkins in Docker containers (as for ourselves as for our customers) for a quite some time already and using the possibility to run Groovy scripts on startup provided by Cloudbees Jenkins Docker image to handle global/security/slaves. Over time we started to accumulate those

Plugin disappeared from http://updates.jenkins-ci.org/download/plugins/

2017-05-22 Thread Damien Coraboeuf
Hi, I've published a new version of the Ontrack plug-in and it is available in the Maven repo at http://repo.jenkins-ci.org/public/org/jenkins-ci/plugins/ontrack/2.30.1/, but the plug-in group has mysteriously disappeared from http://updates.jenkins-ci.org/download/plugins/ ... This is of

JENKINS & ALL PLUGINS

2017-05-22 Thread tpham803
I would like to ask the group a question regarding any future plan that Jenkins (& plugins) will be able to support Atlassian Data Center? We do have several clients that are heavily using Atlassian tools (Jira, Confluence, Bitbucket) with Jenkins (& all the Jenkins plugins) and they are

env.WORKSPACE returns null on pipeline

2017-05-22 Thread Thiago Carvalho Davila
Hi, I am trying to get WORKSPACE folder from jenkins global enviroment variables. The strange thing is I get null on the response: PATH_CI_TOOLS="${env.WORKSPACE}\\tools_ci" pipeline {     stages {     stage('Test'){     steps{     bat "${PATH_CI_TOOLS}\\MyProject.exe"  

Declarative script: specify build trigger in GUI or script?

2017-05-22 Thread David Aldrich
Hi, I'm confused about how to specify a build trigger for a declarative script. I want the job to be triggered by an SCM commit so I specified in my script: triggers { pollSCM('H/5 * * * *') } to poll every 5 minutes. However, the job is not being run even though commits have

fileExists on declarative pipeline

2017-05-22 Thread Thiago Carvalho Davila
Hello, I want to run unit tests only if file exists on declarative pipeline. I made a mix of scripted/declarative pipeline of what I want, but this doesn't work:     stage('Unit Tests'){     steps {         // Se arquivo de testes existe, roda testes         if

Re: Pipeline project to execute Jobs parallely using groovy scripting

2017-05-22 Thread Jeeva Chelladhurai
What are those projects (A)? Are they two repositories or another to Jenkins jobs? On Mon, May 22, 2017 at 4:47 PM, Jaya Bala wrote: > Hi Team, > > I am a fresher in using Jenkins and I have been assigned to a task where > I need to run jobs parallel in pipeline. I have 2

pipeline not restarting

2017-05-22 Thread Richard Ginga
I updates several plugins this morning and restarted Jenkins with safeRestart but my one active pipeline, that was waiting for user input, has not restarted. I am getting Waiting to resume part of XXX #489: ??? shouldn't this work? we're running 2.7.4 -- Dick Ginga Build Engineer

Re: upgrading jenkins form 1.636 to 2.32.3 or even the latest causes following issue.

2017-05-22 Thread 'Dan Alvizu' via Jenkins Users
Raj, This is a bug in upgrading from a very old version of the plugin. As a work around you can remove that XML config and restart - this will delete your pipeline view, but you can re-create it. As an alternative, you can try upgrading to an older yet more recent version (such as 1.5.2),

Pipeline project to execute Jobs parallely using groovy scripting

2017-05-22 Thread Jaya Bala
Hi Team, I am a fresher in using Jenkins and I have been assigned to a task where I need to run jobs parallel in pipeline. I have 2 projects lets say A& B. My pipeline project is C.I need to run Project A& B in my pipeline Project “C” using groovy scripting.My client did not want to use

Re: Jenkins Remoting - Documentation is not helpful

2017-05-22 Thread Oleg Nenashev
Created https://github.com/jenkinsci/remoting/pull/164/ воскресенье, 21 мая 2017 г., 23:55:08 UTC+2 пользователь Oleg Nenashev написал: > > Hi Kristian, > > Jenkins has not been updated to Remoting 3.8+ yet. > So the options are not available there yet. Once I integrate all the > things, there

Re: Jenkins Remoting Library and JarCache

2017-05-22 Thread Oleg Nenashev
Yes, it is a bunch of JAR Files and other resources like DLLs. In Jenkins Remoting agents are lightweight libraries (slave.jar), which do not contain much logic OOTB. This cache is required in order to save remoting data and to avoid high classloading traffic every time your agent connects to

Re: Frequent connection losses: java.io.IOException

2017-05-22 Thread Andreas Tscharner
On 22.05.2017 10:13, Andreas Tscharner wrote: Hello World, Hello again, Some more information Our setup: * Jenkins 2.32.2 on Debian Linux jenkins@buildserver:~$ uname -a Linux buildserver 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u2 (2016-10-19) x86_64 GNU/Linux jenkins@buildserver:~$

Frequent connection losses: java.io.IOException

2017-05-22 Thread Andreas Tscharner
Hello World, Our setup: * Jenkins 2.32.2 on Debian Linux libvirt Plugin for Jenkins * 8 VMs on the same server, running Windows 7, building our software KVM/QEMU VMs, using libvirt * 4 Ubuntu machines containing 2 VMs each (=8) running Windows 10, testing our software KVM/QEMU VMs, using

Re: cryptonight exploit

2017-05-22 Thread Baptiste Mathus
It seems to match indeed https://twitter.com/jenkinsci/status/864178120827428864 i.e. using your machine to process bitcoin related things. (Note: as always, providing your Jenkins version can help help you...) 2017-05-22 0:00 GMT+02:00 Rinaldo DiGiorgio : > Hi, > >

Re: Jenkins Java 7 question

2017-05-22 Thread Baptiste Mathus
Jenkins requires Java 8, not 7, since Jenkins 2.54. What is the version of Jenkins you're using? Also, seems like you answered an existing thread, please create new ones. This thread was two years old... 2017-05-22 8:03 GMT+02:00 satheesh kumar : > The below error

Re: Jenkins Java 7 question

2017-05-22 Thread satheesh kumar
The below error seems wierd for me: Jenkins requires Java7 or later, but you are running 1.7.0_141-mockbuild_2017_05_09_14_20-b00 from /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.141.x86_64/jre java.lang.UnsupportedClassVersionError: winstone/Launcher : Unsupported major.minor version 52.0

Re: Intermittent 504s when browser is accessing ajaxBuildQueue and ajaxExecutors endpoints

2017-05-22 Thread Prasad Velidi
Thank you for your valuable inputs. You have covered more things than what i had in mind. Appreciate your help. On Friday, 19 May 2017 00:23:12 UTC+5:30, James Nord wrote: > > This could be a number of things without any data to correlate > > 1. Garbage collection performing stop the world