Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-53192

Blue Ocean mark failed job as success and failed on tests without error messages

       I have next pipeline:

      pipelines {
        validations {
          steps {
            '0' {
              name = 'Download Project Repository'
              groovySource = 'scripts/Stages.groovy'
              function = 'cloneProjectRepo'
            }
            '1' {
              parallel {
                '1' {
                  name = 'Title'
                  groovySource = 'scripts/Validation.groovy'
                  function = 'title'
                }
                '2' {
                  name = 'Jira'
                  groovySource = 'scripts/Validation.groovy'
                  function = 'jira'
                }
                '3' {
                  name = 'Sonar'
                  groovySource = 'scripts/Validation.groovy'
                  function = 'sonar'
                }
              }
            }
            '2' {
              name = 'Tests'
              groovySource = 'scripts/Validation.groovy'
              function = 'test'
            }
          }
          always {
            '1' {
              name = 'Cleanup Workspace'
              groovySource = 'scripts/Stages.groovy'
              function = 'getWsCleanupClosure'
            }
          }
        }
      }
      
      
      

      Blue Ocean mark failed job as success and failed on tests without error messages

       

       

          [JENKINS-53192] Blue Ocean mark failed job as success and failed on tests without error messages

          Igor Solovko created issue -
          Igor Solovko made changes -
          Attachment New: Screenshot BlueOcean.png [ 43830 ]
          Description Original:  I have next pipeline:
          {code:java}
          pipelines {
            validations {
              steps {
                '0' {
                  name = 'Download Project Repository'
                  groovySource = 'scripts/Stages.groovy'
                  function = 'cloneProjectRepo'
                }
                '1' {
                  parallel {
                    '1' {
                      name = 'Title'
                      groovySource = 'scripts/Validation.groovy'
                      function = 'title'
                    }
                    '2' {
                      name = 'Jira'
                      groovySource = 'scripts/Validation.groovy'
                      function = 'jira'
                    }
                    '3' {
                      name = 'Sonar'
                      groovySource = 'scripts/Validation.groovy'
                      function = 'sonar'
                    }
                  }
                }
                '2' {
                  name = 'Tests'
                  groovySource = 'scripts/Validation.groovy'
                  function = 'test'
                }
              }
              always {
                '1' {
                  name = 'Cleanup Workspace'
                  groovySource = 'scripts/Stages.groovy'
                  function = 'getWsCleanupClosure'
                }
              }
            }
          }


          {code}

          Blue Ocean mark failed job as success and failed on tests without error messages

           

          !Screenshot BlueOcean.png!
          New:  I have next pipeline:
          {code:java}
          pipelines {
            validations {
              steps {
                '0' {
                  name = 'Download Project Repository'
                  groovySource = 'scripts/Stages.groovy'
                  function = 'cloneProjectRepo'
                }
                '1' {
                  parallel {
                    '1' {
                      name = 'Title'
                      groovySource = 'scripts/Validation.groovy'
                      function = 'title'
                    }
                    '2' {
                      name = 'Jira'
                      groovySource = 'scripts/Validation.groovy'
                      function = 'jira'
                    }
                    '3' {
                      name = 'Sonar'
                      groovySource = 'scripts/Validation.groovy'
                      function = 'sonar'
                    }
                  }
                }
                '2' {
                  name = 'Tests'
                  groovySource = 'scripts/Validation.groovy'
                  function = 'test'
                }
              }
              always {
                '1' {
                  name = 'Cleanup Workspace'
                  groovySource = 'scripts/Stages.groovy'
                  function = 'getWsCleanupClosure'
                }
              }
            }
          }


          {code}
          Blue Ocean mark failed job as success and failed on tests without error messages

           

           
          Mark Waite made changes -
          Component/s Original: git-plugin [ 15543 ]
          Igor Solovko made changes -
          Link New: This issue relates to JENKINS-52923 [ JENKINS-52923 ]
          Igor Solovko made changes -
          Link New: This issue relates to JENKINS-52923 [ JENKINS-52923 ]

            Unassigned Unassigned
            igor_solovko Igor Solovko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: