For a parameterized assembly with an image tag selection, you will need the Active Choices plugin Go to "Manage Jenkins" Section "Manage Plugins" Go to the "Available" tab and select "Active Choices" in the search. Install it. Create a "New Item" – "Pipeline", indicate that it will be a parameterized assembly, and …
Continue reading "Jenkins – Active Choice: AWS ECR Images tag (AWS Cli)"
Example using AWS Cli only, without third-party utilities Example using "jq" utility
To store and switch between Kubernetes configurations, you can use the Kubernetes CLI plugin, to work with it, "kubectl" must be installed in the system Install the plugin Go to "Manage Jenkins" Section "Manage Plugins" Go to the "Available" tab and in the search indicate "Kubernetes CLI" Install it. Add Kubernetes …
Continue reading "Jenkins – Kubeconfig"
When trying to execute any "kubectl" command on an EKS cluster, the following error occurs: Invalid choice: 'eks', maybe you meant: A possible reason for this is the old version of "kubectl" available in the repository. Solution: Install the latest version of "kubectl" using PIP3 To use "kubectl" installed using PIP, you …
Continue reading "FIX ERROR – CentOS 7 kubectl: Invalid choice: 'eks', maybe you meant"
To add the path to the Jenkins environment globally, without doing this every time in Pipeline, we’ll go to the Jenkins settings Next is the tab "Configure System" Find the "Global properties" block, check the "Environment variables" checkbox. And we add a variable with the name "PATH + EXTRA" and the value …
Continue reading "Jenkins – Add new path to PATH"