Re: email-ext: "requester" option not available in Send to area

2017-04-20 Thread Sébastien Hinderer
Slide (2017/04/20 20:16 +): > Did you expand the "Advanced" area of the plugin configuration? I think I did that but perhaps I should retry with sighted assistance -- I am blind. Will keep you posted at the beginning of next week. Thanks, Sébastien. -- You received this message because

Re: Publish Coverity plugin results via Email

2017-04-20 Thread Victor Martinez
You could potentially use the ext-email plugin: - https://wiki.jenkins-ci.org/display/JENKINS/Email-ext+plugin and extend it to show those coverity details: - https://github.com/jenkinsci/email-ext-plugin/tree/master/src/main/resources/hudson/plugins/emailext/templates There is a closed ticket

Re: email-ext: "requester" option not available in Send to area

2017-04-20 Thread Slide
Did you expand the "Advanced" area of the plugin configuration? On Thu, Apr 20, 2017 at 6:22 AM Sébastien Hinderer < sebastien.hinde...@inria.fr> wrote: > Dear all, > > I just installed the latest version (2.57.2) of the email-ext plugin on > a 2.32.3 LTS instance of Jenkins. > > I'd like the

Scripts not permitted to use staticMethod in Extensible Choice System Groovy

2017-04-20 Thread Victoria Kozel
Hello, I am writing a simple groovy script to display role-based choices in the Extensible Choice. I get org.jenkinsci.plugins.scriptsecurity.sandbox.RejectedAccessException: Scripts not permitted to use staticMethod jenkins.model.Jenkins getInstance when calling def authStrategy =

Re: 500 error when saving a configuration or creating a job

2017-04-20 Thread Ralph Goers
Nevermind. Our nginx proxy was out of disk space. Thanks Ralph On Thursday, April 20, 2017 at 9:33:21 AM UTC-7, Ralph Goers wrote: > > I just recently upgraded Jenkins from 2.7 to 2.55. After restarting > everything was fine. Yesterday I went to the manage plugin page and > upgraded all the

RE: How to specify svn credentialsId in pipeline job?

2017-04-20 Thread David Aldrich
Thanks for your reply. I am an admin so I should be able to see everything. Where should I look for the credentials? All our conventional jobs use the following credential seen on the job configuration page: [cid:image001.png@01D2B9CD.84833030] Where should I look for the corresponding

Re: How to specify svn credentialsId in pipeline job?

2017-04-20 Thread thomas . lehmann
When you click top/left on "Jenkins" (navigate to the mainpage) the link to the credentials should appear on the left side (short before build queue). On Thursday, April 20, 2017 at 12:59:31 PM UTC+2, David Aldrich wrote: > > Thanks for your reply. I am an admin so I should be able to see >

Re: How/when does Jenkins refresh job configuration (params, etc.) from pipeline script?

2017-04-20 Thread thomas . lehmann
Basically the pipeline script is code and as long the code is not executed it does nothing. If you decide to adjust job configuration via script like "poll scm", "interval", enable/disable concurrent build and how many history entries to keep then it will affect next build only. You have

Re: How to specify svn credentialsId in pipeline job?

2017-04-20 Thread thomas . lehmann
You assing it to the parameter *credentialsId*. On Thursday, April 20, 2017 at 1:13:20 PM UTC+2, David Aldrich wrote: > > Thanks, I see it now. The credential does have a readable name. Can I > assign that name to credentialsId or should it be assigned to a different > property? > > > >

Can't capture command results in Kubernetes Pipeline Jenkinsfile

2017-04-20 Thread Mark Nuttall
Hello, I'm porting an existing Jenkinsfile to use the kubernetes plugin and its syntax. I've hit a problem in which I need to get the result of a shell command, but get only empty strings. This code worked correctly until being ported to the kubernetes plugin syntax. Here's my Jenkinsfile,

java.util.zip.ZipException: error reading zip file by clicking on "Build Now" in jenkins

2017-04-20 Thread venkatesh guttal
Hi The below error will come whenever i start the build. When i restart the jenkin's this error will go off, After some time again it will come. Please help me to sort this issue, Please find the attached log files. java version "1.8.0_92" Java(TM) SE Runtime Environment (build 1.8.0_92-b14)

Even after having 'wipe out repository & force clone' option, my workspace is not fresh

2017-04-20 Thread ishan jain
I am selecting below option in my build pipeline, where internally i would checkout a repo and work on it. But the worspace with the repository clone is still there in every job execution and this is creating problems for me. I have to manually delete the worspace on the server everytime to

Re: Even after having 'wipe out repository & force clone' option, my workspace is not fresh

2017-04-20 Thread Mark Waite
I'm surprised that doesn't work in a pipeline context. I thought I had integration tests which were checking that. I'll need to double check. Please submit a bug report with steps to duplicate the problem. Pipeline has the deleteDir() step which will delete the contents of the current

