abapGit CI Tests
Results from latest CI run: https://ci.abapgit.org
Repo abapGit CI provides basic continuous integration capabilities for abapGit. The repository aims to test the serialization and deserialization of object types, as these cannot be unit-tested properly.
The CI process fetches abapGit test repos from abapGit Tests. Then for each repository, the following steps are executed:
- create a package (if needed)
- syntax check
- object check
- create transport request
- purge (uninstall)
- delete transport request
- check for leftovers
Additionally, a set of generic tests is performed checking the latest abapGit build.
If there is any error in these steps abapGit CI will indicate that.
ZABAPGIT_CI_UPDATE_ABAPGIT to update the abapGit repo.
ZABAPGIT_CI_UPDATE_ABAPGIT_CI to update the abapGit CI repo.
There are currently three possibilities to run abapGit CI:
1. Adhoc CI with report
2. REST API
3. Schedule job sequence with report
A job sequence is created with
- Update abapGit repo
- Update abapGit CI repo
- Run abapGit CI
Check transportable packages
Optionally you can also let abapGit CI create the repositories in transportable packages. You need to activate the checkbox in the selection screen and specify the transport layer. Then the pull and purge actions will each get recorded into a transport request per repository. These get released and their content is checked to ensure it matches the objects in the repository.
To set up a suitable transport landscape on the AS ABAP Developer Edition you need to create a new virtual system in STMS (for example
Virtual export system). This serves as a dummy export target for transport requests. Next, you need to create a new transport layer (for example
ZEXP) and connect the current system and the virtual system with it. Then save and activate the configuration.
There are a few prerequisites for running the CI test suite:
- abapGit developer version must be installed
- SAP Basis 7.50 or higher
- Tests are hosted at https://github.com/abapGit-tests
- Test objects shall be included in SAP Basis 7.50 (Exception: the main object type is only available in higher releases)
- Test objects from SAP ERP or industry solutions shall be avoided (Exception: the main object type is only available in ERP)