
Jenkins fails to start after restart due to com.thoughtworks.xstream ...
Apr 18, 2019 · In my case it is usually caused by a breaking change in Jenkins container, e.g. a Jenkins downgrade, breaking GitHub Authorization Plugin. The least destructive solution in my …
jenkins - Cannot define variable in pipeline stage - Stack Overflow
The Declarative model for Jenkins Pipelines has a restricted subset of syntax that it allows in the stage blocks - see the syntax guide for more info. You can bypass that restriction by wrapping …
Export/import jobs in Jenkins - Stack Overflow
Is it possible to exchange jobs between 2 different Jenkins'? I'm searching for a way to export/import jobs.
jenkins - How to set and reference a variable in a Jenkinsfile
I have a declarative pipeline script for my multibranch project in which I would like to read a text file and store the result as a string variable to be accessed by a later step in the pipeline. U...
Unable to Load Jenkins Shared Libraries - Stack Overflow
Aug 7, 2021 · Unable to Load Jenkins Shared Libraries Asked 4 years, 5 months ago Modified 4 years, 4 months ago Viewed 12k times
jenkins - Job DSL to create "Pipeline" type job - Stack Overflow
This makes sense: the Jenkins job creation and metadata configuration (description, triggers, etc) could belong to Jenkins admins, but the dev team should have control over what the job …
jenkins - Unknown stage section "withSonarQubeEnv" - Stack …
Mar 14, 2017 · I am experimenting using Pipeline jobs with the Blue Ocean beta plugin enabled on our Jenkins server. We have a sonarqube scanner build step configured in one of our …
What does the agent mean in jenkins? - Stack Overflow
Dec 5, 2017 · While @adbo covered questions asked, Jenkins glossary describes agent really well: typically a machine, or container, which connects to a Jenkins controller and executes …
How to use @Library in an imported groovy script in Jenkins …
Jul 25, 2017 · It is probably easier to use the library step to dynamically load in the imported script to handle some of the oddities with how the Jenkins Groovy runtime works.
Try-catch block in Jenkins pipeline script - Stack Overflow
May 16, 2017 · try/catch is scripted syntax. So any time you are using declarative syntax to use something from scripted in general you can do so by enclosing the scripted syntax in the …