Details

    • Similar Issues:

      Description

      Support execution of trigger check scripts as "system" groovy scripts. These scripts are executed within Jenkins proper and have full access to the Jenkins data model and current job.

        Attachments

          Activity

          Show
          edalquist Eric Dalquist added a comment - https://github.com/jenkinsci/scripttrigger-plugin/pull/2
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Eric Dalquist
          Path:
          src/main/java/org/jenkinsci/plugins/scripttrigger/groovy/GroovyScriptTrigger.java
          src/main/java/org/jenkinsci/plugins/scripttrigger/groovy/GroovyScriptTriggerExecutor.java
          src/main/resources/org/jenkinsci/plugins/scripttrigger/groovy/GroovyScriptTrigger/config.jelly
          src/main/resources/org/jenkinsci/plugins/scripttrigger/groovy/GroovyScriptTrigger/help-groovySystemScript.html
          http://jenkins-ci.org/commit/scripttrigger-plugin/0e8ba3d502d254f4b1a1e245e0ca1ce09258e7f8
          Log:
          JENKINS-13209 System Groovy script support

          Add system script checkbox in configuration UI
          Add log/out/job variables to groovy shell
          Setup the SYSTEM user during script execution
          Log envvars used for script re-writing
          Log messages and stack traces if the groovy script fails

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Eric Dalquist Path: src/main/java/org/jenkinsci/plugins/scripttrigger/groovy/GroovyScriptTrigger.java src/main/java/org/jenkinsci/plugins/scripttrigger/groovy/GroovyScriptTriggerExecutor.java src/main/resources/org/jenkinsci/plugins/scripttrigger/groovy/GroovyScriptTrigger/config.jelly src/main/resources/org/jenkinsci/plugins/scripttrigger/groovy/GroovyScriptTrigger/help-groovySystemScript.html http://jenkins-ci.org/commit/scripttrigger-plugin/0e8ba3d502d254f4b1a1e245e0ca1ce09258e7f8 Log: JENKINS-13209 System Groovy script support Add system script checkbox in configuration UI Add log/out/job variables to groovy shell Setup the SYSTEM user during script execution Log envvars used for script re-writing Log messages and stack traces if the groovy script fails
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Eric Dalquist
          Path:
          src/main/java/org/jenkinsci/plugins/scripttrigger/groovy/GroovyScriptTrigger.java
          src/main/java/org/jenkinsci/plugins/scripttrigger/groovy/GroovyScriptTriggerExecutor.java
          src/main/resources/org/jenkinsci/plugins/scripttrigger/groovy/GroovyScriptTrigger/help-groovySystemScript.html
          http://jenkins-ci.org/commit/scripttrigger-plugin/afe69ee288cce0efa6a4ee940c027226f0354419
          Log:
          JENKINS-13209 Load files from system node for system script

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Eric Dalquist Path: src/main/java/org/jenkinsci/plugins/scripttrigger/groovy/GroovyScriptTrigger.java src/main/java/org/jenkinsci/plugins/scripttrigger/groovy/GroovyScriptTriggerExecutor.java src/main/resources/org/jenkinsci/plugins/scripttrigger/groovy/GroovyScriptTrigger/help-groovySystemScript.html http://jenkins-ci.org/commit/scripttrigger-plugin/afe69ee288cce0efa6a4ee940c027226f0354419 Log: JENKINS-13209 Load files from system node for system script
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Gregory Boissinot
          Path:
          src/main/java/org/jenkinsci/plugins/scripttrigger/groovy/GroovyScriptTrigger.java
          src/main/java/org/jenkinsci/plugins/scripttrigger/groovy/GroovyScriptTriggerExecutor.java
          src/main/resources/org/jenkinsci/plugins/scripttrigger/groovy/GroovyScriptTrigger/config.jelly
          src/main/resources/org/jenkinsci/plugins/scripttrigger/groovy/GroovyScriptTrigger/help-groovySystemScript.html
          http://jenkins-ci.org/commit/scripttrigger-plugin/2f6250443add42f6c3ccd5d2ec34ee70abb612f3
          Log:
          Merge pull request #2 from edalquist/JENKINS-13209

          JENKINS-13209 System Groovy script support

          Compare: https://github.com/jenkinsci/scripttrigger-plugin/compare/14b1178...2f62504

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Gregory Boissinot Path: src/main/java/org/jenkinsci/plugins/scripttrigger/groovy/GroovyScriptTrigger.java src/main/java/org/jenkinsci/plugins/scripttrigger/groovy/GroovyScriptTriggerExecutor.java src/main/resources/org/jenkinsci/plugins/scripttrigger/groovy/GroovyScriptTrigger/config.jelly src/main/resources/org/jenkinsci/plugins/scripttrigger/groovy/GroovyScriptTrigger/help-groovySystemScript.html http://jenkins-ci.org/commit/scripttrigger-plugin/2f6250443add42f6c3ccd5d2ec34ee70abb612f3 Log: Merge pull request #2 from edalquist/ JENKINS-13209 JENKINS-13209 System Groovy script support Compare: https://github.com/jenkinsci/scripttrigger-plugin/compare/14b1178...2f62504

            People

            • Assignee:
              gbois Gregory Boissinot
              Reporter:
              edalquist Eric Dalquist
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: