[Lint KayakFree] [android-lint] Computing warning deltas based on reference 
build #35[Pipeline] [Lint KayakFree] }[Pipeline] [Lint KayakFree] // 
node[Pipeline] [Lint KayakFree] }[Pipeline] // parallel[Pipeline] }[Pipeline] 
// stage[Pipeline] End of Pipelinejava.lang.IllegalStateException: cannot start 
writing logs to a finished node 
org.jenkinsci.plugins.workflow.cps.nodes.StepStartNode[id=30]



The lint stage never finishes and lint passed so it shouldn't be hitting 
the catch which does print a little debug output.
This worked in the previous version of Jenkins (2.25)..current is 2.26:

stage ('Lint') {
  def branches = [:]
  branches['Lint KayakFree'] = {
    node ('android') {
      try {
        unstash name: 'source'
        sh "./gradlew --no-daemon lintKayakFree${variant}"
        androidLint()
      } catch (Exception err) {
        currentBuild.result = 'FAILURE'
        this.notifyStash('FAILED')
      }
    }
  }
  branches['Lint Checkfelix'] = {
    node ('android') {
      try {
        unstash name: 'source'
        sh "./gradlew --no-daemon lintCheckfelix${variant}"
      } catch (Exception err) {
        currentBuild.result = 'FAILURE'
        this.notifyStash('FAILED')
      }
    }
  }
  branches['Lint Swoodoo'] = {
    node ('android') {
      try {
        unstash name: 'source'
        sh "./gradlew --no-daemon lintSwoodoo${variant}"
      } catch (Exception err) {
        currentBuild.result = 'FAILURE'
        this.notifyStash('FAILED')
      }
    }
  }
  parallel branches
}

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/9745deb8-567d-4308-a054-5bc029f7e7f9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to