Jenkins apply button pops up blank error page - jenkins

I was using Jenkins for a while and everything was working perfectly fine. But two or three days back i need to change some configuration for one of my project and when i hit apply button after performing those change. This error screen appears. Even i don't change anything and click apply button same error screen pops up.
I am currently using Jenkins version 2.265
this error occur when i hit this button

I downgrade jenkins to version 2.263 and everything starts working fine. So i think this issue is specific to Jenkins version 2.265

I had the same issue and it was caused by the now deprecated Coverity plugin. I would suggest you to check your deprecated plugins that add a section/options in the configuration and remove them.

I had same issue, it was because of "dark mode extension" on google chrome. It was ok on firefox, but chrome not. I suggest to disable dark mode extension on chrome when using jenkins.

Related

Post Jenkins upgrade dont get jobs drop down menu from Dashboard

I have upgraded Jenkins from 1.639 to 2.60 by replacing the WAR file on the windows server.
However following this, on the jenkins job view i no longer get the drop down menu for some of the jobs
In some cases I can get the drop down menu from the All jobs view but not another specific view tab. But in other cases the drop down menu does not appear on the All view or any other tab the job is on. In all cases this worked prior to upgrade.
This does not seem to be related to thee manage of old data or for how recent a job has been run.
Transpires it was a browser compatibility issue. I had been using Chrome 21 but when I swapped and used IE 11 the drop down menus were consistently available on the upgraded 2.60 versions

Where is the Blue Ocean pipeline editor?

Where is the pipeline editor located within the Blue Ocean Jenkins plugin?
I can see my pipeline jobs, and when clicking into these I cant see any links\buttons that take me to the editor.
I'm sure in previous beta releases I could get to it, but now since the official release has been launched which I am now using, I cannot find it.
Anyone know where it's hiding?
Use following url to open the pipeline editor:
http://<host>:<port>/jenkins/blue/organizations/jenkins/pipeline-editor/
In addition to Prashant Kajale's answer, you can edit a specific item with
[Url of Jenkins]/blue/organizations/jenkins/pipeline-editor/[item-name]
Edit: According to the issue tracker, saving doesn't work with none-github repositories. You have to go to [Url of Jenkins]/blue/organizations/jenkins/pipeline-editor/ and open the load/save dialog with Ctrl+S, paste you Jenkinsfile (if you have one yet), edit it, and then save it manually by using Ctrl+S and copy.
It is hidden and does not show up until you hover over. I suppose simply a bad UI
design.
Open Blue Ocean from a job.
Select a branch from Branches.
Hover over to the right and buttons will show up.
Select "Edit" and the editor will open.
There is an open bug where the editor links do not display when the job is moved to a folder.
https://issues.jenkins-ci.org/browse/JENKINS-46441
There is two possible reasons why the pipeline editor button isn't showing, either you're not logged in as a user or you're pipeline project is not into github repository.
Blue ocean doesn't support yet generating pipelines with blueocean-pipeline-editor-plugin when your SCM is bitbucket or gitlab or any other git tool.
The good news is that we will have editor support for Bitbucket and plain Git (which will include Gitlab) in our 1.3 release soon.
You can find more details about this issue here
In the Blue Ocean pipeline view, there's a pencil icon on the upper right that lets you edit. So if you click an entry under the Activity tab, if you click any run of the job it will take you to this (green indicates a successful run):
An example URL for a pipeline named my-pipeline would be:
http://localhost:8080/blue/organizations/jenkins/my-pipeline/detail/jenkins/1/pipeline
After installing Jenkins (either for Windows or Linux), you will need to install the plugin for Blue Ocean:
https://www.jenkins.io/doc/book/blueocean/getting-started/
How To Use Blue Ocean and edit an existing pipeline
After installing Blue Ocean and creating a small pipeline, you should be able to see this context menu:
Then, you will see your pipeline in a new "dashboard". Click on the row for the pipeline you need to work on:
You will get another "dashboard" looking screen. Editing is done from the configuration button (the gear icon) on the top menu:
This will take you to the Classic UI look, click on the Pipeline tab:
This is a complicated UI that either is designed to dissuade you not to use it or is in a desperate need for a redesign, in my opinion.

Can't find pipeline editor anymore

I have the Blue ocean beta plugin installed and cannot find the pipeline editor. Where should it be? I have the latest version of the plugin installed, I'm sure it used to be an obvious button you could click on when going to the blue ocean view, but it's not there for me anymore.
I encountered the same problem and posted a question in the Cloudbees Community. One of the Cloudbees engineers responded with this:
"At the moment you can only edit Pipelines that have been created through the "New Pipeline" flow.
However, we are going to restore a general link to access the editor as part of our "Pipeline Playgrounds" work. You can follow progress by logging in to Jenkins JIRA and watching JENKINS-43118."
In the JENKINS-43118 JIRA ticket, there is a comment that says
"We want to restore the link to the "Pipeline Playground" mode of the editor in a less obtrusive place.
This was lost as the editor and creation was merged together"
So, essentially I think this was a regression.
Another comment in the ticket mentions that the editor can still be invoked with a URL like "http://localhost:8080/jenkins/blue/organizations/jenkins/pipeline-editor/". ( I think you would insert the project name for the second "jenkins"). And then, supposedly, you can use keyboard shortcuts like Ctrl/Cmd-S to do the Save since the button isn't there anymore. I tried this, but things still appear to be broken, so I think we're out of luck until this JIRA issue is resolved. Too bad.

Jenkins screen Reload error

I am using Jenkins for Code analysis. My problem is when I am building project using option "built now". It is not showing me process status. I have to reload page every time I click on any place. In project built, if I am clicking on console output then even in console output is not showing until I am reload browser page. When I started initial I haven't faced this problem. Problem started after project built count is above 50. As I am building daily I am facing this problem after 50 days.
Details :
**
jenkins 1.617
sonarcube 5.1.1
sonar runner 2.4
**
There is an option to enable auto refresh in jenkins - hope that helps

Xcode rebuild on changes`

How can I make Xcode automatically build when I save changes to a file?
I may have to stop developing for apple if I need to hit that stupid play button/ reach for a mouse one more time.
I am so desperate that I have even considered using Java.robots to click the screen for me on git commits
Look at Jenkins - This does exactly what you want. It's a bit of a faff to get it set up the first time, but it will save you hours in the long term.
You can build without running by hitting (CMD+B) by default. The default behavior of the IDE is to save modified files upon build, so if you just want to save and build all the time, just hit build, and it will do both for you.
You can even modify the shortcut key for build to be cmd+s if you really want to by opening up XCode preferences (Cmd+, by default, or going to the "XCode" menu in the top left and selecting preferences), and go to the keybindings section and change the "Build" action keybinding to be cmd+s

Resources