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

Are you sure you want to abort null?

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • core
    • None

      I'm using a jenkins declarative pipeline:

       

      pipeline {
      agent {
      label "pipeline"
      }
      
      parameters {
      booleanParam(defaultValue: false, description: 'Bump', name: 'shouldBump')
      }
      
      options {
      ansiColor('xterm')
      }
      
      stages {
      stage ("Checkout") {
      steps {
      echo("STAGE_NAME is ${STAGE_NAME} -- Checkout")
      input message: 'Checkout'
      }
      }
      
      stage("Compile") {
      parallel {
      stage("Code") {
      agent {
      label "pipeline"
      }
      steps {
      sh 'printenv'
      echo("STAGE_NAME is ${STAGE_NAME} -- Compile:Code")
      input message: 'Compile:Code'
      }
      }
      stage("Frontend") {
      steps {
      sh 'printenv'
      echo("STAGE_NAME is ${STAGE_NAME} -- Compile:Frontend")
      input message: 'Compile:Frontend'
      }
      }
      }
      }
      
      stage("Tests") {
      parallel {
      stage("Domain") {
      agent {
      label "pipeline"
      }
      steps {
      sh 'printenv'
      echo("STAGE_NAME is ${STAGE_NAME} -- Tests:Domain")
      input message: 'Tests:Domain'
      }
      }
      
      stage("Backend") {
      agent {
      label "pipeline"
      }
      steps {
      sh 'printenv'
      echo("STAGE_NAME is ${STAGE_NAME} -- Tests:Backend")
      input message: 'Tests:Backend'
      }
      }
      
      stage("Client") {
      agent {
      label "pipeline"
      }
      steps {
      sh 'printenv'
      echo("STAGE_NAME is ${STAGE_NAME} -- Tests:Client")
      input message: 'Tests:Client'
      }
      }
      
      stage("Jobs") {
      agent {
      label "pipeline"
      }
      steps {
      sh 'printenv'
      echo("STAGE_NAME is ${STAGE_NAME} -- Tests:Jobs")
      input message: 'Tests:Jobs'
      }
      }
      
      stage("Frontend") {
      steps {
      sh 'printenv'
      echo("STAGE_NAME is ${STAGE_NAME} -- Tests:Frontend")
      input message: 'Tests:Frontend'
      }
      }
      }
      }
      
      stage("Publish") {
      parallel {
      stage("Domain") {
      agent {
      label "pipeline"
      }
      steps {
      sh 'printenv'
      echo("STAGE_NAME is ${STAGE_NAME} -- Publish:Domain")
      input message: 'Publish:Domain'
      }
      }
      stage("Backend") {
      agent {
      label "pipeline"
      }
      steps {
      sh 'printenv'
      echo("STAGE_NAME is ${STAGE_NAME} -- Publish:Backend")
      input message: 'Publish:Backend'
      }
      }
      stage("Client") {
      agent {
      label "pipeline"
      }
      steps {
      sh 'printenv'
      echo("STAGE_NAME is ${STAGE_NAME} -- Publish:Client")
      input message: 'Publish:Client'
      }
      }
      stage("Jobs") {
      agent {
      label "pipeline"
      }
      steps {
      sh 'printenv'
      echo("STAGE_NAME is ${STAGE_NAME} -- Publish:Jobs")
      input message: 'Publish:Jobs'
      }
      }
      
      stage("Frontend") {
      steps {
      sh 'printenv'
      echo("STAGE_NAME is ${STAGE_NAME} -- Publish:Frontend")
      input message: 'Publish:Frontend'
      }
      }
      }
      }
      }
      }

      Run the job.

      Look at the build executor status.

      Click the [x]

      See an alert: Are you sure you want to abort null?

      Expected results: not null.

            Unassigned Unassigned
            jsoref Josh Soref
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: