Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-14154

Groovy script can not resolve import classes like hudson.scm.SubversionSCM

    Details

    • Similar Issues:

      Description

      In my script, I start by import some classes like hudson.scm.SubversionSCM.
      But execution failed with "unable to resolve class hudson.scm.SubversionSCM"

      I use groovy-post-build to create a new tag job after each project release success build and need to instanciate new SubversionSCM to change svn url configuation.

      I may have missed something ?

        Attachments

          Issue Links

            Activity

            Show
            ikedam ikedam added a comment - https://github.com/jenkinsci/groovy-postbuild-plugin/pull/18
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: ikedam
            Path:
            src/test/java/org/jvnet/hudson/plugins/groovypostbuild/GroovyPostbuildRecorderTest.java
            src/test/resources/plugins/dependee.hpi
            http://jenkins-ci.org/commit/groovy-postbuild-plugin/1a77ddbb4d5fe20f05d4b0d7559cc62daa8a52fe
            Log:
            JENKINS-14154 Added a test to demonstrate JENKINS-14154.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: ikedam Path: src/test/java/org/jvnet/hudson/plugins/groovypostbuild/GroovyPostbuildRecorderTest.java src/test/resources/plugins/dependee.hpi http://jenkins-ci.org/commit/groovy-postbuild-plugin/1a77ddbb4d5fe20f05d4b0d7559cc62daa8a52fe Log: JENKINS-14154 Added a test to demonstrate JENKINS-14154 .
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: ikedam
            Path:
            src/main/java/org/jvnet/hudson/plugins/groovypostbuild/GroovyPostbuildRecorder.java
            http://jenkins-ci.org/commit/groovy-postbuild-plugin/fd22c9c5fe345cba0f356441811312509c97a908
            Log:
            [FIXED JENKINS-14154] Allows to access other plugins.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: ikedam Path: src/main/java/org/jvnet/hudson/plugins/groovypostbuild/GroovyPostbuildRecorder.java http://jenkins-ci.org/commit/groovy-postbuild-plugin/fd22c9c5fe345cba0f356441811312509c97a908 Log: [FIXED JENKINS-14154] Allows to access other plugins.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: ikedam
            Path:
            src/main/java/org/jvnet/hudson/plugins/groovypostbuild/GroovyPostbuildRecorder.java
            src/test/java/org/jvnet/hudson/plugins/groovypostbuild/GroovyPostbuildRecorderTest.java
            src/test/resources/plugins/dependee.hpi
            http://jenkins-ci.org/commit/groovy-postbuild-plugin/dac19b7d590df830a94019871eee1ed6f9322e9c
            Log:
            Merge pull request #18 from ikedam/feature/JENKINS-14154_AccessAllPlugins

            JENKINS-14154 Allow to access to other plugins

            Compare: https://github.com/jenkinsci/groovy-postbuild-plugin/compare/9d4982d1bc70...dac19b7d590d

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: ikedam Path: src/main/java/org/jvnet/hudson/plugins/groovypostbuild/GroovyPostbuildRecorder.java src/test/java/org/jvnet/hudson/plugins/groovypostbuild/GroovyPostbuildRecorderTest.java src/test/resources/plugins/dependee.hpi http://jenkins-ci.org/commit/groovy-postbuild-plugin/dac19b7d590df830a94019871eee1ed6f9322e9c Log: Merge pull request #18 from ikedam/feature/ JENKINS-14154 _AccessAllPlugins JENKINS-14154 Allow to access to other plugins Compare: https://github.com/jenkinsci/groovy-postbuild-plugin/compare/9d4982d1bc70...dac19b7d590d
            Hide
            ikedam ikedam added a comment -

            Fixed in 2.1.
            It will be available in a day.

            Show
            ikedam ikedam added a comment - Fixed in 2.1. It will be available in a day.

              People

              • Assignee:
                ikedam ikedam
                Reporter:
                ncoquelet Nicolas Coquelet
              • Votes:
                2 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: