[jbosstools-issues] [JBoss JIRA] (JBIDE-14354) I dont get credentials reported when I create a jenkins initially (when creating an app) (WATCHER ISSUE)
Andre Dietisheim (JIRA)
jira-events at lists.jboss.org
Tue Apr 30 08:57:53 EDT 2013
[ https://issues.jboss.org/browse/JBIDE-14354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12771028#comment-12771028 ]
Andre Dietisheim commented on JBIDE-14354:
------------------------------------------
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.
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}
> I dont get credentials reported when I create a jenkins initially (when creating an app) (WATCHER ISSUE)
> --------------------------------------------------------------------------------------------------------
>
> Key: JBIDE-14354
> URL: https://issues.jboss.org/browse/JBIDE-14354
> Project: Tools (JBoss Tools)
> Issue Type: Task
> 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, no-information-from-openshift.png, null-creation-log.png
>
>
> # EXEC: launch the OpenShift application wizard
> # EXEC: in the embedded cartridges, check jenkins-client
> # ASSERT: you get a dialog that tells you that you have to create a jenkins application
> # EXEC: hit "Apply"
> # ASSERT: you get prompted to provide a name for the jenkins application
> # EXEC: provide some name
> # ASSERT: wait until you get the creation log presented in a dialog
> Result:
> The dialogs shows *null*
> !null-creation-log.png!
> Expected:
> The creation log dialog prints the IP, username and password for your jenkins instance
> !correct-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