diff --git a/pipeline/GitCommit.py b/pipeline/GitCommit.py index e31611a..8cda3b4 100644 --- a/pipeline/GitCommit.py +++ b/pipeline/GitCommit.py @@ -13,6 +13,7 @@ def __init__(self, branch_name, commit_hash, commit_message, image_name, project_url, pipeline_id, pipeline_link_url, commit_link_url, test_report_link_url, codequality_report_link_url): self.branch_name = branch_name + print(branch_name) self.commit_hash = commit_hash self.commit_message = commit_message self.image_name = image_name diff --git a/pipeline/GitHubCommit.py b/pipeline/GitHubCommit.py index 282c437..1a61792 100644 --- a/pipeline/GitHubCommit.py +++ b/pipeline/GitHubCommit.py @@ -12,25 +12,15 @@ class GitHubCommit(GitCommit): Verfügung gestellt. ''' def __init__(self): - github_commit_message = os.environ.get('GH_COMMIT_MESSAGE') - print(github_commit_message) github_commit_hash = os.environ.get('GH_COMMIT_HASH') - print(github_commit_hash) github_commit_link_url = os.environ.get('GH_COMMIT_LINK_URL') - print(github_commit_link_url) github_branch_name = os.environ.get('GITHUB_REF_NAME') - print(github_branch_name) github_full_name = os.environ.get('GH_FULL_NAME') - print(github_full_name) github_image_name = f'{github_full_name}/{github_commit_hash}' - print(github_image_name) github_project_url = os.environ.get('GH_PROJECT_URL') - print(github_project_url) github_pipeline_id = os.environ.get('GITHUB_RUN_ID') - print(github_pipeline_id) github_pipeline_link_url = f'{github_project_url}/actions/runs/{github_pipeline_id}' - print(github_pipeline_link_url) github_test_report_link_url = 'placeholder_string' github_codequality_report_link_url = 'placeholder_string'