Skip to content

Commit

Permalink
new test
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher Becker committed Jun 11, 2024
1 parent dca39f1 commit 653e210
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
1 change: 1 addition & 0 deletions pipeline/GitCommit.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 0 additions & 10 deletions pipeline/GitHubCommit.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down

0 comments on commit 653e210

Please sign in to comment.