fabric8io / fabric8-forge

Supports JBoss Forge plugins for the Fabric8 iPaaS along with using Forge as a REST service inside Fabric8 DevOps
Apache License 2.0
11 stars 21 forks source link

Jenkinsfile for non container build #712

Closed davsclaus closed 7 years ago

davsclaus commented 7 years ago

We need a plain Jenkinsfile for projects that are not docker/container/kubernetes based. For example Camel connectors for iPaaS.

When creating a Camel connector we can include the Jenkinsfile in that source code, so its not in those default chooseable pipelines you see in the fabric8 web console.

@rawlingsj wonder if you can help me or point me to a plain jenkinsfile for a plain maven project. All it need to do is to install the JAR to the local nexus repo.

davsclaus commented 7 years ago

@gashcrumb so when we get this sorted you should be able to create new connectors from the fabric8 web console.

gashcrumb commented 7 years ago

ah awesome that'll definitely be handy!

davsclaus commented 7 years ago

Ah there is the Deploy pipeline OOTB we can use.

davsclaus commented 7 years ago

Just need the create-connector wizard to default select that and omit the others so there is no choices for the end user.

davsclaus commented 7 years ago

@gashcrumb okay so you can build your own connectors and the search command should see the new ones, when it runs its index again (every 60th sec).

A few steps to ensure (until we improve fabric8-forge)

davsclaus commented 7 years ago

And the indexer should log if it finds any connectors in the fabric8-forge logs such as

Indexing Nexus http://nexus/service/local/data_index +++ start +++
Found connector: org.example:cake-connector:1.0.0-SNAPSHOT
Indexing Nexus http://nexus/service/local/data_index +++ end +++
davsclaus commented 7 years ago

And you can run the index yourself from the nexus url

http://192.168.64.20:31168/service/local/data_index?q=connector

eg run gofabric8 service nexus to get the ip:port and then that url above is what fabric8-forge command uses

davsclaus commented 7 years ago

Duplicate of #713