Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjustments needed for running ATC checks & AUnit tests on a static ABAP Environment system #30

Open
gregorwolf opened this issue Sep 21, 2023 · 2 comments
Assignees

Comments

@gregorwolf
Copy link

Hello,

I'm following the example Running ATC checks & AUnit tests on a static ABAP Environment system but did run into several issues when running it:

  1. The cfServiceKeyName is a mandatory parameter which is missing in .pipeline/config.yml. It needs to be set to sap_com_0510 to point to the service key that is described in the prerequisites.
  2. The step abapEnvironmentPullGitRepo failed with this error: "Step execution failed (category: undefined). Error: Checking configuration failed: You have not specified any repository configuration to be pulled into the ABAP Environment System. Please make sure that you specified the repositories that should be pulled either in a dedicated file or via the parameter 'repositoryNames'.". After defining repositoryName it worked for me. Maybe an issue in [Project Piper](https://github.com/SAP/jenkins-library).
  3. For the steps abapEnvironmentRunATCCheck and abapEnvironmentRunAUnitTest the service keys for the Communication Scenario SAP_COM_0901 and SAP_COM_0735 is missing. This needs to be added as additional prerequisites. In .pipeline/config.yml you can see my sample configuration.
  4. Unfortunately even with this updated configuration I run into the issue I've described in my comment to ATC steps runs into error #1963
@DanielMieg DanielMieg self-assigned this Sep 29, 2023
@DanielMieg
Copy link
Contributor

Hi!

Regarding point 2:
Could you try to add tabs to your repositories.yml? In yaml files, the indentation matters.

I need to check the other points. Usually, there are default values that should be considered here.

@DanielMieg
Copy link
Contributor

Hi,

would you be able to provide some logs showing the issues?

The expected behavior is that the default values from here are taken. In this default file, all cfServiceKeyNames are specified and should therefore not be required in the config.yml file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants