Continuum
  1. Continuum
  2. CONTINUUM-2466

authorization failed when building ant / shell projects

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.3.5 (Beta)
    • Fix Version/s: 1.4.0 (Beta)
    • Component/s: Core system
    • Labels:
      None
    • Complexity:
      Intermediate
    • Number of attachments :
      0

      Description

      I'm getting an authorization failed when building ant/shell projects.

      In the logs, both the username and password are missing during svn checkout.

      2010-02-16 09:00:01,915 [pool-7-thread-1] INFO action#checkout-project - Checking out project: 'shell', id: '6' to '/home/marica/projects/continuum-1.3.x/continuum-webapp/data/working-directory/6' with branch/tag .
      2010-02-16 09:00:02,666 [pool-7-thread-1] INFO org.apache.continuum.scm.manager.Slf4jScmLogger - Executing: /bin/sh -c cd /home/marica/projects/continuum-1.3.x/continuum-webapp/data/working-directory && svn --non-interactive checkout https://svn.test.com/repos/shell-project/trunk/ 6
      2010-02-16 09:00:02,666 [pool-7-thread-1] INFO org.apache.continuum.scm.manager.Slf4jScmLogger - Working directory: /home/marica/projects/continuum-1.3.x/continuum-webapp/data/working-directory
      2010-02-16 09:00:03,918 [pool-7-thread-1] WARN action#checkout-project - Error while checking out the code for project: 'shell', id: '6' to '/home/marica/projects/continuum-1.3.x/continuum-webapp/data/working-directory/6' with branch/tag .
      2010-02-16 09:00:03,919 [pool-7-thread-1] WARN action#checkout-project - Command output: svn: PROPFIND request failed on '/repos/shell-project/trunk'
      svn: PROPFIND of '/repos/shell-project/trunk': authorization failed (https://svn.test.com)

        Activity

        Hide
        Maria Odea Ching added a comment -

        Fixed in 1.3.x branch -r915747 and merged to trunk in -r915748, with the following changes:

        • set scm username and password in context which will be used in initial checkout (shell and ant projects)
        • added test to verify if scm username and password were set in context
        • do not store credentials id useScmCredentialsCache is set to true in store-project action
        • added test to check storing of credentials based on value of useScmCredentialsCache for ant and shell projects
        Show
        Maria Odea Ching added a comment - Fixed in 1.3.x branch -r915747 and merged to trunk in -r915748, with the following changes: set scm username and password in context which will be used in initial checkout (shell and ant projects) added test to verify if scm username and password were set in context do not store credentials id useScmCredentialsCache is set to true in store-project action added test to check storing of credentials based on value of useScmCredentialsCache for ant and shell projects
        Hide
        Maria Odea Ching added a comment -

        Workaround for this is you have to manually checkout the project/s first so that your svn credentials are stored in the server. After doing that, you should be able to build your project.

        Show
        Maria Odea Ching added a comment - Workaround for this is you have to manually checkout the project/s first so that your svn credentials are stored in the server. After doing that, you should be able to build your project.

          People

          • Assignee:
            Maria Odea Ching
            Reporter:
            Maria Catherine Tan
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: