How do i include custom CSS & Javascript in "Console Output" page jenkins?

2016-03-30 Thread Shashank Bhargav
I have to write some custom styles and javascript to my console output, how can i do this? I have managed to get this done by a work around of writing inline style and javascript in annotate method. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" gr

How do i set max items to f:repeatable sections in jelly file ( Need to disable "Add" button after one entry is added )

2016-03-30 Thread Shashank Bhargav
I have a requirement where i have to disable "Add" button after one entry is added, how do i get this done? Or is there any other container which would enable add only once? -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe fro

Re: Overriding "Delete Build"

2016-03-30 Thread Shashank Bhargav
I found out the root cause to this, "Discard Build" is a plugin and just calls the delete method. There isn't any field in Run listener to identify source it is coming from, as in my case whether the user is doing it or some plugin calling it. Would be great if we include some field for this an

Re: How to pass parameter from build batch job to build flow job

2016-03-30 Thread Noel Yap
Job A isn't really setting VAR_REV. Instead, it's setting it in a local scope (ie it shells out, sets the env var in that shell, then exits the shell). Try using the Inject Environment Variable plugin. On Wed, Mar 30, 2016 at 3:52 PM nguyen wrote: > Hi, > > I have two build job *A* and *B*. > j

How to pass parameter from build batch job to build flow job

2016-03-30 Thread nguyen
Hi, I have two build job *A* and *B*. job *A *build by "Execute Windows Batch Command" job *B* build by "Flow" In job *A*, I set "This build is parameterized" -> String Parameter -> Name = VAR_REV and Default = 123 In job *A* "Execute Windows Batch Command", I set as below echo %VAR_REV% set

Re: simple build (DSL) for pipeline plugin

2016-03-30 Thread Michael Neale
Yes - interestingly that question/answer comes up a lot. Yes, you have to install deps yourself if using Advanced "tab" to install it. If you use mvn hpi:run to run it in development you don't need to worry about it (which is why few come across this). If this bites you enough, might I sugges

Re: Protecting Jenkins from its own pipelines and jobs

2016-03-30 Thread Jason Hull
Thank you for your response, Victor! Below are my responses to your comments. Before that, however, for background I should state that I work in a large enterprise in a highly regulated industry. Thus my keen interest in security. On Wednesday, March 30, 2016 at 3:31:18 PM UTC-5, Victor Martine

Important announcement regarding usage statistics collection

2016-03-30 Thread Daniel Beck
A bug introduced in Jenkins 1.645 and 1.642.2 caused Jenkins to send anonymous usage statistics data to the Jenkins project even if the administrator opted out of it. Read more about this issue, including how to disable data submission, here: https://wiki.jenkins-ci.org/display/JENKINS/Usage+St

Groovy library

2016-03-30 Thread Guy Matz
Hi! I have some groovy methods that I would like to make generally available to any jenkins job . . . does anyone have any recommendations for creating a library of methods and setting up jenkins to make the methods in it available to jenkins? Should they be static methods? NOT static? Any tho

Re: Protecting Jenkins from its own pipelines and jobs

2016-03-30 Thread Victor Martinez
I see there are two different points: 1) Securing your Jenkins instance a) Probably you could add some security policies: - https://wiki.jenkins-ci.org/display/JENKINS/Securing+Jenkins - https://wiki.jenkins-ci.org/display/JENKINS/Ownership-Based+security b) Avoid granting privileges to the

Protecting Jenkins from its own pipelines and jobs

2016-03-30 Thread Jason Hull
Hi! How do I protect Jenkins from its own jobs and pipelines? For instance, I can create a freestyle job with a script step that does something like: echo 'my own key' >> /home/jenkins/.ssh/authorized_keys Also, I can write a pipeline like: stage 'Destroy' 'rm -rf /home/jenkins'.execute echo

Re: Not Provisioning 'xxxxxx'; Server 'Docker Build Cloud' full with '10' container(s)

2016-03-30 Thread Gang cheng
reboot the server (that host Jenkins), also docker rm exited containers, resolve the issue. On Tuesday, March 29, 2016 at 5:08:30 PM UTC-7, Gang cheng wrote: > > In short, I think the container pool is full which cause this, but I don't > know how to resolve this. (I tried to restart Jenkins ser

