Update build's description of jenkins.
MIT License
This project is a fastlane plugin. To get started with fastlane-plugin-update_jenkins_build
, add it to your project by running:
fastlane add_plugin update_jenkins_build
⚠️ READ ME FRIST
Jenkins version below 2.221, you need disable CSRF Protection in Global Security Settings page or else you must append '-Dhudson.security.csrf.GlobalCrumbIssuerConfiguration.DISABLE_CSRF_PROTECTION=true' into Jenkins startup argument, Check more details.
Update build's description of jenkins.
$ bundle exec fastlane action update_jenkins_build
+--------------+---------------------------------------------+-----------------------------------+---------+
| update_jenkins_build Options |
+--------------+---------------------------------------------+-----------------------------------+---------+
| Key | Description | Env Var | Default |
+--------------+---------------------------------------------+-----------------------------------+---------+
| description | the description of current build | UPDATE_JENKINS_BUILD_DESCRIPTION | |
| url | the url of jenkins | UPDATE_JENKINS_BUILD_URL | |
| project | the name of project(job) | UPDATE_JENKINS_BUILD_PROJECT | |
| build_number | the build number of project(job) | UPDATE_JENKINS_BUILD_BUILD_NUMBER | |
| user | the user of jenkins if enabled security | UPDATE_JENKINS_BUILD_USER | |
| password | the password of jenkins if enabled security | UPDATE_JENKINS_BUILD_PASSWORD | |
+--------------+---------------------------------------------+-----------------------------------+---------+
+-----------------------------------+
| update_jenkins_build Return Value |
+-----------------------------------+
| [ture/false, response_body] |
+-----------------------------------+
Check out the example Fastfile
to see how to use this plugin. Try it by cloning the repo, running fastlane install_plugins
and bundle exec fastlane test
.
Useful with fastlane plugin:
To run both the tests, and code style validation, run
rake
To automatically fix many of the styling issues, use
rubocop -a
For any other issues and feedback about this plugin, please submit it to this repository.
If you have trouble using plugins, check out the Plugins Troubleshooting guide.
For more information about how the fastlane
plugin system works, check out the Plugins documentation.
fastlane is the easiest way to automate beta deployments and releases for your iOS and Android apps. To learn more, check out fastlane.tools.