Curated articles, resources, tips and trends from the DevOps World.
Summary: This is a summary of an article originally published by DevOps Cube. Read the full original article here →
In Jenkins’s declarative pipeline, you can add parameters as part of Jenkinsfile. There are many supported parameters type that you can use with a declarative pipeline.
To use the active choice parameter, you need to have an Active Choices plugin installed in Jenkins.
If you are wondering how to use active choice parameters in a declarative pipeline, here is the Jenkinsfile with all Active Choice parameter types.
You can use the native Jenkins pipeline syntax generator to generate the code block for any type of pipeline parameters.
Made with pure grit © 2024 Jetpack Labs Inc. All rights reserved. www.jetpacklabs.com