Re: Is it possible to lock a pipeline job on jenkins from manual execution

2018-10-22 Thread Konstantin Raskoshnyi
https://www.thegeekstuff.com/2017/03/jenkins-users-groups-roles/ Or you can do per project access On Mon, Oct 22, 2018 at 3:22 PM Hari Phaneendra wrote: > We have a team jenkins server where the jobs are open for anyone to edit > or run. We have succesfully migrated to jenkinsfiles to ensure

Is it possible to lock a pipeline job on jenkins from manual execution

2018-10-22 Thread Hari Phaneendra
We have a team jenkins server where the jobs are open for anyone to edit or run. We have succesfully migrated to jenkinsfiles to ensure the pipeline cannot be edited manually without code review. However, there are many instances people who are new execute a job manually which was supposed to

Completely Host Jenkins build logs on external storage

2018-10-22 Thread red 888
Everything I see is for *backing up* build logs to S3 or other external storage locations. Is there a plug-in for actually hosting build logs on those locations? meaning that's just where Jenkins writes to and looks for build logs? I often replay jobs and like looking at the job history in

Requirements for Jenkins agent in docker container

2018-10-22 Thread Zach LaCelle
Hello, What does Jenkins need to run jobs in a Docker container? I know that the jenkinsci/slave Docker image works, but if I want to create a new image based off of a different origin, what process, environment variables, etc need to be running? This would be using the "Docker Attach"

Re: jacoco plugin broken after update of Pipeline Maven Integration plugin

2018-10-22 Thread Cyrille Le Clerc
Can you please test the fix to prevent rendering publishing multiple jacoco reports in case of Maven multi-module projects with multiple usage of jacoco. https://github.com/jenkinsci/pipeline-maven-plugin/releases/tag/pipeline-maven-3.5.15-beta-3 On Thursday, October 18, 2018 at 11:42:08 PM

Re: How to set own status message with github-branch-source-plugin ?

2018-10-22 Thread Viacheslav Dubrovskyi
Thank you, Steven! 22.10.2018 17:41, Steven Foster пишет: You can set the status on a github multibranch pipeline using the https://github.com/jenkinsci/github-scm-trait-notification-context-plugin It does not require anything in the scripted pipeline/Jenkinsfile, it is added on the

RE: Best way to set the job description for multi branch pipelines

2018-10-22 Thread Lee, David
Thanks for the reply. currentBuild.description = "You description" sets the build description for each build. I am looking for setting the job/project description. -D From: jenkinsci-users@googlegroups.com On Behalf Of Cuong Tran Sent: Thursday, October 18, 2018 9:47 AM To: Jenkins Users

Re: How to set own status message with github-branch-source-plugin ?

2018-10-22 Thread Steven Foster
You can set the status on a github multibranch pipeline using the https://github.com/jenkinsci/github-scm-trait-notification-context-plugin It does not require anything in the scripted pipeline/Jenkinsfile, it is added on the multibranch pipeline configuration as a behavior (where the branch /

Re: Jenkins scripted pipeline and Active choice plugin

2018-10-22 Thread Slide
>From looking at the source that plugin, I don't think there is currently a way to do it from pipeline. On Mon, Oct 22, 2018, 06:20 Konstantin Raskoshnyi wrote: > Hello everyone, > Is there a way to add active choice input element (multiselect) in > scripted pipeline? > > > Was trying to do

How to set own status message with github-branch-source-plugin ?

2018-10-22 Thread Viacheslav Dubrovskyi
Hi I use multibranch pipeline and github-branch-source-plugin. And I would like set custom status message in github for commits and branches. On this page described how to do it https://github.com/jenkinsci/github-branch-source-plugin/blob/master/docs/implementation.adoc But I can't

Jenkins scripted pipeline and Active choice plugin

2018-10-22 Thread Konstantin Raskoshnyi
Hello everyone, Is there a way to add active choice input element (multiselect) in scripted pipeline? Was trying to do this: activeChoiceParam(name: 'choice1', description: 'select your choice', choiceType: 'RADIO') and got this error [Pipeline] End of Pipelinejava.lang.NoSuchMethodError: No

Re: deploy non-Java (C++ DLL) to artifactory

2018-10-22 Thread John Mellor
On Mon, 2018-10-22 at 12:00 +0200, Jonathan Bergh wrote: We have a problem where we are trying to deploy non-Java artifacts to Artifactory for inclusion in a Java application install. We are using Jenkins and Gradle for the CI system, and the gradle 'cpp' plugin to build the C++ libraries for

Not able to integrate with Nexus repo manager

2018-10-22 Thread Vowner
Hi team, we newly setup jenkins (2.138.1) and nexus (Sonatype Nexus Repository ManagerOSS 3.14.0-04) in same server for now and tried to integrate jenkins with nexus by using the nexus-jenkins plugin. We have integrated LDAp authentication for both nexus and jenkins as well. But when i tried

RE: Why is Jenkins suddenly telling me about an old security vulnerability

2018-10-22 Thread matthew.web...@diamond.ac.uk
Thanks for the advice. It turns out this was caused by an explicit change made by someone to the config (the administrative monitor was re-enabled). > -Original Message- > From: jenkinsci-users@googlegroups.com us...@googlegroups.com> On Behalf Of Daniel Beck > Sent: 19 October 2018

Intermittently get "no valid crumb was included in the request" when using Jenkins through the web browser

2018-10-22 Thread Jordan Soet
I regularly get the error "no valid crumb was included in the request" when I'm using Jenkins through the web browser. This can usually be worked around by going back, making the same changes again, then hitting save again, but this is obviously annoying if I'm making any larger changes to a

deploy non-Java (C++ DLL) to artifactory

2018-10-22 Thread Jonathan Bergh
hi there, We have a problem where we are trying to deploy non-Java artifacts to Artifactory for inclusion in a Java application install. We are using Jenkins and Gradle for the CI system, and the gradle 'cpp' plugin to build the C++ libraries for the project. Having gotten the following message