We're updating the issue view to help you get more done. 

Create a Jenkinsfile for cce service

Description

Describe cce service's build steps in a declarative Jenkinsfile. Create a multi-branch pipeline job based on that file.
An example Jenkinsfile can be found here: https://github.com/OpenLMIS/openlmis-referencedata/blob/master/Jenkinsfile

Stages for a service:

  • Build (includes unit and integration tests)

  • Sonar analysis

  • Contract tests

  • Publish the image

AC:

  • The Jenkinsfile exists in openlmis-cce repository and contains all the required stages

  • There is a multi-branch Jenkins pipeline based on that Jenkinsfile

  • In order to run contract tests, existing jobs are invoked

  • Contract test and sonar analysis stages are executed in parallel

  • The image is only pushed if all stages succeed and it's either 'master' or 'rel-*' branch

Status

Assignee

Jakub Kondrat

Reporter

Jakub Kondrat

Labels

Story Points

1

Time tracking

2h

Sprint

None

Priority

Major