Low commit activity in last 3 years
Update Description of Build
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
 Dependencies

Development

Runtime

>= 2.2.2
 Project Readme

update_jenkins_build plugin

fastlane Plugin Badge

Getting Started

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

screenshot

Configure Jenkins

⚠️ 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.

About update_jenkins_build

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]       |
+-----------------------------------+

Example

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:

Run tests for this plugin

To run both the tests, and code style validation, run

rake

To automatically fix many of the styling issues, use

rubocop -a

Issues and Feedback

For any other issues and feedback about this plugin, please submit it to this repository.

Troubleshooting

If you have trouble using plugins, check out the Plugins Troubleshooting guide.

Using fastlane Plugins

For more information about how the fastlane plugin system works, check out the Plugins documentation.

About fastlane

fastlane is the easiest way to automate beta deployments and releases for your iOS and Android apps. To learn more, check out fastlane.tools.