[GitHub Action] Get gradle package version
For executing pipeline, it is common to get package version. One of the patrice is mark the package version in package info file. In this example, it will use Gradle as example to show how […]
For executing pipeline, it is common to get package version. One of the patrice is mark the package version in package info file. In this example, it will use Gradle as example to show how […]
For debugging pipeline, it is common to save, push and execute pipeline manually. However it is not a good idea because it might increase unnecessary commit and pull request in branch. It can be solved […]
Terraform is one of the Infrastructure as code (IaC) tools to automate deployment in cloud / on premises. Compare with AWS and Azure, which has their own IaC language (e.g. AWS cloudformation), but Terraform is […]
It is usual when running pipeline, it will expect to continue even execute failure. Previously, need to use try..catch and change currentBuild.currentResult to unstable (Originally it can set as SUCCESS, FAILURE, UNSTABLE). Since Jenkine 2.26, […]
Normally, Jenkins pipeline settings can done in UI. However, it cannot be version control if settings changed. Actually, version control can implement in decorative pipeline in jenkinsfile. In this example, it will setup schedule to […]
It was mention how to do dependency check in Gradle In previous article. This session will introduce how to do it in Jenkins pipeline.
No matter what kind of program, hard-code sensitive information is not a recommend approach. In Jenkins, credentials can store in its own credential store and fetch in pipeline.
To prevent production change in controllable manner, some organization require to have some manual approval in the process. To Implement in Jenkins, either use pipeline command or script.
Copyright © 2024 | MH Magazine WordPress Theme by MH Themes