Jenkins pipeline step that conditionally requires user confirmation
I’m trying to create a Jenkinsfile with three stages: A
, B
C
, where stage A
has these properties:
In a Jenkins Declarative Pipeline, how can I retrieve the error message for an SFTP failure?
In a Jenkins Pipeline, when using the SFTP functionality, if a file is not found or there are insufficient permissions, it shows the error “No such file or directory,” but the pipeline is still marked as successful. Is there a way to detect this error and stop the pipeline?
How to build the branch that was just pushed
I have a repository on GitHub with multiple branches, and I want to automate my builds.
How to build the branch that was just pushed
I have a repository on GitHub with multiple branches, and I want to automate my builds.
How to build the branch that was just pushed
I have a repository on GitHub with multiple branches, and I want to automate my builds.
How to build the branch that was just pushed
I have a repository on GitHub with multiple branches, and I want to automate my builds.
How to build the branch that was just pushed
I have a repository on GitHub with multiple branches, and I want to automate my builds.
Unable to run Jenkins Pipeline
i am running jenkins inside the docker container. Now all i want is that inside docker container it should run the terraform commands by using the docker terraform image and then once the task is completed by terraform container then the terraform container should exit.
What are Jenkins templates and how can I create one?
I’m currently working on setting up Jenkins for my team and have been tasked with creating a Jenkins template. However, I’m unfamiliar with the concept and use cases of Jenkins templates.
How to discard builds if older than daysToKeep AND more then numToKeep?
Automatic removal of old builds and artifacts is great to avoid lots of data building up and filling disks. For some job that runs 0-5 times per day we might have this setting: