[JIRA] (JENKINS-50148) Unable to edit pipeline in blueocean when Jenkinsfile contains "withSonarQubeEnv"
Title: Message Title Vivek Pandey assigned an issue to Andrew Bayer Jenkins / JENKINS-50148 Unable to edit pipeline in blueocean when Jenkinsfile contains "withSonarQubeEnv" Change By: Vivek Pandey Assignee: Keith Zantow Andrew Bayer Add Comment This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50148) Unable to edit pipeline in blueocean when Jenkinsfile contains "withSonarQubeEnv"
Title: Message Title Vivek Pandey updated JENKINS-50148 Jenkins / JENKINS-50148 Unable to edit pipeline in blueocean when Jenkinsfile contains "withSonarQubeEnv" Change By: Vivek Pandey Status: In Review Resolved Resolution: Fixed Add Comment This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50148) Unable to edit pipeline in blueocean when Jenkinsfile contains "withSonarQubeEnv"
Title: Message Title Vivek Pandey updated JENKINS-50148 Jenkins / JENKINS-50148 Unable to edit pipeline in blueocean when Jenkinsfile contains "withSonarQubeEnv" Change By: Vivek Pandey Status: In Progress Review Add Comment This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50148) Unable to edit pipeline in blueocean when Jenkinsfile contains "withSonarQubeEnv"
Title: Message Title Keith Zantow commented on JENKINS-50148 Re: Unable to edit pipeline in blueocean when Jenkinsfile contains "withSonarQubeEnv" There's some front end stuff to be fixed, here. I almost have a working fix, will update this ticket shortly when ready Add Comment This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50148) Unable to edit pipeline in blueocean when Jenkinsfile contains "withSonarQubeEnv"
Title: Message Title Keith Zantow stopped work on JENKINS-50148 Change By: Keith Zantow Status: In Progress Open Add Comment This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50148) Unable to edit pipeline in blueocean when Jenkinsfile contains "withSonarQubeEnv"
Title: Message Title Keith Zantow started work on JENKINS-50148 Change By: Keith Zantow Status: Open In Progress Add Comment This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50148) Unable to edit pipeline in blueocean when Jenkinsfile contains "withSonarQubeEnv"
Title: Message Title Keith Zantow updated JENKINS-50148 Jenkins / JENKINS-50148 Unable to edit pipeline in blueocean when Jenkinsfile contains "withSonarQubeEnv" Change By: Keith Zantow Status: In Review Progress Add Comment This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50148) Unable to edit pipeline in blueocean when Jenkinsfile contains "withSonarQubeEnv"
Title: Message Title Keith Zantow assigned an issue to Keith Zantow Jenkins / JENKINS-50148 Unable to edit pipeline in blueocean when Jenkinsfile contains "withSonarQubeEnv" Change By: Keith Zantow Assignee: Andrew Bayer Keith Zantow Add Comment This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50148) Unable to edit pipeline in blueocean when Jenkinsfile contains "withSonarQubeEnv"
Title: Message Title Andrew Bayer updated JENKINS-50148 Jenkins / JENKINS-50148 Unable to edit pipeline in blueocean when Jenkinsfile contains "withSonarQubeEnv" Change By: Andrew Bayer Status: In Progress Review Add Comment This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50148) Unable to edit pipeline in blueocean when Jenkinsfile contains "withSonarQubeEnv"
Title: Message Title Andrew Bayer commented on JENKINS-50148 Re: Unable to edit pipeline in blueocean when Jenkinsfile contains "withSonarQubeEnv" I think I have a functional PR up at https://github.com/jenkinsci/blueocean-plugin/pull/1786 Add Comment This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50148) Unable to edit pipeline in blueocean when Jenkinsfile contains "withSonarQubeEnv"
Title: Message Title Andrew Bayer assigned an issue to Andrew Bayer Jenkins / JENKINS-50148 Unable to edit pipeline in blueocean when Jenkinsfile contains "withSonarQubeEnv" Change By: Andrew Bayer Assignee: Andrew Bayer Add Comment This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50148) Unable to edit pipeline in blueocean when Jenkinsfile contains "withSonarQubeEnv"
Title: Message Title Andrew Bayer started work on JENKINS-50148 Change By: Andrew Bayer Status: Open In Progress Add Comment This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50148) Unable to edit pipeline in blueocean when Jenkinsfile contains "withSonarQubeEnv"
Title: Message Title Andrew Bayer commented on JENKINS-50148 Re: Unable to edit pipeline in blueocean when Jenkinsfile contains "withSonarQubeEnv" The problem is that withSonarQubeEnv isn't actually a Step class, it's a SimpleBuildWrapper, which gets invoked behind the scenes via CoreWrapperStep (aka wrap). The editor's PipelineMetadataService#doPipelineStepMetadata() method looks for Builder and Publisher metastep candidates (i.e., SimpleBuildStep implementations), but not SimpleBuildWrapper. Gonna see what I can do here. Add Comment This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50148) Unable to edit pipeline in blueocean when Jenkinsfile contains "withSonarQubeEnv"
Title: Message Title Romain Ciaccafava updated an issue Jenkins / JENKINS-50148 Unable to edit pipeline in blueocean when Jenkinsfile contains "withSonarQubeEnv" Change By: Romain Ciaccafava Everything is fine until I switch to edit mode. Then, OceanBlue layout is displayed but the stages are not.In chrome console, this error message appears : {code:java}blueocean.js:58253 Unhandled Rejection: "Error: No parameters for: withSonarQubeEnv\n at convertStepFromJson (https://app.jaguards.com:4433/adjuncts/e896cb23/org/jenkins/ui/jsmodules/blueocean-pipeline-editor/jenkins-js-extension.js:63287:27)\n at convertStageFromJson (https://app.jaguards.com:4433/adjuncts/e896cb23/org/jenkins/ui/jsmodules/blueocean-pipeline-editor/jenkins-js-extension.js:63239:28)\n at convertJsonToInternalModel (https://app.jaguards.com:4433/adjuncts/e896cb23/org/jenkins/ui/jsmodules/blueocean-pipeline-editor/jenkins-js-extension.js:63195:28)\n at https://app.jaguards.com:4433/adjuncts/e896cb23/org/jenkins/ui/jsmodules/blueocean-pipeline-editor/jenkins-js-extension.js:57251:96\n at https://app.jaguards.com:4433/adjuncts/e896cb23/org/jenkins/ui/jsmodules/blueocean-pipeline-editor/jenkins-js-extension.js:63513:13\n at https://app.jaguards.com:4433/adjuncts/e896cb23/org/jenkins/ui/jsmodules/blueocean-pipeline-editor/jenkins-js-extension.js:64335:17\n at "logUnhandledPromiseRejection @ blueocean.js:58253{code}In case it helps, this is the Jenkinsfile : {code:java}pipeline { agent any stages {stage('Server build (Java 8)') { agent {docker { image 'openjdk:8' args '-v /srv/docker/jenkins-containers/cache/gradle-java8:/root/.gradle'} } steps {sh 'cd server && ./gradlew clean && ./gradlew build' }}stage('Client build') { agent {docker { image 'node:9' args '--network jenkinscontainers_default --link sonarqube -v /srv/docker/jenkins-containers/cache/npm-node9:/root/.npm'} } steps {withSonarQubeEnv('sonar') { sh 'cd ./client && npm install'} }}stage('Server SonarQube analysis') { agent {docker { image 'openjdk:8' args '--network jenkinscontainers_default --link sonarqube -v /srv/docker/jenkins-containers/cache/gradle-java8:/root/.gradle'} } steps {withSonarQubeEnv('sonar') { sh 'cd ./server && ./gradlew --info sonarqube'} }}stage('Server SonarQube QG') { agent {docker { image 'openjdk:8' args '--network jenkinscontainers_default --link sonarqube -v /srv/docker/jenkins-containers/cache/gradle-java8:/root/.gradle'} } steps {timeout(time: 1, unit: 'HOURS') { waitForQualityGate()} }}stage('Client SonarQube analysis') { agent {docker { image 'node:9' args '--network jenkinscontainers_default --link sonarqube -v /srv/docker/jenkins-containers/cache/npm-node9:/root/.npm'
[JIRA] (JENKINS-50148) Unable to edit pipeline in blueocean when Jenkinsfile contains "withSonarQubeEnv"
Title: Message Title Romain Ciaccafava created an issue Jenkins / JENKINS-50148 Unable to edit pipeline in blueocean when Jenkinsfile contains "withSonarQubeEnv" Issue Type: Bug Assignee: Unassigned Components: blueocean-pipeline-editor-plugin Created: 2018-03-13 14:35 Environment: Jenkins 2.89.4 run in Docker container (jenkins:lts image). BlueOcean plugin 1.4.2 Labels: pipeline blueocean _javascript_ Priority: Trivial Reporter: Romain Ciaccafava Everything is fine until I switch to edit mode. Then, OceanBlue layout is displayed but the stages are not. In chrome console, this error message appears : blueocean.js:58253 Unhandled Rejection: "Error: No parameters for: withSonarQubeEnv\n at convertStepFromJson (https://app.jaguards.com:4433/adjuncts/e896cb23/org/jenkins/ui/jsmodules/blueocean-pipeline-editor/jenkins-js-extension.js:63287:27)\n at convertStageFromJson (https://app.jaguards.com:4433/adjuncts/e896cb23/org/jenkins/ui/jsmodules/blueocean-pipeline-editor/jenkins-js-extension.js:63239:28)\n at convertJsonToInternalModel (https://app.jaguards.com:4433/adjuncts/e896cb23/org/jenkins/ui/jsmodules/blueocean-pipeline-editor/jenkins-js-extension.js:63195:28)\n at https://app.jaguards.com:4433/adjuncts/e896cb23/org/jenkins/ui/jsmodules/blueocean-pipeline-editor/jenkins-js-extension.js:57251:96\n at https://app.jaguards.com:4433/adjuncts/e896cb23/org/jenkins/ui/jsmodules/blueocean