Upgrading plugin worked for me, but after update I have no textarea where I can input pipeline script. Only option "Pipeline script from SCM" works for me... :(
2016-10-21 10:21 GMT+02:00 Sven Finsterwalder <[email protected]>: > Update the > > 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 Pipeline >> java.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 a topic in the > Google Groups "Jenkins Users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/jenkinsci-users/jTsPn0_39rU/unsubscribe. > To unsubscribe from this group and all its topics, 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. -- Quidquid Latine dictum sit, altum videtur. -- 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/CANrDL34cCy5vcCkFTRwURXoomdt397-c8ESRxRcfotc-Qk4O%2Bw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