Re: simple build (DSL) for pipeline plugin

2016-03-30 Thread Martin d'Anjou
I will reply to my own question: plugins uploaded manually do not fetch their dependencies. -- 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+uns

Using Regex modifiers in Jenkins Warnings plugin

2016-03-30 Thread Tyoneb
Hey! I hope I'm posting this in the correct place, it's my first request here, usually I can find the answers to my questions somewhere on the Web... I'm currently trying to define a Compiler Warning with the provided Jenkins plugin UI. I've done it several times in the past with basic regular

Re: How to instruct Jenkins to look for email template in user defined path (OTHER THAN $JENKINS_HOME/email-templates)

2016-03-30 Thread Slide
You can use the config-file-provider plugin to provide templates. If you have access to edit those "files" in the Jenkins UI, then you wouldn't need them placed on the file system. Victor is correct though, those are the only two methods for accessing templates. On Wed, Mar 30, 2016 at 9:02 AM Vic

Re: How to instruct Jenkins to look for email template in user defined path (OTHER THAN $JENKINS_HOME/email-templates)

2016-03-30 Thread Victor Martinez
- https://wiki.jenkins-ci.org/display/JENKINS/Email-ext+plugin#Email-extplugin-Jellycontent - https://wiki.jenkins-ci.org/display/JENKINS/Email-ext+plugin#Email-extplugin-Scriptcontent No other way according to the above docs On Wednesday, 30 March 2016 16:44:02 UTC+1, Jagadish Chandran wrote:

How to instruct Jenkins to look for email template in user defined path (OTHER THAN $JENKINS_HOME/email-templates)

2016-03-30 Thread Jagadish Chandran
I have groovy email template(for Selenium Robot framework test execution) for Jenkins. Jenkins master is controlled by a remote team. So for placing this template in $JENKINS_HOME/email-templates, we need to raise a ticket and wait from 2 to 3 days. Also we expect, there might be changes require

Dimensions plugin never checks out files

2016-03-30 Thread Bert Laverman
I am running Jenkins 1.642.1 LTS with the Dimensions plugin version 0.8.13. The Dimensions server has version 12.2. The plugin reports it can successfully connect to the server, but the Jenkins project build runs never find any files. Any hints? Bert Laverman -- You received this message bec

Re: Spawn VM and setup test environments in Amazon EC2 cloud using Jenkins

2016-03-30 Thread Kaushal Shriyan
On Wednesday, 30 March 2016 14:18:38 UTC+5:30, Victor Martinez wrote: > > You can find some plugins in the below page: > > - https://wiki.jenkins-ci.org/display/JENKINS/Plugins (see > section: Cluster management and distributed build) > > Cheers > Thanks Victor for the quick reply. I really app

Re: Spawn VM and setup test environments in Amazon EC2 cloud using Jenkins

2016-03-30 Thread Victor Martinez
You can find some plugins in the below page: - https://wiki.jenkins-ci.org/display/JENKINS/Plugins (see section: Cluster management and distributed build) Cheers On Wednesday, 30 March 2016 09:42:59 UTC+1, Kaushal Shriyan wrote: > > Hi, > > Is there a way to spawn VM and setup test environments

Spawn VM and setup test environments in Amazon EC2 cloud using Jenkins

2016-03-30 Thread Kaushal Shriyan
Hi, Is there a way to spawn VM and setup test environments in Amazon EC2 cloud using Jenkins? Regards, Kaushal -- 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

Jacoco plugin shows no coverage with dumped file from jacoco java agent

2016-03-30 Thread rui . a . rodrigues
Hello, I'm using the jacoco java agent to dump the coverage of my integration tests (via jmx call) to a file and then use it with jenkins' jacoco plugin to show the coverage trend column. The following command line is used: -javaagent:org.jacoco.agent-0.7.6.201602180812-runtime.jar=destfile=/t

Not able to launch emulator in jenkins.

2016-03-30 Thread Akash Rai
Hi all, I recently integrated Android SDK with jenkins, i tried to run the emulator, but now Jenkins is failing to launch Android Emulator with it. the skin of emulator was availble with the sdk. Not sure what's the issue, but here is the log I got. Is there any other place I can look for log?