Re: I would like to downgrade the version of Python that Jenkins is using.

2018-05-18 Thread Cuong Tran
I don't believe Jenkins uses python. On Monday, May 14, 2018 at 9:41:13 AM UTC-7, Patricia Sandt wrote: > > The Ubuntu 16.04 version of Python is 2.7. My build depends on this. > Jenkins is apparently using a newer version (3?), which doesn't work with > _html5lib.py in my build. Is there a way

Re: How to create a pipeline job from inside a jenkinsfile?

2018-05-18 Thread Cuong Tran
Yes, you can use the job-dsl plugin (https://plugins.jenkins.io/job-dsl) to do that. On Friday, May 18, 2018 at 2:00:45 AM UTC-7, John Lonergan wrote: > > Is it possible to create a multiranch pipeline job from a script in > another pipeline job. > All driven by Jenkinsfiles? > -- You

Re: Is there a way to figure out artifactName in jenkins pipeline without specifying it in the Jenkinsfile?

2018-05-18 Thread Brian Benson
can you give an example of what you are trying to do? On Thursday, May 10, 2018 at 8:12:45 AM UTC-6, krish wrote: > > Is there a way to figure out artifactName in jenkins pipeline without > specifying it in the Jenkinsfile? > -- You received this message because you are subscribed to the

Re: Jenkins Sonar Plugin groovy script

2018-05-18 Thread Eric Pyle
Here again the error message is pretty clear. Groovy can't find the object "desc". Judging by the name, this is probably a Descriptor you are looking for. You set the variable "global" as an instance of SonarGlobalConfiguration, a subclass of Descriptor, using getDescriptorByType():

Re: Jenkins Sonar Plugin groovy script

2018-05-18 Thread naveen
Thanks so much! well it worked import jenkins.model.* import hudson.plugins.sonar.* import hudson.plugins.sonar.model.* import hudson.model.* def inst = Jenkins.getInstance() SonarGlobalConfiguration global = Hudson.instance.getDescriptorByType( SonarGlobalConfiguration.class) def

Re: Jenkins Sonar Plugin groovy script

2018-05-18 Thread Victor Martinez
Well.. the stacktrace message is quite clear: groovy.lang.MissingPropertyException: No such property: desc for class: RemoteClass Worth to look for where 'desc' is declared/instanced as it's not part of the snippet you pasted it. Likely you could find some answers in this code: -

Re: Jenkins Sonar Plugin groovy script

2018-05-18 Thread naveen
By chance could review the code once, any suggestions. On Friday, May 18, 2018 at 1:24:10 PM UTC-7, naveen wrote: > > > > > > > > > > > ERROR: Unexpected exception occurred while performing groovy command. > > groovy.lang.MissingPropertyException: No such property: desc for class: > RemoteClass

Re: Jenkins Sonar Plugin groovy script

2018-05-18 Thread naveen
ERROR: Unexpected exception occurred while performing groovy command. groovy.lang.MissingPropertyException: No such property: desc for class: RemoteClass at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap( ScriptBytecodeAdapter.java:53) at

Re: Jenkins Sonar Plugin groovy script

2018-05-18 Thread Eric Pyle
Hi Naveen, It looks like you need to import hudson.model.* to get class Hudson. Eric On Fri, May 18, 2018 at 2:25 PM, naveen wrote: > When I tried to configure Sonar plugin using following script throwing me > an error. > > > > > > > > > import jenkins.model.* > >

Re: POSTing zip file using httpRequest in Jenkinsfile

2018-05-18 Thread prasad venkata ramasatya Nandagiri
Please let me know, if the issue had been resolved. On Monday, 30 January 2017 16:04:13 UTC-5, Christopher Burke wrote: > > Hey everyone > >Part of my build pipeline requires that I publish a zip file to a > server, so I'm trying the following: > > response = httpRequest httpMode: 'POST',

Re: SSH deploy key needed for?

2018-05-18 Thread Mark Waite
No, ssh keys are not used in http or https. Mark Waite On Fri, May 18, 2018 at 3:00 AM Tekk nj wrote: > Do I need to use my SSH public key in GitLab as a deploy to make a HTTP > and HTTPS connection between my Jenkins project and the GitLab repo? > > -- > You received this

Dynamic choice in declarative pipeline

2018-05-18 Thread Jes Struck
Hi all, I currently working on a migrating to Jenkins Declarative Pipeline, and I'm seems to be stuck on a missing feature (or at least i can't find the documentation). My goal is to have two parameters, where the selection of param-A is used the generate the list of options to param-B, says

Re: Jenkins - SoapUI integration

2018-05-18 Thread yotam . cohen
You might be missing a closing " after the testrunner.bat file name? "filename.bat" -arg 1 -arg 2 On Friday, 18 May 2018 10:59:55 UTC+2, AnuR wrote: > > Hi > > Am new to Jenkins and am trying to execute a windows command line to > execute my SoapUI test cases. > I just downloaded and installed

Can't make HTTP or HTTPS connection to local GitLab Server

2018-05-18 Thread Tekk nj
Running the latest versions of both Jenkins and GitLab CE. I have successfully connected my build job using SSH to my GitLab server. I also want to make the connection with either HTTP or HTTPS. With either, the connection fails with a 404 or 504 error. I have no idea want is happening

SSH deploy key needed for?

2018-05-18 Thread Tekk nj
Do I need to use my SSH public key in GitLab as a deploy to make a HTTP and HTTPS connection between my Jenkins project and the GitLab repo? -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving

How to create a pipeline job from inside a jenkinsfile?

2018-05-18 Thread John Lonergan
Is it possible to create a multiranch pipeline job from a script in another pipeline job. All driven by Jenkinsfiles? -- 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

Bitbucket PR in Jenkins Blue Ocean

2018-05-18 Thread rahulkumar . sahotay
Hello Everyone: I would like to trigger a blueOcean build from Bitbucket Pull request notification( https://marketplace.atlassian.com/apps/1213177/pull-request-notifier-for-bitbucket?hosting=server=overview ). It is working in Classic Jenkins but not with BlueOcean. Can you suggest me how to

Steps to Test "Circuit" of Projects

2018-05-18 Thread Paul Dimitriu
Good morning, I have a project that has multiple steps to it. Step 1 (do something) - send request ---> Step 2 - send request > Step 3 send request > Step N --> Return results to > Step 1 for validation Basically, I need to test the circuit from / back to Step 1

Start https server through batch file in the background

2018-05-18 Thread Alice G
Hey, I need so start and https server by starting a batch file. However, while it keeps running, Jenkins should continue and run my UI-tests. Once they're finished, the batch file should be stopped. Does anyone know how this is possible? Thanks. -- You received this message because you are

Jenkins - SoapUI integration

2018-05-18 Thread AnuR
Hi Am new to Jenkins and am trying to execute a windows command line to execute my SoapUI test cases. I just downloaded and installed Jenkins on my machine and created a new Jenkins free style project and provided my command (the command line execution path from SOAPUI) in Build path. when