Skip to content

Jenkins file:// 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:// 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:// 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://example.txt"
puts "Here's an example using single quotes - 'file://example.example.com/C$/example.txt'"
puts "Here's an example with spaces and double quotes - \"file://example with spaces/C$/example.txt\""
puts "Here's an example with escaped html quotes - "file://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:// link.

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published