With Google Slide script, How I can get the name (not title) of the master, and the name of each template in the master ?
Related
In my Jenkins Console logs it says:
Obtained jenkins/some.jenkinsfile from git ssh://mygitserver.myorg.com/my/git/repo.git
so I have to copy / paste / edit to get that repo then click about to the Jenkinsfile in your browser.
When you're doing this multiple times every day it becomes a major headache.
Is there anyway to get a simple clickable link?
I would suggest crafting an output that would then become clickable. i.e. declare the link then specify the file using a variable.
script { println("https://yourRepoUrl.com/jenkins/${downloadFile}) }
Alternatively, you could download the file from within the pipeline. See here for details
I am trying to link or associate an external application url to jenkins job build.
So for every builds, this link or url should be available at the left side and any user can simply click on it to launch the external application.
So far I explored the following plugins for this:
https://wiki.jenkins.io/display/JENKINS/Associated+Files+Plugin - this associates a file or directory to the build , something similar to the html publisher plugin... not a url
https://wiki.jenkins.io/display/JENKINS/DocLinks+Plugin - similar to above , associate a doc from the build artifact directories
https://wiki.jenkins.io/pages/viewpage.action?pageId=52298023 - this Side bar link plugin can associate a external link to the jenkin project, but not to every builds
for me the external link which I am trying to associate to the build , dynamically changes for each build , basically some of the query parameter in the external link, so it's critical to associate it to every builds for tracking and other purposes . ex: the external link will be a like a small web app
http:hostnamexxx:port/somepage?para1=xxx¶2=yyyy
Please let me know if there is any plugin for this specific purpose or any other ideas
This would be the Anchor Chain plugin. I've played around with it a bit:
The docs state that the icon can be omitted. Then however you need to insert a tab character after the URL.
When inserting a link to an icon, it is always relative to Jenkins base URL.
I try to set up a public display on our department floor to present the current status of the Jenkin's maintained projects. Therefore I'm cycling through a session of Jenkins web pages like the Blue Ocean Pipeline overview or the detailed build history of particular pipelines.
Blue Ocean Pipeline Build History
Additionally I would like to show the detailed page of the last build step of a pipeline.
Build details of a pipeline
Unfortunately the url that is been called uses the build number which I don't have on my script side. Is there a way within Blue Ocean to call for the last detailed build page in depended of the build number.
* instead of .../blue/organizations/jenkins/Playground_RTM/detail/Playground_RTM/112/pipeline
* something like that .../blue/organizations/jenkins/Playground_RTM/detail/Playground_RTM/last/pipeline
Any ideas?
I could not find a direct dynamic URL in the blue ocean for the last build.
If somebody is looking for providing a quick access link, they could provide link to activity page for a particular branch in blue ocean.
https://<host-name>/blue/organizations/jenkins/<job-name>/activity?branch=<branch-name>
Or provide the last build page URL for classic Jenkins by using the lastBuild keyword.
I am using jenkins 1.532. I have installed Jenkins environment dashboard plugin. Created dashboard view, then I configured two of the deployment jobs to populate the dashboard with details. However, the dashboard is not displaying the details of the second deployment job. It always displays the details from first job. Has anyone tried using jenkins environment dashboard plugin with various environments and products.
I also tried to delete the dashboard view but Jenkins is not allowing the deletion also.
Can anyone help me as to why the dashboard is not picking details from second job and not allowing me to delete the dashboard view??
I had the same prob. After a bit of digging...
1) to edit (and delete! hurrah!) a Dashboard View just add a configure to the end of the URL to hit the config page
This...
http://myjenkins.local:8080/view/Dashboard1
Becomes this...
http://myjenkins.local:8080/view/Dashboard1/configure
2) the reason there were no left-hand view options in the first place
was because I'd ticked the following when setting up the View
Dashboard Portlets > Full screen view - hide standard Jenkins panels
So, edit the View as in (1) and uncheck that option to get your usual left-hand Jenkins View links back.
I am using the Stash Notifier plugin on jenkins to notify Stash of sucessful builds. When you click on the link for the build (Green tick link) in Stash, it pops up a dialog with a link back to jenkins. The URL it uses to link back to jenkins is wrong. I can't see anywhere to configure it.
Does anyone know where this link can be configured to use the right URL.
Log into jenkins as Admin
Select Jenkins (top left of screen)
From the drop down select 'Manage Jenkins'
Select 'Configure System'
About half way down the page there is a menu Jenkins Location, and under that there is an item 'Jenkins URL'
Add the correct URL
Save and exit