[jbosstools-issues] [JBoss JIRA] (JBIDE-14342) I dont get credentials reported when I create a jenkins initially (when creating an app)

Andre Dietisheim (JIRA) jira-events at lists.jboss.org
Tue Apr 30 08:20:53 EDT 2013


    [ https://issues.jboss.org/browse/JBIDE-14342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12770866#comment-12770866 ] 

Andre Dietisheim edited comment on JBIDE-14342 at 4/30/13 8:20 AM:
-------------------------------------------------------------------

I noticed that it became very frequent (maybe 50% of the cases) that I get an unexpected response when I create a jenkins application. When it works I get a response of type "application" ("type":"application"), when it doesn't I get a response of type "domain" ("type":"domain") as if I had listed my domain.
In consequence JBoss Tools is not able to present the jenkins url and credentials to the user as it does when it works:

https://issues.jboss.org/browse/JBIDE-14342

When it works I get the following:

{code}
{

   "data":{
      "aliases":[
      ],
      "app_url":"http://jackie-1367305329108.rhcloud.com/",
      "build_job_url":null,
      "building_app":null,
      "building_with":null,
      "creation_time":"2013-04-30T11:59:05Z",
      "domain_id":"1367305329108",
      "embedded":{
      },
      "framework":"jenkins-1.4",
      ...
     "messages":[
      {
         "exit_code":null,
         "field":null,
         "severity":"info",
         "text":"Application jackie was created."
      },
      {
         "exit_code":0,
         "field":"current_ip",
         "severity":"info",
         "text":"184.73.138.68"
      },
      {
         "exit_code":0,
         "field":"result",
         "severity":"info",
         "text":"\nJenkins created successfully.  Please make note of these credentials:\n\n   User: admin\n   Password: XXXX \n\nNote:  You can change your password at: https://jackie-1367305329108.rhcloud.com/me/configure\n\n"
      }
   ],
   "status":"created",
   ...
   "type":"application",
   "version":"1.0"
   ...
{code}

If it doesn't, I get a response as if I had listed my domain. Of course there are no messages that would report the jenkins credentials and url:

{code}
{

   "data":{
      "id":"1367305329108",
      "links":{
         "GET":{
            "href":"https://openshift.redhat.com/broker/rest/domains/1367305329108",
            "method":"GET",
            "optional_params":[

            ],
            ...
   "messages":[
   ],
   "status":"ok",
   "type":"domain",
   "version":"1.0"
   ...

{code}

                
      was (Author: adietish):
    removed erroneous comment (commented wrong issue)
                  
> I dont get credentials reported when I create a jenkins initially (when creating an app)
> ----------------------------------------------------------------------------------------
>
>                 Key: JBIDE-14342
>                 URL: https://issues.jboss.org/browse/JBIDE-14342
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: openshift
>    Affects Versions: 4.1.0.Alpha2
>            Reporter: Andre Dietisheim
>            Assignee: Andre Dietisheim
>            Priority: Critical
>             Fix For: 4.1.0.Beta1
>
>         Attachments: correct-creation-log.png, null-creation-log.png
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list