Continuum
  1. Continuum
  2. CONTINUUM-2466

authorization failed when building ant / shell projects

    Details

    • Type: Bug Bug
    • Status: 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

      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

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Closed Closed
        8d 9h 50m 1 Maria Odea Ching 24/Feb/10 04:57
        Mark Thomas made changes -
        Workflow jira [ 12948531 ] Default workflow, editable Closed status [ 12983814 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 21:12:18 UTC 2015 [ 1428268338676 ]
        Mark Thomas made changes -
        Workflow jira [ 12711110 ] Default workflow, editable Closed status [ 12740647 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 08:36:01 UTC 2015 [ 1428222961749 ]
        Maria Odea Ching made changes -
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Closed [ 6 ]
        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
        Maria Odea Ching made changes -
        Assignee Maria Odea Ching [ oching ]
        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.
        Brett Porter made changes -
        Fix Version/s 1.4.0 [ 15106 ]
        Maria Catherine Tan made changes -
        Field Original Value New Value
        Affects Version/s 1.3.5 [ 15641 ]
        Maria Catherine Tan created issue -

          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:

              Development