Re: Jenkins BuildHistory | MBs of space is consumed

2017-04-20 Thread thomas . lehmann
I would assume that is the size (sum) of your build artifacts. When you click in one history entry you should see the build artifacts (and its size) On Wednesday, April 19, 2017 at 12:17:35 PM UTC+2, LnT wrote: > > Hi, > > one of my job's history show like below. > What are these statistics

Re: How to specify svn credentialsId in pipeline job?

2017-04-20 Thread thomas . lehmann
Click on the link an a table is shown and there is the columns ID ... One note: if you forgot to provide a readable name you cannot change it. You have to re-create it then. On Thursday, April 20, 2017 at 1:07:53 PM UTC+2, thomas@teamaol.com wrote: > > When you click top/left on "Jenkins"

RE: How to specify svn credentialsId in pipeline job?

2017-04-20 Thread David Aldrich
Thanks, I see it now. The credential does have a readable name. Can I assign that name to credentialsId or should it be assigned to a different property? From: thomas.lehm...@teamaol.com [mailto:thomas.lehm...@teamaol.com] Sent: 20 April 2017 12:11 To: Jenkins Users

Re: Can't capture command results in Kubernetes Pipeline Jenkinsfile

2017-04-20 Thread thomas . lehmann
Easy thing ;) The variable "c" is not know by the shell script withEnv(["c=$c"]){ sh 'c=${c}' } On Thursday, April 20, 2017 at 1:55:34 PM UTC+2, Mark Nuttall wrote: > > Hello, > I'm porting an existing Jenkinsfile to use the kubernetes plugin and its > syntax. I've hit a problem in which

Basic pipeline questions (using svn)

2017-04-20 Thread David Aldrich
Hi Sorry for asking basic questions, but I need some help with my first pipeline. Here's what I have so far: node { stage('Checkout') { checkout([$class: 'SubversionSCM', additionalCredentials: [], excludedCommitMessages: '', excludedRegions: '',

Re: Can't capture command results in Kubernetes Pipeline Jenkinsfile

2017-04-20 Thread Mark Nuttall
Having asked the question I've now stumbled onto the answer: I'm just not printing the result correctly. The correct syntax to print variables is, echo "c = ${c}" It needs to be double quotes and not single quotes in order for the variable substitution to work. -- You received this

How to approve pending signatures?

2017-04-20 Thread Maciej Gawinecki
Hi, I have pipeline that downloads Groovy script from Git, but Groovy script fails with org.jenkinsci.plugins.scriptsecurity.sandbox.RejectedAccessException: Scripts not permitted to use method java.net.URL openStream I found /var/lib/jenkins/scriptApproval.xml file with the following

Re: Jenkins Okta auth

2017-04-20 Thread Ivan Fernandez Calvo
Hi, To configure Okta as SAML service you have to follow this documentation http://developer.okta.com/standards/SAML/setting_up_a_saml_application_in_okta, It seems like you did that and have the IdP up and running, you have to set these setting in order to make it works *Single Sign on Url

Re: How to specify svn credentialsId in pipeline job?

2017-04-20 Thread thomas . lehmann
Usually the adminstrator of a Jenkins is reponsible to register credentials with a useful (readable) name. If those admin forget to give a name Jenkins does it for your which results usually in something like this: "b86bc2b6-994b-4811-ac98-0f35e9a9b114' Of course you don't wanna have such ID's

Jenkins Okta auth

2017-04-20 Thread stas
I'm trying to configure okta with saml jenkins plugin https://wiki.jenkins-ci.org/display/JENKINS/SAML+Plugin But getting error Cannot find entity https://www.okta.com/saml2/service-provider/spibofbfpairxsdsimgc or role {urn:oasis:names:tc:SAML:2.0:metadata} there is my metadata

Publish Coverity plugin results via Email

2017-04-20 Thread Nitzan Yemal
Hi, I started to use Coverity plugin in our Jenkins and I wanted to know if I can publish the scan results via mail? is there ant HTML file created in that scan which I can send? Is there a list pf Coverity environment variable I can use instead? Thanks, Nitzan -- You received this message

java.io.IOException: Unexpected EOF in jenkins

2017-04-20 Thread venkatesh guttal
Hi I was running the jobs, after running 16 hours i got below error message. java.io.IOException : Unexpected EOF at hudson.remoting.ChunkedInputStream.readUntilBreak(ChunkedInputStream.java:99)

Git Parameter Plug-in does not list Git commit Ids

2017-04-20 Thread Sukumar Reddy
Hello All, we are using jenkins 2.7.22.0.3 (cloudbees version) Configured build parameterized job and i am able to view the git commit ids in git parameter box Attached images for better understanding. Please suggest me if any one has come across similar issue -- You received this message

