Update the Pipeline Supporting APIs Plugin <https://wiki.jenkins-ci.org/display/JENKINS/Pipeline+Supporting+APIs+Plugin> to 2.10 then it will work again.
Am Donnerstag, 20. Oktober 2016 22:36:22 UTC+2 schrieb [email protected]: > > [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/0e0244c5-65c7-4962-9221-bad8ada3d84e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
