Create a Jenkinsfile for cce-ui

Description

Describe cce-ui'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-requisition-ui/blob/master/Jenkinsfile

Stages for a UI component:

  • Build (includes tests)

  • Sonar analysis

  • Publish the image

  • Trigger reference-ui build

AC:

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

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

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

Status

Assignee

Mateusz Kwiatkowski

Reporter

Łukasz Lewczyński

Labels

None

Story Points

1

Time tracking

3h

Components

Sprint

None

Priority

Major