### jenkins Get access to Jenkins information right into your Dangerfile
Configure credentials to access the Jenkins API
jenkins.user_id = YOUR_USER_ID
jenkins.api_token = YOUR_API_TOKEN
Print list of artifacts in the PR page
jenkins.print_artifacts
Print console output in the PR page
jenkins.print_console_output
Get access to the build properties
message "The spent #{jenkins.build.duration} time"
Customize how you want to present the console output
markdown "### Console output: \n\n #{jenkins.console_text}"
#### Attributes `user_id` - User to authenticate with Jenkins REST API `api_token` - API token to authenticate with Jenkins REST API #### Methods `build` - Hash containing details about the build which triggered the danger process `console_html` - Console output in html format `console_text` - Console output in text format `print_artifacts` - Adds a list of artifacts to the danger comment `print_console_output` - Adds a collapsable console output to danger comment