Giter VIP home page Giter VIP logo

Comments (15)

jdall avatar jdall commented on August 16, 2024 8

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.

dsmorse avatar dsmorse commented on August 16, 2024 5

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.

markhu avatar markhu commented on August 16, 2024 4

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.

Mikhael-Danilov avatar Mikhael-Danilov commented on August 16, 2024 1

Same for me

from scm-sync-configuration-plugin.

crossrail-jenkins avatar crossrail-jenkins commented on August 16, 2024

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.

dragon788 avatar dragon788 commented on August 16, 2024

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.

ryanback avatar ryanback commented on August 16, 2024

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.

dragon788 avatar dragon788 commented on August 16, 2024

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.

aodeniyide avatar aodeniyide commented on August 16, 2024

Does anyone have any workarounds for this issue?

from scm-sync-configuration-plugin.

mroelandts avatar mroelandts commented on August 16, 2024

Can we execute the javascript that normally executes in the "click here" in the jenkins script console or something?

from scm-sync-configuration-plugin.

dragon788 avatar dragon788 commented on August 16, 2024

@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.

 avatar commented on August 16, 2024

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.

mroelandts avatar mroelandts commented on August 16, 2024

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.

robertoschwald avatar robertoschwald commented on August 16, 2024

The markup is corrupted, therefore you must enter removeLog() in the js console manually.
Tested in Safari / macOS Mojave.

from scm-sync-configuration-plugin.

dineshviswanath avatar dineshviswanath commented on August 16, 2024

Is there any chance to fix in the near future? other than doing removeLog() in console

from scm-sync-configuration-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.