Praqma / pretested-integration-plugin

A generic pretest commit plugin for Jenkins CI
MIT License
7 stars 14 forks source link

Pip pre-grooming meeting #45

Closed groenborg closed 7 years ago

groenborg commented 7 years ago

Share knowledge of the plugin:

MadsNielsen commented 7 years ago

Claus's preliminary work: https://github.com/bicschneider/pretested-integration-plugin (branch pretestedAsGitExtension)

MadsNielsen commented 7 years ago

Other meeting summary: https://github.com/Praqma/pretested-integration-plugin/issues/44

groenborg commented 7 years ago

Pipeline compliancy

Problem

The SCM step is isolated in pipeline jobs and therefore we cannot access the credentials of the configured git.

Solution

Make a plugin extension to git that will add an advanced option to use pip in the SCM step, so the logic of pip is executed there.

This will solve merge and test phases, but not problems with publishing

groenborg commented 7 years ago

no abstract project for pipeline compliancy

groenborg commented 7 years ago

Publisher is optional and can be abstracted away when working on checkout, which is non-optional

groenborg commented 7 years ago

Use this as en example of the extension name https://github.com/Praqma/codesonar-plugin/blob/master/src/main/java/org/jenkinsci/plugins/codesonar/CodeSonarPublisher.java#L325-L327