[jbosstools-issues] [JBoss JIRA] (JBIDE-20032) Import wizard: should clone/checkout specific branch given in GIT_REF to template
Andre Dietisheim (JIRA)
issues at jboss.org
Wed Jun 10 17:07:02 EDT 2015
[ https://issues.jboss.org/browse/JBIDE-20032?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andre Dietisheim updated JBIDE-20032:
-------------------------------------
Steps to Reproduce:
# ASSERT: make sure that you have a v3 OpenShift server connection
# ASSERT: git clone https://github.com/jboss-developer/jboss-eap-quickstarts
# EXEC: in Explorer: launch "New"->"Application"
# EXEC: use local/disk template, point it to eap/eap6-basic-sti.json
# EXEC: set
* GIT_URI to https://github.com/jboss-developer/jboss-eap-quickstarts
* GIT_CONTEXT_DIR to helloworld
* GIT_REF to 6.4.x
# EXEC: hit finish, have your resources created
# ASSERT: new buildConfig was created and is visible in explorer (pointing to https://github.com/jboss-developer/jboss-eap-quickstarts)
# EXEC: back in Explorer unfold your new buildConfig and pick "Import Appliction" from context menu, trigger import
# ASSERT: once cloning is done you have a lot of new projects in your workspace.
# EXEC: verify what branch is checked out
Result:
The import wizard clone and checked out master (7.0.x-develop)
!jboss-helloworld.png!
Expected result:
It should have have cloned/checked out 6.4.x (as given in GIT_REF)
was:
# ASSERT: make sure that you have a v3 OpenShift server connection
# ASSERT: git clone https://github.com/jboss-developer/jboss-eap-quickstarts
# EXEC: in Explorer: launch "New"->"Application"
# EXEC: use local/disk template, point it to eap/eap6-basic-sti.json
# EXEC: set
* GIT_URI to https://github.com/jboss-developer/jboss-eap-quickstarts
* GIT_CONTEXT_DIR to helloworld
* GIT_REF to 6.4.x
# EXEC: hit finish, have your resources created
# ASSERT: new buildConfig was created and is visible in explorer (pointing to https://github.com/jboss-developer/jboss-eap-quickstarts)
# EXEC: back in Explorer unfold your new buildConfig and pick "Import Appliction" from context menu, trigger import
# ASSERT: once cloning is done you have a lot of new projects in your workspace.
# EXEC: verify what branch is checked out
Result:
The import wizard clone and checked out master (7.0.x-develop) , where it should have 6.4.x (as given in GIT_REF)
!jboss-helloworld.png!
!maven-projects-imported.png!
Expected result:
Only "helloworld" is imported into eclipse since this is the project that we want to work on.
!jboss-helloworld.png!
> Import wizard: should clone/checkout specific branch given in GIT_REF to template
> ---------------------------------------------------------------------------------
>
> Key: JBIDE-20032
> URL: https://issues.jboss.org/browse/JBIDE-20032
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.3.0.Beta1
> Reporter: Andre Dietisheim
> Assignee: Andre Dietisheim
> Labels: import_wizard, openshift_v3
> Fix For: 4.3.0.Beta2
>
> Attachments: jboss-helloworld.png
>
>
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
More information about the jbosstools-issues
mailing list