• Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      I am using this cmd line to download latest build artifact from Bamboo

      wget --http-user='denist@bzgint.com' --http-password=****** 'https://beezag.jira.com/builds/rest/api/latest/plan?os_authType=basic'

      following instructions here http://confluence.atlassian.com/display/BAMBOO/Using+the+Bamboo+REST+APIs

        1. screenshot-1.jpg
          47 kB
          Denis Tsyplakov

            [BAM-7259] Could not download Bamboo artifact with wget

            It's a little yucky having to type your password into the query params.  I was hoping I could use wget's --ask-password.

            Peter Coxhead added a comment - It's a little yucky having to type your password into the query params.  I was hoping I could use wget's --ask-password.

            AntonA added a comment -

            Thanks for the update.

            AntonA added a comment - Thanks for the update.

            resolved, was my mistake

            Denis Tsyplakov added a comment - resolved, was my mistake

            MarkC added a comment -

            Denis,

            Not sure what could be the problem here but I can run a similar command successfully on our local systems.

            wget --http-user='XXXXX' --http-password='XXXXXX' 'https://j.b.atlassian.com/rest/api/latest/plan?os_authType=basic' --no-check-certificate
            --2010-11-03 12:03:43--  https://j.b.atlassian.com/rest/api/latest/plan?os_authType=basic
            Resolving j.b.atlassian.com... 63.246.22.196
            Connecting to j.b.atlassian.com|63.246.22.196|:443... connected.
            WARNING: certificate common name `*.atlassian.com' doesn't match requested host name `j.b.atlassian.com'.
            HTTP request sent, awaiting response... 401 Unauthorized
            Reusing existing connection to j.b.atlassian.com:443.
            HTTP request sent, awaiting response... 200 OK
            Length: 5317 (5.2K) [application/xml]
            Saving to: `plan?os_authType=basic.1'
            
            100%[==========================================================================================================================================>] 5,317       25.4K/s   in 0.2s    
            
            2010-11-03 12:03:47 (25.4 KB/s) - `plan?os_authType=basic.1' saved [5317/5317]
            

            A workaround is also to use os_username & os_password parameters directly in URL (omit the os_authType). Something like

            https://beezag.jira.com/builds/rest/api/latest/plan?os_username=user&os_password=secret

            should also work

            Cheers,

            Mark C

            MarkC added a comment - Denis, Not sure what could be the problem here but I can run a similar command successfully on our local systems. wget --http-user='XXXXX' --http-password='XXXXXX' 'https://j.b.atlassian.com/rest/api/latest/plan?os_authType=basic' --no-check-certificate --2010-11-03 12:03:43-- https://j.b.atlassian.com/rest/api/latest/plan?os_authType=basic Resolving j.b.atlassian.com... 63.246.22.196 Connecting to j.b.atlassian.com|63.246.22.196|:443... connected. WARNING: certificate common name `*.atlassian.com' doesn't match requested host name `j.b.atlassian.com'. HTTP request sent, awaiting response... 401 Unauthorized Reusing existing connection to j.b.atlassian.com:443. HTTP request sent, awaiting response... 200 OK Length: 5317 (5.2K) [application/xml] Saving to: `plan?os_authType=basic.1' 100%[==========================================================================================================================================>] 5,317 25.4K/s in 0.2s 2010-11-03 12:03:47 (25.4 KB/s) - `plan?os_authType=basic.1' saved [5317/5317] A workaround is also to use os_username & os_password parameters directly in URL (omit the os_authType). Something like https://beezag.jira.com/builds/rest/api/latest/plan?os_username=user&os_password=secret should also work Cheers, Mark C

              Unassigned Unassigned
              df768ae116b9 Denis Tsyplakov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: