Skip to content

lectra-tech/popcorn-jenkins-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Popcorn Jenkins Plugin

This Jenkins plugin exposes functionalities for the Popcorn by Lectra open-source Jenkins platform on Kubernetes.

This plugin is only useful together with Popcorn by Lectra itself.

If you want more information on how to use Popcorn by Lectra on Kubernetes, follow this guide.

Build

The project is automatically built by Github Actions.

Branches policy

The project relies on 2 protected branches

  • main: the default branch of the project. It is the one that committers can push to.
    Pull-Request after successful build and acceptance can be merged into this branch.
  • release: this branch accepts only fast-forward merges from main.
    When this branch is updated it triggers and automatic release of the project.

Local build, tests

  • Build the project: mvn package
  • Launch all projects tests: mvn verify
  • Start a local Jenkins with the plugin deployed: mvn hpi:run

Upgrading project version

During a release, only the patch version of the project semantic version will be updated. If you want to change the major or minor version you have to change it manually in the pom.xml file and commit your change.

Release

In order to fire a release, MAINTAINERS have to update release branch onto the commit they want, normally main.

git checkout release
git fetch origin main
git merge --ff-only origin/main
git push origin release

By doing so, a Github Actions pipeline will be fired and will:

  • remove the SNAPSHOT version of the project
  • tag the git repository with the new fixed version
  • build and test/verify the project
  • publish a Github release with changelog and produced artifacts attached to it
  • update the patch version of the project and add SNAPSHOT to it to prepare next development
  • update automatically the main branch to reflect the changes

Sponsor

This project is provided to the open-source community by Lectra under the Apache-2 license.

Other Lectra OSS contributions: