Branch: refs/heads/master Home: https://github.com/jenkinsci/workflow-plugin Commit: 72e4d4cda2edd94d086e6f0c366af2f62d55352d https://github.com/jenkinsci/workflow-plugin/commit/72e4d4cda2edd94d086e6f0c366af2f62d55352d Author: Kohsuke Kawaguchi <k...@kohsuke.org> Date: 2014-10-03 (Fri, 03 Oct 2014)
Changed paths: M cps/src/main/java/org/jenkinsci/plugins/workflow/cps/CpsFlowExecution.java M cps/src/main/java/org/jenkinsci/plugins/workflow/cps/CpsThreadGroup.java M cps/src/main/java/org/jenkinsci/plugins/workflow/cps/SandboxContinuable.java Log Message: ----------- Simpler to hold on to GroovyShell ... and this is necessary to evaluate() and other stuff Commit: 6b901826f219468d929185350e065d15fe4dac70 https://github.com/jenkinsci/workflow-plugin/commit/6b901826f219468d929185350e065d15fe4dac70 Author: Kohsuke Kawaguchi <k...@kohsuke.org> Date: 2014-10-03 (Fri, 03 Oct 2014) Changed paths: M aggregator/src/test/java/org/jenkinsci/plugins/workflow/steps/parallel/ParallelStepTest.java M cps/src/main/java/org/jenkinsci/plugins/workflow/cps/CpsThread.java M cps/src/main/java/org/jenkinsci/plugins/workflow/cps/DSL.java R cps/src/main/java/org/jenkinsci/plugins/workflow/cps/ParallelStep.java R cps/src/main/java/org/jenkinsci/plugins/workflow/cps/ParallelStepException.java R cps/src/main/java/org/jenkinsci/plugins/workflow/cps/ParallelStepExecution.java A cps/src/main/java/org/jenkinsci/plugins/workflow/cps/steps/ParallelStep.java A cps/src/main/java/org/jenkinsci/plugins/workflow/cps/steps/ParallelStepException.java A cps/src/main/java/org/jenkinsci/plugins/workflow/cps/steps/ParallelStepExecution.java Log Message: ----------- Moving the parallel step into the 'steps' package ... in anticipation of adding more CPS-specific step impls Commit: 372efa4618d711f2ab8b778bf5e5388a2956833b https://github.com/jenkinsci/workflow-plugin/commit/372efa4618d711f2ab8b778bf5e5388a2956833b Author: Kohsuke Kawaguchi <k...@kohsuke.org> Date: 2014-10-03 (Fri, 03 Oct 2014) Changed paths: A support/src/test/java/org/jenkinsci/plugins/workflow/test/steps/TmpDirStep.java A support/src/test/java/org/jenkinsci/plugins/workflow/test/steps/TmpDirStepExecution.java Log Message: ----------- Added a utility step impl for testing. This one is useful to test a step that needs a workspace without bringing in the whole WorkflowJob Commit: c94de673136c5119fe7a91c54c3f9ca05eff224e https://github.com/jenkinsci/workflow-plugin/commit/c94de673136c5119fe7a91c54c3f9ca05eff224e Author: Kohsuke Kawaguchi <k...@kohsuke.org> Date: 2014-10-03 (Fri, 03 Oct 2014) Changed paths: M cps/src/main/java/org/jenkinsci/plugins/workflow/cps/CpsScript.java A cps/src/main/java/org/jenkinsci/plugins/workflow/cps/steps/EvaluateStep.java A cps/src/main/java/org/jenkinsci/plugins/workflow/cps/steps/EvaluateStepExecution.java A cps/src/test/groovy/org/jenkinsci/plugins/workflow/cps/steps/EvaluateStepTest.groovy M support/src/test/java/org/jenkinsci/plugins/workflow/test/steps/TmpDirStepExecution.java Log Message: ----------- WiP Commit: fe4908f4eaf8ddb84bac2ab7c72b000098a33c16 https://github.com/jenkinsci/workflow-plugin/commit/fe4908f4eaf8ddb84bac2ab7c72b000098a33c16 Author: Kohsuke Kawaguchi <k...@kohsuke.org> Date: 2014-10-03 (Fri, 03 Oct 2014) Changed paths: M cps/pom.xml M cps/src/main/java/org/jenkinsci/plugins/workflow/cps/CpsWhitelist.java M cps/src/test/groovy/org/jenkinsci/plugins/workflow/cps/steps/EvaluateStepTest.groovy Log Message: ----------- Made the evaluate method work for the first time Turns out the category override for CPS-enabled "each" method was breaking the classloading Commit: 14262d2d1c0f21499bacd45ab593222e52f17286 https://github.com/jenkinsci/workflow-plugin/commit/14262d2d1c0f21499bacd45ab593222e52f17286 Author: Kohsuke Kawaguchi <k...@kohsuke.org> Date: 2014-10-03 (Fri, 03 Oct 2014) Changed paths: M cps/src/main/java/org/jenkinsci/plugins/workflow/cps/CpsScript.java Log Message: ----------- Implemented the rest of the evaluate-like methods These are easy to spot as their implementations in the Script class uses GroovyShell Commit: 95daf94138ad74df3c077c2c4fc272576740aced https://github.com/jenkinsci/workflow-plugin/commit/95daf94138ad74df3c077c2c4fc272576740aced Author: Kohsuke Kawaguchi <k...@kohsuke.org> Date: 2014-10-03 (Fri, 03 Oct 2014) Changed paths: M cps/src/test/groovy/org/jenkinsci/plugins/workflow/cps/steps/EvaluateStepTest.groovy Log Message: ----------- Verifies that evaluated code is still CPS transformed Commit: d2d63dc0f7960155dce3d0c749f823015b0bc58c https://github.com/jenkinsci/workflow-plugin/commit/d2d63dc0f7960155dce3d0c749f823015b0bc58c Author: Kohsuke Kawaguchi <k...@kohsuke.org> Date: 2014-10-03 (Fri, 03 Oct 2014) Changed paths: M cps/pom.xml Log Message: ----------- Released 0.7 Commit: 0f1fc6e3258b766a1152a76c0c688c6649d760a3 https://github.com/jenkinsci/workflow-plugin/commit/0f1fc6e3258b766a1152a76c0c688c6649d760a3 Author: Kohsuke Kawaguchi <k...@kohsuke.org> Date: 2014-10-03 (Fri, 03 Oct 2014) Changed paths: M aggregator/src/test/java/org/jenkinsci/plugins/workflow/steps/parallel/ParallelStepTest.java M cps/pom.xml M cps/src/main/java/org/jenkinsci/plugins/workflow/cps/CpsFlowExecution.java M cps/src/main/java/org/jenkinsci/plugins/workflow/cps/CpsScript.java M cps/src/main/java/org/jenkinsci/plugins/workflow/cps/CpsThread.java M cps/src/main/java/org/jenkinsci/plugins/workflow/cps/CpsThreadGroup.java M cps/src/main/java/org/jenkinsci/plugins/workflow/cps/CpsWhitelist.java M cps/src/main/java/org/jenkinsci/plugins/workflow/cps/DSL.java R cps/src/main/java/org/jenkinsci/plugins/workflow/cps/ParallelStep.java R cps/src/main/java/org/jenkinsci/plugins/workflow/cps/ParallelStepException.java R cps/src/main/java/org/jenkinsci/plugins/workflow/cps/ParallelStepExecution.java M cps/src/main/java/org/jenkinsci/plugins/workflow/cps/SandboxContinuable.java A cps/src/main/java/org/jenkinsci/plugins/workflow/cps/steps/EvaluateStep.java A cps/src/main/java/org/jenkinsci/plugins/workflow/cps/steps/EvaluateStepExecution.java A cps/src/main/java/org/jenkinsci/plugins/workflow/cps/steps/ParallelStep.java A cps/src/main/java/org/jenkinsci/plugins/workflow/cps/steps/ParallelStepException.java A cps/src/main/java/org/jenkinsci/plugins/workflow/cps/steps/ParallelStepExecution.java A cps/src/test/groovy/org/jenkinsci/plugins/workflow/cps/steps/EvaluateStepTest.groovy A support/src/test/java/org/jenkinsci/plugins/workflow/test/steps/TmpDirStep.java A support/src/test/java/org/jenkinsci/plugins/workflow/test/steps/TmpDirStepExecution.java Log Message: ----------- Integrated the evaluate() function support As a first step toward loading workflow script from SCM, I added CpsScript.evaluate(String) that evaluates the text as a script into the current workflow. This implementation correctly CPS-transform the code and put it into sandbox (if applicable.) Stuff that's not yet done: - Evaluated script needs to be remembered along with their class name, so that when the execution comes back from the disk, it'll be still in the classloader. - Step implementation that allows you to point to a relative file in the current workspace and load it. Commit: 4628dbf3212bc9e7e82c39f40763fc76b50c2b69 https://github.com/jenkinsci/workflow-plugin/commit/4628dbf3212bc9e7e82c39f40763fc76b50c2b69 Author: Kohsuke Kawaguchi <k...@kohsuke.org> Date: 2014-10-03 (Fri, 03 Oct 2014) Changed paths: M cps/src/main/java/org/jenkinsci/plugins/workflow/cps/steps/EvaluateStep.java Log Message: ----------- function name 'evaluate' resolves to CpsScript.evaluate(), so we need a new name Commit: 5d65e43aa49ac9de504fb912c94e705cb58210c6 https://github.com/jenkinsci/workflow-plugin/commit/5d65e43aa49ac9de504fb912c94e705cb58210c6 Author: Kohsuke Kawaguchi <k...@kohsuke.org> Date: 2014-10-03 (Fri, 03 Oct 2014) Changed paths: M cps/src/main/java/org/jenkinsci/plugins/workflow/cps/CpsWhitelist.java A cps/src/main/java/org/jenkinsci/plugins/workflow/cps/GroovyClassLoaderWhitelist.java M cps/src/main/java/org/jenkinsci/plugins/workflow/cps/SandboxContinuable.java Log Message: ----------- GroovyClassLoader seems to have InnerLoader that's used to load script (sometimes?) Not sure when this test started failing, because this used to work! but relaxing the whitelist anyway to allow for inner loader. Commit: 110a9d081fc91f07d06c411f7566a4c37c8a5d80 https://github.com/jenkinsci/workflow-plugin/commit/110a9d081fc91f07d06c411f7566a4c37c8a5d80 Author: Kohsuke Kawaguchi <k...@kohsuke.org> Date: 2014-10-03 (Fri, 03 Oct 2014) Changed paths: M cps/pom.xml Log Message: ----------- Groovy CPS that doesn't use category. Classloading inside CPS execution manifested problems previously unseen in groovy-cps. This version fixes that. Compare: https://github.com/jenkinsci/workflow-plugin/compare/1ca25e2aba5f...110a9d081fc9 -- You received this message because you are subscribed to the Google Groups "Jenkins Commits" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.