Skip to content

Jenkins file:https:// url annotator that creates hyperlinks to the file

Notifications You must be signed in to change notification settings

pmaccamp/file-url-annotator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

File Url Annotator Plugin

This plugin is intended to provide file:https:// hyperlinks in jenkins console output. Its purpose was to provide a way to view log files easily in the console output (and in any email reports).

Installation

Add file-url-annotator.hpi to jenkins/plugins and restart. File:https:// annotation will occur on all jobs without any configuration, there is currently no per job toggle.

Examples

The following ruby code

puts "Here's a basic example - file:https://example.txt"
puts "Here's an example using single quotes - 'file:https://example.example.com/C$/example.txt'"
puts "Here's an example with spaces and double quotes - \"file:https://example with spaces/C$/example.txt\""
puts "Here's an example with escaped html quotes - "file:https://example.example.com/C$/example.txt""

generates

examples

Integration with Chrome and Firefox

Using the following browser locallinks plugin/add-on
Chrome
Firefox
IE - built in
The file links can then be accessed via a single click. Without the plugins, the security models of Chrome and Firefox will cause nothing to happen when you click a file:https:// link.

About

Jenkins file:https:// url annotator that creates hyperlinks to the file

Resources

Stars

Watchers

Forks

Packages

No packages published