[JIRA] (JENKINS-50033) Method code too large using declarative pipelines
Title: Message Title Ruud P commented on JENKINS-50033 Re: Method code too large using declarative pipelines my bug was a duplicate bug, but it is not solved and so far as i know it will also not happen, I change my code and using script blocks. see https://issues.jenkins-ci.org/browse/JENKINS-37984 Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-37984) org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: General error during class generation: Method code too large! error in pipeline Script
Title: Message Title Ruud P edited a comment on JENKINS-37984 Re: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: General error during class generation: Method code too large! error in pipeline Script i use as "work a round" a script blok, for me it was a lot of work to change it but the result was smaller code witch is always good stages \{ stage('parallel stages') \{ steps \{ script \{ in my case i have 200-300 parallel stagesi generate the parallel stages with a single function and i execute more as 200-300 stages in parallel, this is very dynamic as this amount of stages depends on user input. So i use now script block to generate all the stages and execute the stages instead of using declarative Pipeline. Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-37984) org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: General error during class generation: Method code too large! error in pipeline Script
Title: Message Title Ruud P edited a comment on JENKINS-37984 Re: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: General error during class generation: Method code too large! error in pipeline Script i use as "work a round" a script blok, for me it was a lot of work to change it but the result was smaller code witch is always good stages \{ stage('parallel stages') \{ steps \{ script \{ Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-37984) org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: General error during class generation: Method code too large! error in pipeline Script
Title: Message Title Ruud P commented on JENKINS-37984 Re: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: General error during class generation: Method code too large! error in pipeline Script i use as "work a round" a script blok, for me it was a lot of work to change it but the result was smaller code witch is always good Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50044) Run a task on node x or node y
Title: Message Title Ruud P updated an issue Jenkins / JENKINS-50044 Run a task on node x or node y Change By: Ruud P it is not possible to run a post build on node A or Node B or C (anything that is available)post \{ always \{ node(label: 'A' or 'B' or 'C') \{ foo()}**when i add like 'a||b' or 'a&&b' it say there is no node with the name 'a&&b' i also try like 'a'&&'b' then the code is running only on node a and not on node b . I use declarative pipeline Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50044) Run a task on node x or node y
Title: Message Title Ruud P updated an issue Jenkins / JENKINS-50044 Run a task on node x or node y Change By: Ruud P it is not possible to run a post build on node A or Node B or C (anything that is available)post \{ always \{ node(label: 'A' or 'B' or 'C') \{ foo()}**when i add like 'a||b' or 'a&&b' it say there is no node with the name 'a&&b' i also try like 'a'&&'b' then the code is running only on node a and not on node b Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50044) Run a task on node x or node y
Title: Message Title Ruud P updated an issue Jenkins / JENKINS-50044 Run a task on node x or node y Change By: Ruud P it is not possible to run a post build on node A or Node B or C (anything that is available)post \{ always \{ node(label: 'A' or 'B' or 'C') \{ foo()} **when i add like 'a||b' or 'a&&b' it say there is no node with the name 'a&&b' i also try like 'a'&&'b' then the code is running only on a and not on b Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50044) Run a task on node x or node y
Title: Message Title Ruud P updated an issue Jenkins / JENKINS-50044 Run a task on node x or node y Change By: Ruud P it is not possible to run a post build on node A or Node B or C (anything that is available)post \{ always \{ node(label: 'A' or 'B' or 'C') \{ foo()} Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50044) Run a task on node x or node y
Title: Message Title Ruud P updated an issue Jenkins / JENKINS-50044 Run a task on node x or node y Change By: Ruud P is it is not possible to run a post build on node A or Node B or C (anything that is available)post \{ always \{ node(label: 'A' or 'B' or 'C') \{ foo()} Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50221) pipeline run task on node x or/and node y
Title: Message Title Ruud P closed an issue as Duplicate sorry did not know i could reopen my previous issue Jenkins / JENKINS-50221 pipeline run task on node x or/and node y Change By: Ruud P Status: Open Closed Resolution: Duplicate Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50044) Run a task on node x or node y
Title: Message Title Ruud P reopened an issue i do it like that at this moment and it is working for 1 node.. but when i add like 'a||b' or 'a&&b' it say there is no node with the name 'a&&b' i also try like 'a'&&'b' then the code is running only on a and not on b Jenkins / JENKINS-50044 Run a task on node x or node y Change By: Ruud P Resolution: Won't Fix Status: Resolved Reopened Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop rece
[JIRA] (JENKINS-50221) pipeline run task on node x or/and node y
Title: Message Title Ruud P updated an issue Jenkins / JENKINS-50221 pipeline run task on node x or/and node y Change By: Ruud P its not possible to do likei add like 'a||b' or 'a&&b' it say there is no node with the name 'a&&b' i also try like 'a'&&'b' then the code is running only on a and not on bpost \{ always \{ node(label: 'A ' or ' || B ' or ' || C') \{ foo()} Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50221) pipeline run task on node x or node y
Title: Message Title Ruud P updated an issue Jenkins / JENKINS-50221 pipeline run task on node x or node y Change By: Ruud P its not possible to do likei add like 'a||b' or 'a&&b' it say there is no node with the name 'a&&b' i also try like 'a'&&'b' then the code is running only on a and not on b Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50221) pipeline run task on node x or/and node y
Title: Message Title Ruud P updated an issue Jenkins / JENKINS-50221 pipeline run task on node x or/and node y Change By: Ruud P Summary: pipeline run task on node x or /and node y Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50221) pipeline run task on node x or/and node y
Title: Message Title Ruud P updated an issue Jenkins / JENKINS-50221 pipeline run task on node x or/and node y Change By: Ruud P its not possible to do likei add like 'a||b' or 'a&&b' it say there is no node with the name 'a&&b' i also try like 'a'&&'b' then the code is running only on a and not on b post \{ always \{ node(label: 'A' or 'B' or 'C') \{ foo()} Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50221) pipeline run task on node x or node y
Title: Message Title Ruud P created an issue Jenkins / JENKINS-50221 pipeline run task on node x or node y Issue Type: Bug Assignee: Oleg Nenashev Components: _unsorted Created: 2018-03-16 14:59 Priority: Major Reporter: Ruud P Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscri
[JIRA] (JENKINS-50044) Run a task on node x or node y
Title: Message Title Ruud P updated an issue Jenkins / JENKINS-50044 Run a task on node x or node y Change By: Ruud P Priority: Minor Major Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50044) Run a task on node x or node y
Title: Message Title Ruud P updated an issue Jenkins / JENKINS-50044 Run a task on node x or node y Change By: Ruud P Issue Type: New Feature Bug Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-37984) org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: General error during class generation: Method code too large! error in pipeline Script
Title: Message Title Ruud P updated an issue Jenkins / JENKINS-37984 org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: General error during class generation: Method code too large! error in pipeline Script Change By: Ruud P Comment: I brake up the code but it did not help, so what i am doing wrong here? Anny solution available? oringinal:stages \{ stage('Test') \{ parallel \{ stage(bla1t') \{ when \{_expression_ bla}} steps \{node(label: 'bla') \{test('bla', '')}}} stage(bla1t') \{ when \{_expression_ bla}} steps \{node(label: 'bla') \{test('bla', '')}}} stage(bla1t') \{ when \{_expression_ bla}} steps \{node(label: 'bla') \{test('bla', '')}}} stage(bla1t') \{ when \{_expression_ bla}} steps \{node(label: 'bla') \{test('bla', '')}}} . more as 200 change it into:stages \{ stage('Test') \{ maintest()}(in the same file i defined a function maintest with all the parallel stages)def maintest()parallel \{ stage(bla1t') \{ when \{_expression_ bla}} steps \{node(label: 'bla') \{test('bla', '')}}} stage(bla1t') \{ when \{_expression_ bla}} steps \{node(label: 'bla') \{test('bla', '')}}} stage(bla1t') \{ when \{_expression_ bla}} steps \{node(label: 'bla') \{test('bla', '')}}} stage(bla1t') \{ when \{_expression_ bla}} steps \{node(label: 'bla') \{test('bla', '')}}} . more as 200 Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)
[JIRA] (JENKINS-50044) Run a task on node x or node y
Title: Message Title Ruud P commented on JENKINS-50044 Re: Run a task on node x or node y i do it like that at this moment and it is working for 1 node.. but when i add like 'a||b' or 'a&&b' it say there is no node with the name 'a&&b' i also try like 'a'&&'b' then the code is running only on a and not on b Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50044) Run a task on node x or node y
Title: Message Title Ruud P created an issue Jenkins / JENKINS-50044 Run a task on node x or node y Issue Type: New Feature Assignee: Dominik Bartholdi Components: nodelabelparameter-plugin Created: 2018-03-09 15:23 Priority: Minor Reporter: Ruud P is it possible to run a post build on node A or Node B or C (anything that is available) post { always { node(label: 'A' or 'B' or 'C') { foo()} Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)
[JIRA] (JENKINS-50033) Method code too large using declarative pipelines
Title: Message Title Ruud P updated an issue Jenkins / JENKINS-50033 Method code too large using declarative pipelines Change By: Ruud P Priority: Major Critical Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50033) Method code too large using declarative pipelines
Title: Message Title Ruud P created an issue Jenkins / JENKINS-50033 Method code too large using declarative pipelines Issue Type: Bug Assignee: Oleg Nenashev Components: _unsorted Created: 2018-03-09 07:58 Labels: pipeline Priority: Major Reporter: Ruud P i got the error below when i use a lot of parallel stages , this error disappear when i just fill in a few parallel stages but of course that will not work for us. has anyone a work a round for this? we use declarative pipelines, how can i make the method shorter as i cant use dynamic stages with declarative pipelines stages { stage('Test') { parallel { stage('1') { when {_expression_ bla1}} steps {node(label: 'bla') {test('bla1', '')}}} stage('2') { when {_expression_ bla2}} steps {node(label: 'bla') {test('bla2', '')}}} stage('3') { when {_expression_ bla1}} steps {node(label: 'bla') {test('bla3', '')}}} stage(bla4') { when {_expression_ bla3}} steps {node(label: 'bla') {test('bla4', '')}}} . more as 200 Notified JIRA that a build has completed. org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: General error during class generation: Method code too large! java.lang.RuntimeException: Method code too large! at groovyjarjarasm.asm.MethodWriter.a(Unknown Source) at groovyjarjarasm.asm.ClassWriter.toByteArray(Unknown Source) at org.codehaus.groovy.control.CompilationUnit$17.call(CompilationUnit.java:827) at org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes(CompilationUnit.java:1065) at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:603) at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:581) at org.codehaus.groovy.
[JIRA] (JENKINS-37984) org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: General error during class generation: Method code too large! error in pipeline Script
Title: Message Title Ruud P commented on JENKINS-37984 Re: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: General error during class generation: Method code too large! error in pipeline Script I brake up the code but it did not help, so what i am doing wrong here? Anny solution available? oringinal: stages { stage('Test') { parallel { stage(bla1t') { when {_expression_ bla}} steps {node(label: 'bla') {test('bla', '')}}} stage(bla1t') { when {_expression_ bla}} steps {node(label: 'bla') {test('bla', '')}}} stage(bla1t') { when {_expression_ bla}} steps {node(label: 'bla') {test('bla', '')}}} stage(bla1t') { when {_expression_ bla}} steps {node(label: 'bla') {test('bla', '')}}} . more as 200 change it into: stages { stage('Test') { maintest()} (in the same file i defined a function maintest with all the parallel stages) def maintest() parallel { stage(bla1t') { when {_expression_ bla}} steps {node(label: 'bla') {test('bla', '')}}} stage(bla1t') { when {_expression_ bla}} steps {node(label: 'bla') {test('bla', '')}}} stage(bla1t') { when {_expression_ bla}} steps {node(label: 'bla') {test('bla', '')}}} stage(bla1t') { when {_expression_ bla}} steps {node(label: 'bla') {test('bla', '')}}} . more as 200 Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, s
[JIRA] (JENKINS-39628) Handle skipped stages and parallels in the Pipeline Graph
Title: Message Title Ruud P commented on JENKINS-39628 Re: Handle skipped stages and parallels in the Pipeline Graph it is fixed with an update of jenkins, at this moment this works fine for me Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.