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

Implement SimpleBuildStep for Workflow Compatibility

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      svn-tag should implement SimpleBuildStep to allow tighter workflow integration.

        Attachments

          Activity

          Hide
          jglick Jesse Glick added a comment -

          Not really possible. The plugin is built to look up the AbstractProject.scm, for which there is no unique equivalent in a WorkflowJob.

          Anyway you can always just sh "svn cp . ${repo} \$BUILD_TAG" or the like from a Workflow. If there is a need for a Workflow step that runs Subversion commands using SVNKit and the authenticator included in the subversion plugin, this would better be done as a distinct plugin, e.g. svn args: ['cp', '.', repo, env.BUILD_TAG], credentialsId: 'my-login'.

          Show
          jglick Jesse Glick added a comment - Not really possible. The plugin is built to look up the AbstractProject.scm , for which there is no unique equivalent in a WorkflowJob . Anyway you can always just sh "svn cp . ${repo} \$BUILD_TAG" or the like from a Workflow. If there is a need for a Workflow step that runs Subversion commands using SVNKit and the authenticator included in the subversion plugin, this would better be done as a distinct plugin, e.g. svn args: ['cp', '.', repo, env.BUILD_TAG], credentialsId: 'my-login' .

            People

            • Assignee:
              k2nakamura k2nakamura
              Reporter:
              nharniman Nigel Harniman
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: