Skip to content

Latest commit

 

History

History
43 lines (28 loc) · 2.09 KB

README.md

File metadata and controls

43 lines (28 loc) · 2.09 KB

Using abaplint in Continuous Integration

There are several ways to enable automated linting of your code in popular cloud git repositories. This will allow auto-linting of commits to the default branch and auto checks for upcoming pull requests from colleagues or contributors.

GitHub App

abaplint can be installed using the GitHub App, it takes just a few clicks.

abaplint.app gives annotations, suggested changes, additional insights and more.

Github Actions

Add abaplint-action to the action, this will give annotated errors in the actions log.

Does not give annotations for pull requests via forks.

Github Actions, raw setup

Raw setup, example workflow can be seen in github-actions-workflow.yml. See working repo example at abaplinted_sample gitHUB

Gitlab Pipelines

example can be found in examples/.gitlab-ci.yml.

To use abaplint_commit_only rule, create an abaplint_template file that should reflect the .abaplint.json file with an additional rule in the global section. Formatting is important.

"noIssues" : [
        ###NOISSUES###
        ],

Working repo for this configuration can be found at abaplinted_sample gitLAB or sbu-absw/abaplint-example

Travis CI

example configuration is in examples/.travis.yml. Repository example is at abaplinted_sample gitHUB (also check pull requests)

Blog Post

Bitbucket Pipelines

Example

Azure Pipelines

Azure Pipelines Task

Example, running pipeline for GitHub repository