Issue accesing variable inside script in ActiveChoice plugin (ver2.4)

2020-07-24 Thread chencho m-a
Hi all, I have a script which is writting the configuration of ActiveChoice instead of use the browser. So I am sending a hashmap as parameters but I am unable to acces it inside the script def components_param(hash_map){ // Section header return [$class: 'DynamicReferenceParameter',

Re: [JCasC] can i utilize variables?

2020-07-24 Thread nigel.a...@braincorp.com
I don't believe JCasC support variables in the yaml, but in our project we use jsonnet to be able to template or use variables in the creation of the casc. -Nigel On Thursday, July 23, 2020 at 1:59:41 PM UTC-7 j wrote: > Hi! > > I am new to this. I have been trying to

Re: Robot Framework test run from Jenkins. - No module named robot

2020-07-24 Thread Eric Pyle
I wonder if this is because AppData is a hidden folder, and/or not accessible to the user running Jenkins. Can you try a directory listing of that Scripts directory in a Jenkins job batch command? Eric On 7/22/2020 11:50 AM, Robert Szabo wrote: Hi, Jenkins cant run my Robot Framework test

Re: Jenkins and HTTPS

2020-07-24 Thread Gianluca
Trying to guess: " java.net.SocketException: Permission denied" this smells of Java not running with enough privileges to open ports below 1024 Usually on Linux systems only root can open such ports. On Friday, 24 July 2020 16:04:36 UTC+1, gaiseric.vandal wrote: > > I am setting up jenkins

Re: Jenkins and HTTPS

2020-07-24 Thread Mark Waite
On Fri, Jul 24, 2020 at 9:12 AM Gianluca wrote: > Trying to guess: > > " java.net.SocketException: Permission denied" > > this smells of Java not running with enough privileges to open ports below > 1024 > Usually on Linux systems only root can open such ports. > > As further help with that, you

Re: parallel jobs not starting with docker workflow

2020-07-24 Thread Marco Sacchetto
I'm replying to myself, in case this helps anybody else. This seems to be triggered by having a (valid) global variable defined for agents in Jenkin's main configuration. Once removed, things started working as expected. Il giorno venerdì 24 luglio 2020 alle 18:32:44 UTC+1 Marco Sacchetto ha

parallel jobs not starting with docker workflow

2020-07-24 Thread Marco Sacchetto
Hi, I've been trying (with no result for now) to define a parallel declarative pipeline such as this: ``` pipeline{ agent any stages { stage('Configure projects') { parallel { stage('Configure 1') { agent {

Re: [JCasC] can i utilize variables?

2020-07-24 Thread Mark Waite
In case it helps, here is an example that sets the Jenkins URL based on an environment variable set from the script that launches it

[JCasC] can i utilize variables?

2020-07-24 Thread Ivan Fernandez Calvo
Hi, You can use environment variables inside of your JCasC file. If you need something more complicated you can use a Jinja template and https://github.com/kolypto/j2cli to make the transformation to YAML -- You received this message because you are subscribed to the Google Groups "Jenkins

Jenkins and HTTPS

2020-07-24 Thread Gaiseric Vandal
I am setting up jenkins on an CentOS 8 machine.  Currently have one running under Ubuntu 16. On the new machine, I am unable to get HTTPS working, even tho the config seems the same as the other machine. My partial config file is # cat /etc/sysconfig/jenkins #

Re: [JCasC] can i utilize variables?

2020-07-24 Thread Phillip Bailey
Hi, Jinja templates are great for such use. However, if you fancy something more "exotic", go templates are something worth a go. https://github.com/hairyhenderson/gomplate Phillip On 24/07/2020 16:57, Ivan Fernandez Calvo wrote: > Hi, > > You can use environment variables inside of your

Re: [JCasC] can i utilize variables?

2020-07-24 Thread j
Thank you, Ivan and Mark. I shall try your recommendation. :) Regards, J On Friday, July 24, 2020 at 10:24:13 AM UTC-7, Mark Waite wrote: > > In case it helps, here is an example that sets the Jenkins URL >

Re: [JCasC] can i utilize variables?

2020-07-24 Thread j
Thank you, Phillip. I shall try your recommendation. :) Regards, J On Friday, July 24, 2020 at 1:52:53 PM UTC-7, Phillip Bailey wrote: > > Hi, > > Jinja templates are great for such use. However, if you fancy something > more "exotic", go templates are something worth a go. > >

Re: [JCasC] can i utilize variables?

2020-07-24 Thread j
Thank you Nigel. I shall try your recommendation. :) Regards, J On Friday, July 24, 2020 at 2:55:48 AM UTC-7, nigel.a...@braincorp.com wrote: > > I don't believe JCasC support variables in the yaml, but in our project we > use jsonnet to be able to template or use >

Re: Robot Framework test run from Jenkins. - No module named robot

2020-07-24 Thread Slide
My guess is that Jenkins (either the agent or server) is running as a different user, so the module isn't installed for that user. You show "robert.szabo" for where robot.exe is installed, but is that the user that Jenkins is running as on that system? On Fri, Jul 24, 2020 at 6:48 AM Eric Pyle

Re: Help needed with setting up credentials for Bitbucket-branch-source-plugin

2020-07-24 Thread Richard Bywater
For use with a multibranch type job you'll need username & password/token credentials for a Bitbucket user which has read access to the repo (or admin access if you want Jenkins to setup the hooks automatically). For use with an organisation folder type job (with Bitbucket server at least -