I have installed the blue ocean dashboard plugin in jenkins. After execution of tests from jenkins and reports are generated in open blue ocean. But the time duration of test showing different in classic ui and in open blue ocean dashboard. what could be the reason.
Related
I've used Jenkins a bit here and there but this is my first time to create a pipeline in Jenkins. What is the preferred tool these days for creating a new Jenkins pipeline? Here's the main Jenkins docs page for pipelines:
https://www.jenkins.io/doc/book/pipeline/
The url states:
get started with Pipeline - covers how to define a Jenkins Pipeline
(i.e. your Pipeline) through Blue Ocean, through the classic UI or in
SCM
I viewed the Jenkins Blue Ocean docs page and it has this info towards the top of the page:
Blue Ocean status Blue Ocean will not receive further functionality
updates. Blue Ocean will continue to provide easy-to-use Pipeline
visualization, but it will not be enhanced further. It will only
receive selective updates for significant security issues or
functional defects.
That passage gives me the impression that Blue Ocean may be in a somewhat deprecated state as the tool for creating new pipelines in Jenkins. Is that the case? What is the preferred tool these days for Jenkins admins to create a new pipeline in Jenkins?
You should avoid using Blueocean as it's not going to receive any updates from Cloudbees.
Having said that, Jenkins Pipeline has a declarative syntax. So it doesn't really matter how you create it as long as you adhere to the correct syntax. The correct question you should be asking is where to store your Pipeline. Basically, you can embed the Pipeline in the Jenkins Job itself, or read the Pipeline from an SCM or you can add your pipeline as a shared library.
I have configured two jobs on jenkins server. One for creating package and second for deploying package to respective server. And promoted build from first job to second job. Facing issue on upgradtion of jenkins from 2.320 to 2.344. Sometimes promotion status not showing input field for deploy job. I'm attaching images for reference.
Sometime getting following UI on promotion status
Should show everytime:
When i am building the web application using jenkins, during the time it is building the production site will be down. Instead of no message at all is it possible to show a custom message such as "Will be back in less than 5 minutes". I appreciate any guide. Thanks!
I would be better to use a blue-green deployment approach with Jenkins instead of having your grails site down during the build.
That way, you have two identical environments configured exactly the same way. While one environment is active and serving end users, the other environment remains idle.
You deploy to the blue environment and test there.
Then you switch, deploy on the green one and go live. The downtime is then minimal.
See grails-samples/grails-website as an example.
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.
Jenkins 1.573 / 1.628 or latest version.
Build Pipeline plugin : 1.4.8 (latest)
Till last week everything was OK, today I'm seeing that when I click on the first job in the Build Pipeline dashboard view (to run a process), it used to prompt parameters but not anymore. It's giving me a BLANK white modal window / popup page and there are no input parameters visible.
Any idea! what I may be missing.
http://s000.tinyupload.com/download.php?file_id=03793493629898722609&t=0379349362989872260930671
I had a similar issue, but solution was different. In my Jenkins configuration, the Jenkins URL was not set correctly - it was a http address, whereas my Jenkins was set up with TLS. So make sure that Manage Jenkins - Configure System - Jenkins URL is set correctly.
Finally found the issue.
The issue is either with the Build Pipeline plugin (not using / compatible with Chrome browser) OR it's a Chrome browser issue.
I somehow had Chrome session opened the other day and when I click on "Run" (top section) to start the pipeline / job run, it shows me a BLANK modal window and doesn't show me any parameters.
Version 46.0.2490.86 m
Google Chrome is up to date.
While the same is working in IE or Firefox (I have the latest versions). I guess, I'll use FF/IE for now.