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

Revision number with SVN checkout/update

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: core
    • Labels:
      None
    • Environment:
      Platform: All, OS: All
    • Similar Issues:

      Description

      I'd like to specify an explicit revision number for the SVN checkout/hudson.

      Currently we do

      #

      1. checkout with an explicit version
      2. if [ -d "$SVNBASE" ]; then
        svn up -r@hudson.jboss50.rev@ $SVNBASE
        else
        svn co -r@hudson.jboss50.rev@ @hudson.jboss50.url@
        fi

      to build the last known good target container for jbossws

      cheers
      -thomas

        Attachments

          Activity

          Hide
          kohsuke Kohsuke Kawaguchi added a comment -

          I thought usually people do this by using svn:external (and we have an RFE filed
          for that, too, I think.)

          We can certainly extend Hudson to allow you to specify a revision, but if you do
          that, the SCM itself won't leave any relationship record of which version of
          your software was built with which version of JBoss.

          Show
          kohsuke Kohsuke Kawaguchi added a comment - I thought usually people do this by using svn:external (and we have an RFE filed for that, too, I think.) We can certainly extend Hudson to allow you to specify a revision, but if you do that, the SCM itself won't leave any relationship record of which version of your software was built with which version of JBoss.
          Hide
          wezen wezen added a comment -

          How do this by using svn:external?

          Show
          wezen wezen added a comment - How do this by using svn:external?
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in hudson
          User: : kohsuke
          Path:
          trunk/hudson/main/core/src/main/java/hudson/scm/SubversionChangeLogBuilder.java
          trunk/hudson/main/core/src/main/java/hudson/scm/SubversionSCM.java
          trunk/hudson/main/core/src/main/resources/hudson/scm/SubversionSCM/DescriptorImpl/url-help.jelly
          trunk/hudson/main/core/src/main/resources/hudson/scm/SubversionSCM/DescriptorImpl/url-help.properties
          trunk/hudson/main/core/src/main/resources/hudson/scm/SubversionSCM/DescriptorImpl/url-help_fr.properties
          trunk/hudson/main/core/src/main/resources/hudson/scm/SubversionSCM/DescriptorImpl/url-help_ja.properties
          trunk/hudson/main/test/src/test/java/hudson/scm/SubversionSCMTest.java
          trunk/www/changelog.html
          http://fisheye4.cenqua.com/changelog/hudson/?cs=14076
          Log:
          [FIXED JENKINS-262] Subversion checkout/update now supports fixed revisions. In Hudson 1.269.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : kohsuke Path: trunk/hudson/main/core/src/main/java/hudson/scm/SubversionChangeLogBuilder.java trunk/hudson/main/core/src/main/java/hudson/scm/SubversionSCM.java trunk/hudson/main/core/src/main/resources/hudson/scm/SubversionSCM/DescriptorImpl/url-help.jelly trunk/hudson/main/core/src/main/resources/hudson/scm/SubversionSCM/DescriptorImpl/url-help.properties trunk/hudson/main/core/src/main/resources/hudson/scm/SubversionSCM/DescriptorImpl/url-help_fr.properties trunk/hudson/main/core/src/main/resources/hudson/scm/SubversionSCM/DescriptorImpl/url-help_ja.properties trunk/hudson/main/test/src/test/java/hudson/scm/SubversionSCMTest.java trunk/www/changelog.html http://fisheye4.cenqua.com/changelog/hudson/?cs=14076 Log: [FIXED JENKINS-262] Subversion checkout/update now supports fixed revisions. In Hudson 1.269.

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            tdiesler Thomas Diesler
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: