- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我在 Jenkins 管道中运行 SonarQube(不使用插件,我使用的是容器)。我正在使用来自 docker hub 的 docker image sonarqube,并通过以下方式启动它
docker run -d --name sonarqube -p 9000:9000 sonarqube
mvn sonar:sonar -f /project1/pom.xml -Dsonar.host.url=http://localhost:9000 -Dsonar.projectKey=jenkins_sonarqube -Dsonar.working.directory=/project1/target/sonar -Dsonar.projectBaseDir=/project1 -Dsonar.java.binaries=/project1 -Dsonar.sources=/project1/src -Dsonar.login=admin -Dsonar.password=admin
[ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.2:sonar (default-cli) on project project1: Unable to execute SonarQube: Fail to download libraries from server: INVALID HASH: File /home/user/.sonar/cache/_tmp/fileCache4167880655381045232.tmp was expected to have hash ";color:#e6e6e6}.capitalize{text-transform:capitalize!important}.cursor-not-allowed{cursor:not-allowed!important}.no-select{-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important}.no-outline,.no-outline:focus{outline:0!important}.bg-danger{background-color:#d4333f;color:#fff}.bg-warning{background-color:#ed7d20;color:#fff}.bg-info{background-color:#4b9fd5;color:#fff}.bg-success{background-color:#0a0;color:#fff}.bg-muted{background-color:#f3f3f3;color:inherit}.leak-box{background-color:#fbf3d5;border:1px solid #eae3c7;padding:4px 6px}.shortcut-button{display:inline-block;min-width:24px;height:24px;line-height:21px;padding:0 4px;box-sizing:border-box;border:1px solid #ccc;border-radius:3px;background-image:linear-gradient(180deg,#f5f5f5,#eee);box-shadow:inset 0 1px 0 #fff,0 1px 0 #ccc;color:#777;font-size:11px;text-align:center}.shortcut-button-small{min-width:16px;height:16px;line-height:14px;margin-left:4px;margin-right:4px}.flash{background-color:transparent;transition:all .5s ease}.flash.in{background-color:#fcf8e3}.flash-heavy.in{background-color:#ffe456}.identity-provider{display:inline-block;line-height:14px;padding:2px 5px;border:1px solid rgba(0,0,0,.15);border-radius:3px;box-sizing:border-box;background-color:#236a97;font-size:12px;color:#fff}.spinner{border:2px solid #4b9fd5;border-radius:50%;animation:spin .75s infinite linear}.spinner,.spinner-placeholder{position:relative;vertical-align:middle;width:16px;height:16px}.spinner-placeholder{display:inline-block;visibility:hidden}.spinner:after,.spinner:before{left:-2px;top:-2px;display:none;position:absolute;content:"";width:inherit;height:inherit;border:inherit;border-radius:inherit}.spinner,.spinner:after,.spinner:before{display:inline-block;box-sizing:border-box;border-color:transparent;border-top-color:#4b9fd5;animation-duration:1.2s}.spinner:before{transform:rotate(120deg)}.spinner:after{transform:rotate(240deg)}.spinner-margin{margin:10px}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.global-loading{width:300px;margin:200px auto 0;white-space:nowrap}.global-loading-spinner{vertical-align:middle;width:80px;height:80px}.global-loading-text{display:inline-block;vertical-align:middle;margin-left:30px;font-size:36px;font-weight:300}.ReactModal__Content,.modal{position:fixed;z-index:6001;top:0;left:50%;margin-left:-270px;width:540px;background-color:#fff;opacity:0;transition:all .2s ease}.ReactModal__Content:focus,.modal:focus{outline:0}.ReactModal__Content--after-open,.modal.in{top:15%;opacity:1}.modal-medium{width:800px;margin-left:-400px}.modal-large{width:calc(100% - 40px);max-width:1280px;min-width:1040px;margin-left:0;transform:translateX(-50%)}.ReactModal__Overlay,.modal-overlay{position:fixed;z-index:6000;top:0;bottom:0;left:0;right:0;background-color:rgba(0,0,0,.7);opacity:0;transition:all .2s ease}.ReactModal__Overlay--after-open,.modal-overlay.in{opacity:1}.ReactModal__Body--open,.modal-open{overflow:hidden;margin-right:15px}.modal-container{max-height:70vh;padding:10px;box-sizing:border-box;overflow:auto}.modal-head{padding:0 10px;background-color:#efefef;border-bottom:1px solid #ddd}.modal-head h1,.modal-head h2{line-height:30px;min-height:30px}.modal-body{padding:10px}.modal-simple-head{padding:40px 60px}.modal-simple-head h1{font-size:24px;font-weight:700;line-height:30px}.modal-simple-body{padding:0 60px}.modal-simple-footer{padding:40px 60px}.modal-field,.modal-large-field,.modal-validation-field{clear:both;display:block;padding:5px 0 5px 130px}.modal-large-field{padding:20px 40px}.modal-validation-field{padding:3px 0 3px 130px}.modal-field label,.modal-validation-field label{position:relative;left:-140px;display:block;float:left;width:120px;margin-right:-130px;padding-top:5px;padding-bottom:2px;padding-left:10px;line-height:1;text-align:right;overflow:hidden;text-overflow:ellipsis}.modal-large-field label{display:inline-block;padding-bottom:15px;font-weight:700}.modal-field .note{line-height:24px}.readonly-field{padding-top:5px;margin-left:-5px;line-height:1}.modal-field .Select,.modal-field a.icon-checkbox,.modal-field input,.modal-field select,.modal-field textarea,.modal-large-field .Select,.modal-large-field input,.modal-large-field select,.modal-large-field textarea{margin-right:5px;margin-bottom:10px}.modal-field a.icon-checkbox{height:24px}.modal-field input[type=checkbox],.modal-field input[type=radio],.modal-large-field input[type=checkbox],.modal-large-field input[type=radio]{margin-top:5px;margin-bottom:4px}.modal-field>.icon-checkbox,.modal-large-field>.icon-checkbox{padding-top:6px;padding-right:8px}.modal-field .Select,.modal-field input[type=email],.modal-field input[type=password],.modal-field input[type=text],.modal-field select,.modal-field textarea{width:250px}.modal-field textarea{max-width:250px;min-width:250px;max-height:50vh;min-height:24px}.modal-large-field .Select,.modal-large-field input[type=email],.modal-large-field input[type=password],.modal-large-field input[type=text],.modal-large-field select,.modal-large-field textarea{width:100%}.modal-large-field textarea{max-width:100%;min-width:100%;max-height:50vh;min-height:24px}.modal-validation-field .Select,.modal-validation-field input,.modal-validation-field textarea{margin-right:5px;margin-bottom:2px;width:250px}.modal-validation-field textarea{max-width:250px;min-width:250px;max-height:50vh;min-height:24px}.modal-validation-field .Select:not(.is-invalid),.modal-validation-field input:not(.is-invalid){margin-bottom:18px}.modal-field-description{padding-bottom:4px;line-height:1.4;color:#777;font-size:12px;overflow:hidden;text-overflow:ellipsis}.modal-validation-field .modal-field-description{margin-top:2px}.modal-foot{padding:10px;border-top:1px solid #ccc;background-color:#efefef;text-align:right}.modal-foot .button,.modal-foot button,.modal-foot input[type=button],.modal-foot input[type=submit]{margin-right:10px}.modal-error,.modal-notice,.modal-warning{display:none}.alert{display:block;margin-bottom:8px;padding:5px 8px;border:1px solid #777}.alert:empty{display:none}.modal-alert{margin:-10px -10px 16px;padding:10px;border-top:none;border-left:none;border-right:none}.alert-danger{border-color:#ebccd1;background-color:#f2dede;color:#a94442}.alert-warning{border-color:#faebcc;background-color:#fcf8e3;color:#8a6d3b}.alert-info{border-color:#bce8f1;background-color:#d9edf7;color:#666}.alert-success{border-color:#d6e9c6;background-color:#dff0d8;color:#3c763d}.alert-muted{color:#bbb;border-color:#ddd;background-color:#ebebeb}.alert-big{font-size:14px;padding:10px 16px}.alert-small{font-size:10px;margin-bottom:0;padding:2px 4px}.page-notifs .alert{padding:8px 10px}.page-notifs .alert:last-child{margin-bottom:16px}.issue-list{margin:10px 0}.issue,.issue-list{max-width:980px}body,html{color:#444}body{font-family:Helvetica Neue,Segoe UI,Helvetica,Arial,sans-serif;font-size:13px;line-height:1.23076923}.h1,h1{line-height:24px;color:#444;font-size:16px;font-weight:400}.h1 img,.h1 svg,h1 img,h1 svg{vertical-align:middle;transform:translateY(-1px)}.h2,h2{line-height:24px;color:#444;font-size:15px;font-weight:400}.h2 img,.h2 svg,h2 img,h2 svg{vertical-align:middle;transform:translateY(-1px)}.h3,h3{line-height:24px;color:#444;font-size:14px;font-weight:600}.h3 img,.h3 svg,h3 img,h3 svg{vertical-align:middle;transform:translateY(-1px)}.h4,h4{line-height:24px;color:#444;font-size:13px;font-weight:600}.h4 img,.h4 svg,h4 img,h4 svg{vertical-align:middle;transform:translateY(-1px)}.h5,h5{line-height:24px;color:#444;font-size:13px;font-weight:600}.h5 img,.h5 svg,h5 img,h5 svg{vertical-align:middle;transform:translateY(-1px)}.h6,h6{line-height:24px;color:#444;font-size:13px;font-weight:600}.h6 img,.h6 svg,h6 img,h6 svg{vertical-align:middle;transform:translateY(-1px)}sup{vertical-align:text-top}sub{vertical-align:text-bottom}em{font-style:italic}strong{font-weight:600}mark{background:0 0;color:#444;font-weight:700}.emphasised-measure{font-size:24px;font-weight:300}blockquote{border-left:3px solid #e6e6e6;padding:0 8px;line-height:1.5}blockquote cite{line-height:1.5;color:#777;font-size:12px}.small,small{font-size:92.30769231%}.big{font-size:123.07692308%}.zero-font-size{font-size:0!important}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.text-justify{text-align:justify}.text-top{vertical-align:top!important}.text-middle{vertical-align:middle!important}.text-bottom{vertical-align:bottom!important}.text-text-top{vertical-align:text-top!important}.text-text-bottom{vertical-align:text-bottom!important}.text-baseline{vertical-align:baseline!important}.text-ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-limited-small{max-width:8vw}.text-limited,.text-limited-small{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-limited{max-width:16vw}.text-uppercase{text-transform:uppercase}.text-lowercase{text-transform:lowercase}.text-no-transform{text-transform:none}.text-normal{font-weight:400}.text-muted{color:#777}.text-muted-2{color:#b4b4b4}.text-danger{color:#d4333f}.text-warning{color:#ed7d20}.text-info{color:#4b9fd5}.text-success{color:#0a0}.monospaced{line-height:18px;font-family:Consolas,Liberation Mono,Menlo,Courier,monospace;font-size:12px}.menu{min-width:160px;padding:5px 0;list-style:none;font-size:12px;text-align:left;background-color:#fff;background-clip:padding-box}.menu:focus{outline:0}.menu.is-container{padding:5px}.menu-item,.menu>li>a,.menu>li>span{display:block;padding:4px 16px;line-height:16px;clear:both;font-weight:400;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.menu>li>a{color:#444;border-bottom:none;transition:none}.menu>li>a.rich-item{display:flex;align-items:center;border:1px solid #cdcdcd;border-radius:4px;margin:4px 10px;padding:2px 8px;white-space:normal}.menu .divider{height:1px;margin:6px 0;overflow:hidden;background-color:#e6e6e6}.menu>li>a.disabled{color:#bbb!important;cursor:not-allowed!important;pointer-events:none!important}.menu>li>a.text-muted{color:#777}.menu>li>a:focus,.menu>li>a:hover{text-decoration:none;color:#444;background-color:#f3f3f3}.menu>.active>a,.menu>.active>a:focus,.menu>.active>a:hover,.menu>li>.active,.menu>li>.active:focus,.menu>li>.active:hover{color:#444;text-decoration:none;outline:0;background-color:#f3f3f3}.menu>li>a.text-danger,.menu>li>a.text-danger:hover{color:#d4333f!important}.menu .menu-vertically-limited,.menu.menu-vertically-limited{max-height:300px;overflow-y:auto}.menu-vertically-limited.with-top-separator{border-top:1px solid #e6e6e6}.menu-vertically-limited.with-bottom-separator{border-bottom:1px solid #e6e6e6}.menu .menu-footer>a>span{border-bottom:1px solid #cdcdcd;color:#777}.menu .menu-footer-note{opacity:0;transition:opacity .3s ease}.menu .menu-footer.active .menu-footer-note{opacity:1}.menu-search{position:relative;padding:8px 16px 0}.menu-search .search-box,.menu-search .search-box-input{max-width:none;min-width:240px}.menu-search~.menu>li>a:focus,.menu-search~.menu>li>a:hover{background-color:transparent}.menu-search~.menu>.active>a,.menu-search~.menu>.active>a:focus,.menu-search~.menu>.active>a:hover,.menu-search~.menu>li>.active,.menu-search~.menu>li>.active:focus,.menu-search~.menu>li>.active:hover{background-color:#f3f3f3}.menu-message{display:block;padding:4px 16px;line-height:16px}.menu-header{padding:8px;font-size:12px;color:#777;white-space:nowrap}.divider+.menu-header,.menu-header:first-child{padding-top:3px}.white-page{background-color:#fff!important}.global-container{display:flex;flex-direction:column;height:100%;min-height:100vh}.page{position:relative;z-index:2;padding:10px 20px}.page:after,.page:before{display:table;content:"";line-height:0}.page:after{clear:both}.page-limited{max-width:1280px;margin-left:auto;margin-right:auto;padding-top:20px;padding-bottom:20px}.page-container{min-width:1080px}.page-wrapper{box-sizing:border-box;flex:1 0 auto}.page-wrapper-simple{display:flex;justify-content:center;align-items:center;margin:100px 0}.page-simple{width:400px;padding:40px;border:1px solid #e6e6e6;background-color:#fff}.page-header{position:relative;margin-bottom:20px}.page-header:after,.page-header:before{display:table;content:"";line-height:0}.page-header:after{clear:both}.page-header .spinner{position:relative;top:3px;margin-left:8px}.page-title{float:left;margin-bottom:0;line-height:24px}.page-actions{float:right;margin-bottom:10px;margin-left:10px;line-height:24px}.page-actions .badge{margin:3px 0}.page-actions .spinner{top:0!important}.page-description{float:left;clear:left;max-width:800px;line-height:1.5;margin-top:6px}.page-footer{min-height:60px;padding:10px;line-height:1.5;border-top:1px solid #e6e6e6;box-sizing:border-box;background-color:#f3f3f3;color:#595959;font-size:12px;text-align:center}.page-footer a{border-bottom:1px solid #d0d0d0;color:#444}.page-footer a:active,.page-footer a:focus,.page-footer a:hover{border-bottom-color:#cae3f2;color:#4b9fd5}.page-footer-with-sidebar{padding-left:calc(50vw - 360px)!important}.page-footer-with-sidebar .page-footer-menu,.page-footer-with-sidebar div{max-width:980px}.page-footer-menu-item{display:inline-block}.page-footer-menu-item+.page-footer-menu-item:before{content:"-";padding:0 4px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.page-with-sidebar{display:flex}.page-main{flex-grow:1}.page-sidebar{width:30%}.page-sidebar,.page-sidebar-fixed{min-width:300px;flex-shrink:0;padding-left:40px;box-sizing:border-box}.page-sidebar-fixed{width:300px}.page-sidebar-sticky{width:320px!important;padding-right:0}.page-limited .page-sidebar-sticky{margin:-20px 0 -20px -20px;padding-right:0!important}.page-limited .page-sidebar-sticky .page-sidebar-sticky-inner{padding:20px 0}.page-sidebar-sticky .page-sidebar-sticky-inner{position:fixed;z-index:10;top:30px;bottom:0;left:0;overflow:auto;width:calc(50vw - 357px);border-right:1px solid #e6e6e6;box-sizing:border-box;background:#f3f3f3}@media (max-width:1335px){.page-sidebar-sticky .page-sidebar-sticky-inner{width:310px}}.layout-page{display:flex;align-items:stretch;width:100%;flex-grow:1}.layout-page-filters{width:260px;padding:20px}.layout-page-main{flex-grow:1;min-width:740px;padding:20px;z-index:50}.layout-page-main-inner{position:relative;z-index:2;min-width:740px;max-width:980px}.layout-page-side-outer{flex-grow:0;flex-shrink:0}.layout-page-side,.layout-page-side-outer{width:calc(50vw - 370px);background-color:#f3f3f3}.layout-page-side{position:fixed;z-index:40;top:30px;bottom:0;left:0;border-right:1px solid #e6e6e6;overflow-y:auto;overflow-x:hidden}.layout-page-side-inner{width:300px;margin-left:calc(50vw - 670px);background-color:#f3f3f3}.layout-page-header-panel,.layout-page-header-panel-inner{height:56px;box-sizing:border-box}.layout-page-header-panel{margin-top:-20px}.layout-page-header-panel-inner{position:fixed;z-index:30;line-height:24px;padding-top:16px;padding-bottom:16px;border-bottom:1px solid #e6e6e6;background-color:#f3f3f3}.layout-page-main-header{position:relative;z-index:3;margin-bottom:20px}.layout-page-main-header .component-name{line-height:24px}.layout-page-main-header-inner{left:calc(50vw - 369px);right:0;padding-left:20px;padding-right:20px}@media (max-width:1320px){.layout-page-side,.layout-page-side-outer{width:300px}.layout-page-side-inner{margin-left:0}.layout-page-main-header-inner{left:301px}.page-footer-with-sidebar{padding-left:310px!important}}.component-name{line-height:16px;font-size:12px}.component-name:after,.component-name:before{display:table;content:"";line-height:0}.component-name:after{clear:both}.component-name-parent{float:left;margin-right:20px}.component-name-parent:last-child{margin-right:0}.component-name-path{float:left;clear:left}.component-name-parent+.component-name-path{margin-top:4px}.component-name-favorite{position:relative;top:-1px;margin-left:4px;padding:2px 0}.line-chart-legend{color:#4b9fd5}.line-chart-legend.line-chart-legend-1{color:#236a97}.line-chart-legend.line-chart-legend-2{color:#24c6e0}.list-group{margin-bottom:20px;padding-left:0}.list-group-item{position:relative;z-index:2;display:block;margin-bottom:-1px;padding:5px 10px;border:1px solid transparent}.list-group-item:last-child{margin-bottom:0}.list-group-item.active,.list-group-item.active:focus,.list-group-item.active:hover{z-index:3;border-color:#4b9fd5!important;background-color:#cae3f2}.list-group-item:hover{z-index:3;border-color:#4b9fd5!important}.list-group-item+.list-group-item{border-top-color:#e6e6e6}a.list-group-item{color:#444;transition:none}.list-group-item-heading{margin-top:5px;margin-bottom:5px}.list-group-item-heading:after{content:"";display:table;clear:both}.panel{padding:10px}.panel:not(:last-child){border-bottom:1px solid #e6e6e6}.panel-vertical{padding-left:0;padding-right:0}.panel-white{border:1px solid #e6e6e6;background-color:#fff}.panel-warning{border:1px solid #faebcc;background-color:#fcf8e3;color:#8a6d3b}.badge{display:inline-block;vertical-align:middle;height:20px;line-height:19px;padding:0 8px;border-radius:2px;font-size:12px;min-width:10px;letter-spacing:.03em;color:#fff;white-space:nowrap;text-align:center;background-color:#4b9fd5}.badge:empty{display:none}a.badge:active,a.badge:focus,a.badge:hover{color:#fff}a.badge{border-bottom:none}.badge.is-rounded{padding-left:5px;padding-right:5px;border-radius:50px}.badge-medium{height:24px;line-height:24px;letter-spacing:.01em}.list-group-item-heading>.badge,.list-group-item>.badge{float:right;margin:3px}.list-group-item-heading>.badge+.badge,.list-group-item>.badge+.badge{margin-right:5px}.badge-normal-size{font-size:inherit;letter-spacing:inherit}.badge-tiny-height{height:16px!important;line-height:15px!important}.badge-muted{background-color:transparent;color:#777}.badge-muted:active,.badge-muted:focus,.badge-muted:hover{color:#4b9fd5}.badge-ok,.badge-success{background-color:#0a0}.badge-warn,.badge-warning{background-color:#ed7d20}.badge-danger,.badge-error{background-color:#d4333f}.badge-danger-light{border:1px solid #ebccd1!important;border-radius:3px;background-color:#f2dede;color:#a94442}a.badge-danger-light:active,a.badge-danger-light:focus,a.badge-danger-light:hover{color:#a94442}.badge-focus{border:1px solid #faebcc;border-radius:3px;background-color:#fcf8e3;font-weight:400}.badge-focus,a.badge-focus:active,a.badge-focus:focus,a.badge-focus:hover{color:#8a6d3b}.badge-secondary{background-color:#b4b4b4}.outline-badge{display:inline-block;vertical-align:middle;height:20px;line-height:19px;padding:0 8px;border:1px solid #cdcdcd;border-radius:2px;box-sizing:border-box;color:#777;font-size:12px;font-weight:400;white-space:nowrap}.outline-badge.active{color:#444;border-color:#4b9fd5;background-color:#cae3f2}.outline-badge.badge-info{border-color:#4b9fd5}.outline-badge.badge-icon{padding-left:4px}.outline-badge.badge-icon svg{height:18px}.columns{margin-left:-10px;margin-right:-10px;overflow:hidden}.columns:after,.columns:before{display:table;content:"";line-height:0}.columns:after{clear:both}.column-half{float:left;width:50%;padding:0 10px;box-sizing:border-box}.column-half.column-one{margin:0 25%}.flex-columns{display:flex}.flex-column+.flex-column{margin-left:20px}.flex-column-half{width:50%}.flex-column-third{width:33.33333%}.boxed-group{margin-bottom:20px;border:1px solid #e6e6e6;border-radius:2px;background-color:#fff}.boxed-group>h2{line-height:24px;padding:16px 20px 0}.boxed-group hr{height:0;border-top:1px solid #efefef;margin:16px -20px}.boxed-group-header{position:relative;z-index:10;padding:16px 20px 0}.boxed-group-header>h2{display:inline-block;vertical-align:middle;line-height:24px}.boxed-group-actions{position:relative;z-index:12;float:right;margin-top:16px;margin-right:20px}.boxed-group-inner{padding:16px 20px}.boxed-group-inner:empty{padding-top:0}.boxed-group-list{margin-top:-8px;margin-bottom:-8px}.boxed-group-list>li{margin-left:-20px;margin-right:-20px;padding:8px 20px}.boxed-group-accordion{margin-bottom:8px;transition:border-color .3s ease}.boxed-group-accordion:not(.no-hover):hover{border-color:#4b9fd5}.boxed-group-accordion:not(.no-hover):hover .boxed-group-accordion-title{color:#4b9fd5}.boxed-group-accordion .boxed-group-header{cursor:pointer;padding-bottom:16px}.boxed-group-accordion .boxed-group-header>.alert{display:inline-block;margin-bottom:-6px;margin-top:-6px}.boxed-group-accordion .boxed-group-inner{padding-top:0}.boxed-group-accordion-title{font-weight:700;transition:color .3s ease}.tabs{height:20px;border-bottom:1px solid #ddd;font-size:93%}.tabs,.tabs li{margin:0;padding:0}.tabs li{display:inline;list-style-type:none;font-weight:400;color:#777;vertical-align:baseline;white-space:nowrap;border:0}.tabs li a{float:left;color:#777;vertical-align:bottom;height:17px;margin:0 1px 0 0;padding:1px 5px;border-bottom:none;transition:none}.tabs li a.selected{text-decoration:none;color:#555!important;font-weight:700;margin:0 1px 0 0}.markdown-tips{font-size:12px;color:#777}.markdown,.rule-desc{line-height:1.5}.markdown.cut-margins>:first-child{margin-top:0!important}.markdown.cut-margins>:last-child{margin-bottom:0!important}.markdown blockquote,.markdown h2,.markdown h3,.markdown h4,.markdown h5,.markdown h6,.markdown ol,.markdown p,.markdown pre,.markdown table,.markdown ul,.rule-desc blockquote,.rule-desc h2,.rule-desc h3,.rule-desc h4,.rule-desc h5,.rule-desc h6,.rule-desc ol,.rule-desc p,.rule-desc pre,.rule-desc table,.rule-desc ul{margin:1em 0}.markdown h2,.rule-desc h2{font-size:16px;font-weight:400}.markdown h3,.markdown h4,.markdown h5,.markdown h6,.rule-desc h3,.rule-desc h4,.rule-desc h5,.rule-desc h6{font-size:13px;font-weight:600}.markdown code,.markdown pre,.rule-desc code,.rule-desc pre{font-family:Consolas,Liberation Mono,Menlo,Courier,monospace;font-size:12px}.markdown pre,.rule-desc pre{padding:10px;border-top:1px solid #e6e6e6;border-bottom:1px solid #e6e6e6;line-height:18px;overflow:auto}.markdown code,.rule-desc code{padding:.2em .45em;margin:0;background-color:rgba(0,0,0,.06);border-radius:3px;white-space:nowrap}.markdown pre>code,.rule-desc pre>code{padding:0;background-color:transparent;white-space:pre}.markdown blockquote,.rule-desc blockquote{line-height:1.5;padding-left:15px;padding-right:15px}.markdown ul,.rule-desc ul{padding-left:40px;list-style:disc}.markdown li>ul,.rule-desc li>ul{margin:.3em 0}.markdown ol,.rule-desc ol{padding-left:40px;list-style:decimal}.markdown table,.rule-desc table{min-width:50%;border-collapse:collapse;border:1px solid #e6e6e6}.markdown th,.rule-desc th{background-color:#f3f3f3;font-weight:600;text-align:center}.markdown td,.markdown th,.rule-desc td,.rule-desc th{padding:5px 10px;border:1px solid #e6e6e6}.property p{margin-top:10px}.coding-rules-detail-parameter pre,.property pre{display:inline-block;min-width:100%;margin:10px 0!important;padding:10px!important;border:1px dashed #aaa;box-sizing:border-box;font-size:12px;font-family:Consolas,Liberation Mono,Menlo,Courier,monospace}.coding-rules-detail-parameter blockquote,.property blockquote{margin-top:10px;padding:10px}.property ul{list-style-type:disc}.property ol,.property ul{list-style-position:inside;margin:10px}.property ol{list-style-type:decimal}.width100{width:100%}textarea.width100{width:100%;box-sizing:border-box}.property{margin-bottom:10px}.property h3{float:none;max-width:20em}.property>td,.property>th{vertical-align:top;padding:10px}.property>th{text-align:right}.property table.data{width:480px}.property textarea{vertical-align:text-top}.property .note{margin-top:5px}@media print{.noprint{display:none!important}a{color:#444;border-bottom:none}.page-footer{display:none!important}body,html{background-color:#fff!important}.widget tfoot,.widget thead{display:table-row-group}}.code .a{color:olive}.code .c{color:#660e80;font-style:normal;font-weight:700}.code .j{color:#666;font-style:normal}.code .cd,.code .cppd{color:#666;font-style:italic}.code .k{color:#0071ba;font-weight:600}.code .s{color:#277b31;font-weight:400}.code .h{color:navy;font-weight:400}.code .p{color:#347235;font-weight:400}.sym{cursor:hand;cursor:pointer}.highlighted{background-color:#b3d4ff;animation:highlightedFadeIn .3s forwards}@keyframes highlightedFadeIn{0%{background-color:transparent}to{background-color:#b3d4ff}}.clearfix:after,.clearfix:before{display:table;content:"";line-height:0}.clearfix:after{clear:both}.dropdown{position:relative;display:inline-block;vertical-align:middle}.dropdown-bottom-hint{line-height:16px;margin-bottom:-5px;padding:5px 10px;border-top:1px solid #e6e6e6;background-color:#f3f3f3;color:#777;font-size:11px}</style></head><body><div id="content"><div class="global-loading"><i class="spinner global-loading-spinner"></i> <span class="global-loading-text">Loading...</span></div></div><script>window.baseUrl = ''; but was downloaded with hash cafb3aea4e5e50a93e31d7df29d26b12 -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.2:sonar (default-cli) on project project1: Unable to execute SonarQube
最佳答案
这是一个时间问题。我将管道设置为 sleep 60 秒并且它工作。
关于docker - 仅当我在管道中运行 sonarqube 容器时,才在 Jenkins 管道中运行 SonarQube 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54116908/
我找到了 Using SonarQube in Eclipse 并将提出一个针对 Python 的单独问题。但在这里我想更一般地询问如何在提交之前处理单个源文件时,如何使用 SonarQube 作为
我们之前在现已关闭的 SonarQube Users mailing list 上讨论过这个问题. 通过优化Postgre DB换了半周左右问题解决,然后又出现问题。 我们正在使用 Jenkins 1
自从更新到5.x以来,由于“权限不足”问题,我们的许多构建作业现在都失败了。如here中所述,应该在SonarQube 5.1中解决该问题,但实际上它没有得到解决,或者存在另一个与我们当前运行Sona
我已经有一段时间没有看过 SonarQube 了。最新版本看起来很有趣。 上次我查看这个产品时,他们有一个网站,他们通过 SonarQube 进程推送了各种流行的开源库(如 Tomcat、Active
在 SonarQube (5.6.4 LTS) 中有一个后台(项目分析)任务可视化的 View :(管理/项目/后台任务)。似乎任务是按顺序运行的(一次一个)。有些任务可能需要 40 分钟,这意味着其
今天我正在用 mysqldump 备份 MySQL,但我不确定是否需要从/opt/sonar 保存一些文件。请你能帮我一些指示吗? 除了 MySQL,我还需要在 Sonar 中备份什么? 最佳答案 我
我们希望每个用户都能收到一封关于他们在此分析中引入的新问题的电子邮件。 我在这里找到了这个请求,说它应该已经成为可能: http://jira.sonarsource.com/browse/SONAR
是否可以从一个项目导出代码覆盖率和 sonarqube 问题的排除项并导入到其他项目? 最佳答案 排除项是项目属性,因此您可以使用 /api/properties Web 服务自动从一个项目获取这些属
当 Sonar 抛出一个特定的编码规则违规时,开发人员(或就此而言任何授权用户)如何忽略它?假设弹出一条规则“不遵循文件命名约定”,有没有办法可以将其声明为误报并单击某个按钮以确保不会显示该编码规则违
我希望更改规则“左花括号应位于代码行的末尾”,因为我们使用了不同的约定。 提前致谢! 最佳答案 由于 Sonarqube 打算在规则上提供尽可能少的配置:您应该使用 key squid:LeftCur
我正在寻找一种在 SonarQube 中组织项目的方法,并发现我必须为此付费:http://www.sonarqube.org/bring-a-new-dimension-to-sonar-with-
SonarQube Server 5.1.2, Sonar-Runner 2.4 正如 Multi-moduleProject 中提供的那样我创建了一个项目结构 Accounts | ->invoic
在 SonarQube 的 Web UI 中,您可以根据多个条件过滤问题。但似乎没有一个是可以否定的。 我喜欢找出所有关键问题,即 不是 规则xyz。我目前从 Web UI 中只能看到选择我喜欢看的东
我已经设置了一个 jenkins-sonarqube-github 集成工作流程,其中 git 存储库中的拉取请求会触发一个 webhook,该 webhook 会启动一个 jenkins 作业,该作
有没有人设法让 SonarQube 与 Upsource 合作?我已经为 SonarQube 下载了 upsource-sonar-plugin-0.1-SNAPSHOT.jar 插件,并在我通过/s
我正在使用JaCoCo进行代码覆盖。单元测试报告是使用junit创建的,并且已正确导入,因此可以正确显示单元测试信息。 问题是,我收到错误消息: 没有有关每次测试的覆盖率的信息。 ,代码覆盖率显示单元
我有一个 Sonarcloud 帐户,我正在尝试使用 SonarQube.Scanner.MSBuild.exe 分析 Visual Studio 解决方案。我创建了一个 token 并将其作为 So
似乎有最新版本的新规则可用。 我有几个问题报告为“应正确使用 Printf 样式的格式字符串 (squid:S3457)” 我不明白 my case 中的描述和错误是什么: LOGGER.info("
这个问题我看了很多帖子,但是没找到答案所以才问。我将 Sonarqube 从 4.5 升级到 5.6,它工作正常,但质量配置文件是空的。我尝试使用备份/恢复选项恢复一个,但规则被忽略: image .
我实现了 SonarQube在服务器上,我做了大部分配置 远程 .因此,无论何时安装插件,都会重新启动 SonarQube是必需的,每次我都必须显式(手动)重启 SonarQube服务器 . 有没有办
我是一名优秀的程序员,十分优秀!