I have a pipeline job in Jenkins. Once it finishes , it archives some files. I need to display a particular file from the archived folder. Example file is D:/1234/errorLog.txt If job is failed , this path should be provided in the email. How can I achieve this ? It should be able to access that folder from email, by clicking that link.
Display a file path as hyperlink from archive after jenkins build
822 Views Asked by ViBe At
1
There are 1 best solutions below
Related Questions in JENKINS
- Shellscript touch command not working in jenkins pipeline
- Jenkins Docker Agent Configuration Issue: Connection Refused on Local Ubuntu Install
- How to add more input text box in dynamicreferenceparameter in jenkins
- Jenkins pipeline script: Accept merge request from Gitlab
- Jenkins Exec Format Error while cloning repo
- Post checkmarx scan weblink on the Jenkins Build status page
- Exclude a file from merging to the main branch
- Created Jenkins pipeline and added the script in the Pipeline Description.To check out the Project from the svn repository.NotWorking. Any Suggestion
- How to write a Jenkins Pipeline script to fetch needed repo?
- trouble to trigger Jenkins job
- Unable to start jenkins in amazon linux 2: start request repeated too quickly
- is not a valid Cucumber report! String length (20054016) exceeds the maximum length (20000000)
- Run cleanup function in Python when Jenkins job is aborted
- Jenkins pipeline map is getting converted to an array but it's too large I think?
- How do I list which Jenkins credentials used per pipeline in the script console?
Related Questions in HYPERLINK
- Non-Expiring Direct Link Like When Clicked It Will Download Without Landing Any Page
- Hyperlink doesn't redirect while others do
- I want to embed YouTube videos in my web app while safeguarding the direct video links. How can I do this?
- How to make common post or page for external links in wordpress website using php or any language
- I want to avoid this warning: "Microsoft Office has identified a potential security concern"
- LinkedIn Thumbnail problems
- Replace a Link to a file per GScript in GMail
- link analysis with visjs on the basis of timestamp
- No route found in Shopware6/symfony
- How to make a div button to link to another web page
- I need URLs typed into Google Sheet cells to open automatically when they are finished being typed
- Approach to display links by role
- Link target _system is not working on IOS inAppBrowser
- a href not taking me to a page that is specified
- My links are visually breaking as soon as screen is resized
Related Questions in JENKINS-PIPELINE
- Shellscript touch command not working in jenkins pipeline
- How to add more input text box in dynamicreferenceparameter in jenkins
- Created Jenkins pipeline and added the script in the Pipeline Description.To check out the Project from the svn repository.NotWorking. Any Suggestion
- trouble to trigger Jenkins job
- Jenkins pipeline map is getting converted to an array but it's too large I think?
- How do I list which Jenkins credentials used per pipeline in the script console?
- How can i ignore a particular stage from the compilation tools (maven, java) which are configured globally
- How to use if statement between parameters in Jenkinsfile
- XrayImportBuilder adding new test cases to Test Execution instead of updating the existing test cases
- How do I mark my Jenkins build status based on cucumber scenarios pass percentage?
- How do i turn a build&test_job into a scripted pipeline as a jenkinsfile
- Jenkins-Pipeline, warnings-ng-plugin reports no workspace found
- Git diff command doesn't work with jenkins
- Jenkins job incorrectly connecting to localhost
- Jenkins pipeline build microservice
Related Questions in JENKINS-GROOVY
- How to add more input text box in dynamicreferenceparameter in jenkins
- Created Jenkins pipeline and added the script in the Pipeline Description.To check out the Project from the svn repository.NotWorking. Any Suggestion
- trouble to trigger Jenkins job
- Jenkins Groovy script to update mail body line to bold
- How can i ignore a particular stage from the compilation tools (maven, java) which are configured globally
- Multibranch pipelines not working if it's created by job DSL
- How to use if statement between parameters in Jenkinsfile
- How do i turn a build&test_job into a scripted pipeline as a jenkinsfile
- In Jenkins/Groovy is it possible to get the build ID from an asynchronously triggered build?
- Getting credentials and other parameters into Jenkins' ActiveChoice plugin
- How can I pass an argument to a shell script being called from a Jenkinsfile?
- Expected Syntax error while writing groovy code
- At jenkins how to display a message(not a plain text) at input section with the variables that comes for the previous stages or commands
- How can I pass the name of a Jira ticket created with Python code back to Jenkinsfile?
- How to format the matched lines using BUILD_LOG_REGEX in JenkinsFile
Related Questions in FILE-LINK
- TYPO3 filelinks icon missing
- MIME checking is enabled
- My Visual- Code-Editor is not showing the included CSS in the Live preview
- How to convert the file into link using c#
- Display a file path as hyperlink from archive after jenkins build
- CSS file linking issue
- Creating link to a file from html page when file name is not fixed
- How to link a file in django-cms carousel slide?
- edge policy IntranetFileLinksEnabled enabled does not open file
- Wordpress drops file prefix after update
- The links to a file
- VS Code Markdown - is there a clever way to make links intellisense?
- Create a file download link to a dynamically generated file in Google Colab jupyter notebooks
- Access DB Report: clickable file location using a button
- Using execvp or execlp with a flag?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
All files that are archived can be accessed via the Jenkins URL. So, for example if I had an archived
errorLog.txt, I would be able to access it like this:So if you were sending an email, the email would have to contain the formatted string with the Jenkins URL, Job name, and build number set.
You can also do this with folders. If you were to go to the artifacts root folder:
You would see the archived folders listed out:
So anyone clicking on the list would have the page open up in their browser.