Comments (15)
To @aodeniyide, @MatthiasRoelandts and others...
There is a quite simple workaround using Chrome and the Developer Tools...
Go to the "Console" tab and enter "removeLog()" at the ">" prompt.
This will purge the log for good!
from scm-sync-configuration-plugin.
The problem gets worse on new versions of Jenkins. It looks like they are now html encoding the text that plugins add to the footer, as a results the hyperlink with a javascript onClick() is displayed in print but admins are unable to click the link, therefore you can not dismiss the GUI, which as stated above takes up progressively more and more space as errors stack up
from scm-sync-configuration-plugin.
Go into Configure system, and scroll down to the SCM Sync configuration section, then uncheck the "Display SCM Sync Status" checkbox.
from scm-sync-configuration-plugin.
Same for me
from scm-sync-configuration-plugin.
Same here, it gets worse if there are errors, as the footer increases with height and covers more of the page.
from scm-sync-configuration-plugin.
This is also a problem when you aren't logged in so you aren't able to dismiss the errors. There should be a hard limit of 5-10 errors shown, for anything beyond that it should be suggested to enable the logger and/or have a dedicated SCM Status page somewhere.
from scm-sync-configuration-plugin.
Can confirm this issue is plaguing us as well. With SCM Sync Status enabled, and with a long list in the log, the user is prevented from logging and therefore cannot clear the log to fix the issue. The workaround I use is to use Chrome developer tools to hide the footer, log in, then clear the log. This realistically makes use of SCM Sync Status completely broken. Any ETA on a fix for this?
from scm-sync-configuration-plugin.
I believe the fix is in the code but they need to create a new release and push it to the Jenkins plugin repository. The build posted previously by another user worked in our environment, and we are looking to build an internal version ourselves just to make sure it's always available for our processes.
from scm-sync-configuration-plugin.
Does anyone have any workarounds for this issue?
from scm-sync-configuration-plugin.
Can we execute the javascript that normally executes in the "click here" in the jenkins script console or something?
from scm-sync-configuration-plugin.
@ryanback has the solution we were using as well before we simply disabled the plugin entirely. We've been moving to config as code and using SCM as a 'backup' rather than as a driver for the changes didn't really make sense to us.
from scm-sync-configuration-plugin.
In Chrome, I was able to right click and hit inspect element. I picked the elements which were huge and hiding them. Until I was able to hide the HTML of scm sync error message, disabled the sync status and applied. ugh! Lucky me!
from scm-sync-configuration-plugin.
If you're using an ad blocker in your browser, you can add this element to the "block list". Now you will never see it anymore, and if you want to see it, just disable adblocker for your jenkins again
from scm-sync-configuration-plugin.
The markup is corrupted, therefore you must enter removeLog() in the js console manually.
Tested in Safari / macOS Mojave.
from scm-sync-configuration-plugin.
Is there any chance to fix in the near future? other than doing removeLog()
in console
from scm-sync-configuration-plugin.
Related Issues (20)
- Support for Perforce
- Configure Git SCM with credentials HOT 13
- Access to GIT Repository broken with Jenkins 2.30 HOT 2
- URL wrongly manipulated
- Active Maintainer HOT 9
- Renaming or Deleting a job doesn't work with SVN HOT 3
- SCM not working HOT 2
- Overwrite main config file while reload from scm HOT 3
- promotion configurations from the Promoted Builds Plugin are not synced
- Questions regarding checkout directory
- Cut a new release HOT 6
- not-a-git-repo
- Manual Synchronization includes dont show up
- One Question Regarding the Plugin HOT 1
- Issue tracking should be in one place only HOT 1
- Strange output in footer HOT 7
- github branch option main
- Hi! Is there anybody?
- SCM sync configuration plugin stopped working for new version of Jenkins 2.332.1 HOT 16
- For anyone still want to use this plugin with Jenkins 2.277 and above HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scm-sync-configuration-plugin.