Re: Automating the Choice Parameter on a job

2020-10-22 Thread Danny Trunk
Hello Kari As far as I know JsonSlurper isn't Serializable and defining it for re-use will raise a NotSerializableException and this end up in the catch block. You could either move the Code insider a @NonCPS annotated method or doing everything in one statement. Kari Cowan schrieb am Do., 22.

Re: How to access jenkins using ip address remotely ?

2020-10-20 Thread Danny Trunk
Hello Vaibhav, what does "remotely" mean? Inside your network or outside from the internet? Inside of your network this should work out of the box. Outside from the internet you need to open port 8080 to access it. Please refer to the documentation of your router on how to open a port. Keep in

Jenkins Console Output: declarative pipeline + sh + python line-buffered

2020-10-18 Thread Danny Trunk
Hello everybody, I've set up a declarative pipeline job using the sh step to run repo (which is a tool written in python - more information: ) But I can't get stdout to be line-buffered. I've already tried the following: * `export PYTHONUNBUFFERE

[JCasC] job parameters lost when re-starting docker container / reloading existing configuration

2020-10-16 Thread Danny Trunk
Hello everyone, I've set up a container with jenkins.yaml file in $JENKINS_HOME which is loading a parameterized pipeline job: jobs: - script: > pipelineJob('lineage') { definition { cpsScm { scriptPath 'Jenkinsfile' scm { git {