Re: Can't capture command results in Kubernetes Pipeline Jenkinsfile

2017-04-20 Thread Mark Nuttall
In case anyone else finds this topic, the key link is https://jenkins.io/doc/book/pipeline/jenkinsfile/ "Only the [double quoted form] will support the dollar-sign ($) based string interpolation" -- You received this message because you are subscribed to the Google Groups "Jenkins Users"

Re: How to restore to previous state after automatic update

2017-04-20 Thread CNemo
I got it up and running doing following: 1. Renamed Plugins directory. Did not helped. 2. Installed 1.8 on a box. Did not helped 3. Renamed local copy of JRE and copied one from fresh installation. Reverted back plugins. Started just fine. Thought I do not know if this set of actions OK and

Slave JVM randomly dies on large machines

2017-04-20 Thread Steffen Schröter
Hi, i have a little problem with the slave JVM randomly dying on our larger build machines. When these machines are under heavy load the following error tends to pop up somewhat randomly on the slave connection: https://pastebin.com/raw/BaY2rJ7G The likeliness of these errors increases with the

Re: How to restore to previous state after automatic update

2017-04-20 Thread CNemo
Mark, thank you for your reply! That's what I've suspected too. Problem is that I'm absolutely not sure what I really need to do. I understand that It should be simple to install additional JDKs from Jenkins Configuration UI, but I'm not able to start Jenkins. Would be installing JDK 1.8 on

Re: How to restore to previous state after automatic update

2017-04-20 Thread Mark Waite
That's good. You have the system running again. You'll probably have the exact same problem the next time you (or someone else) updates plugins. This is a good time to switch to Java 8, and confirm that you have successfully switched to Java 8. You'll need to install Java 8 on the machine,

Declarative Pipeline - Agent wonderment

2017-04-20 Thread Danny Rehelis
Help me understand this please, in case my Pipeline looks like this - pipeline { agent none stages { stage ('Stage #1') { agent { label 'builder' } steps { echo "Hello World" } } stage ('Stage #2') { agent { label 'builder' } steps { echo "Hello

email-ext: "requester" option not available in Send to area

2017-04-20 Thread Sébastien Hinderer
Dear all, I just installed the latest version (2.57.2) of the email-ext plugin on a 2.32.3 LTS instance of Jenkins. I'd like the requester of a job to be notified of its result but can't achieve this, because the option to send the e-mail to the requester is not displayed. Neither is the

how to configure a custom parser for jenkins Warnings plugin

2017-04-20 Thread Sylvain Plancoulaine
Hi all, I am trying to do a user defined parser using the gui for https://wiki.jenkins-ci.org/display/JENKINS/Warnings+Plugin According to documentation, it should be easy to understand, but It is not so straight forward to me to understand what should i do. I am far to be familiar with that

RE: How to specify svn credentialsId in pipeline job?

2017-04-20 Thread David Aldrich
The snippet generator has solved this for me: additionalCredentials: [[credentialsId: '', realm: '']], From: David Aldrich Sent: 20 April 2017 16:29 To: 'thomas.lehm...@teamaol.com' ; Jenkins Users Subject: RE: How to specify svn

Call something to force "Please wait while Jenkins is getting ready to start" to show?

2017-04-20 Thread Matthew Strickland
We're running a lot of startup scripts for our jenkins box (user_data on our EC2 instance, mounting etc), is there a way to get the inbuilt start screen to show up (through a groovy script perhaps) and then to take it back down again so that anyone trying to use the box in this time is unable

Can't find global maven settings configuration ...

2017-04-20 Thread Jeff
We just spun up a new Jenkins server (Ubuntu 16.04/tomcat7/java8/Jenkins v2.55) from scratch and am trying to configure both the user and global Maven settings.xml. I've gone into "Managed Files" and added the settings.xml files: [image: Inline image 3] But nowhere in the "Maven Project

500 error when saving a configuration or creating a job

2017-04-20 Thread Ralph Goers
I just recently upgraded Jenkins from 2.7 to 2.55. After restarting everything was fine. Yesterday I went to the manage plugin page and upgraded all the plugins except for those that said they use different settings and will require jobs to be reconfigured. Today when updating a

RE: getting error when trying to configure Jenkins with PTC Integrity

2017-04-20 Thread Magnanao, Hector
Is anyone able to help me with this ? I sent this out 10 days ago. From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of hector.magna...@sap.com Sent: Monday, April 10, 2017 3:02 PM To: Jenkins Users Subject: getting

Re: Jenkins 2.7 vs 2.4

2017-04-20 Thread Filippo
Hi James, yes, I'm using the 2.46.1 version. But I can use Blue Ocean only for browsing activity, because our projects are stored under SVN while Blue Ocean seems to support only GIT projects, so I must switch to "classic UI" every time I have to change some build configuration. Bye Filippo