Skip to content

A Firefox Addon for copying the URL from the Agfa Jenkins Server as a bread crumb

License

Notifications You must be signed in to change notification settings

craigtmoore/AgfaJenkinsFirefoxAddon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Agfa Jenkins Firefox Addon

A Firefox addon for the Agfa Jenkins server, which allows you to copy the page URL into your clipboard as a bread crumb

For example if the URL is

http://ei-ci.agfahealthcare.com/jenkins/job/ei-topic-sloth-IEI-130528-use-dicomconfig-cache/job/continuous%20pacs%20extended-smoke-tests/lastCompletedBuild/testReport/com.agfa.test.seriesheader/MissingInstancesOnArchiveSeriesheaderTest/missingInstancesInArchive_ShouldReturnSeriesHeaderButNotStoreIt_directSHRead__true__storageGroup_ARCHIVE_TAR__fileNr_3__/

It will convert it to this (and copy it to the clipboard)

ei-topic-sloth-IEI-130528-use-dicomconfig-cache > continuous pacs extended-smoke-tests > lastCompletedBuild > testReport > com.agfa.test.seriesheader > MissingInstancesOnArchiveSeriesheaderTest > missingInstancesInArchive_ShouldReturnSeriesHeaderButNotStoreIt_directSHRead__true__storageGroup_ARCHIVE_TAR__fileNr_3__

It's a much easier format to read and is useful for pasting into Microsoft Teams (using HTML) or a code review in Bitbucket/GitHub (as Markdown) or a JIRA issue (in JIRA format)

Trying Out changes

  1. Disable the existing extension you may have installed

    screenshot-select-manage-extension.png

    then click on the disable toggle

    screenshot-disable-extension.png

    it should look like this when complete

    screenshot-extension-disabled.png

  2. After you've made your changes to the source code, build the .zip file from the command line by running ./build.sh from the root directory of the repository

xxx@xxxx.xxx.com MINGW64 /d/dev/AgfaJenkinsFirefoxAddon (main)
$ ./build.sh

7-Zip 22.01 (x64) : Copyright (c) 1999-2022 Igor Pavlov : 2022-07-15

Scanning the drive:
3 folders, 15 files, 35105 bytes (35 KiB)

Creating archive: AgfaJenkinsFirefoxAddon.zip

Add new data to archive: 3 folders, 15 files, 35105 bytes (35 KiB)


Files read from disk: 15
Archive size: 28553 bytes (28 KiB)
Everything is Ok
  1. Go to about:debugging#/runtime/this-firefox in firefox screenshot-load-tmp-extension.png
  2. Click the Load Temporary Add-on icon select the .zip file you generated in step 1. screenshot-select-zip-file.png
  3. Navigate to the webpage for jenkins01-iibu or ei-ci to try out the extension.

Note You can use the debugger and console in firefox, just make sure you have the correct log levels set and add breakpoints to watch/inspect the code while debugging.

About

A Firefox Addon for copying the URL from the Agfa Jenkins Server as a bread crumb

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published