Skip to content

Commit

Permalink
Merge pull request #50 from bcgov-nr/feat/removeArtifactName
Browse files Browse the repository at this point in the history
feat: remove artifact name from job submission
  • Loading branch information
andrwils authored May 7, 2024
2 parents 456bb72 + 5e20d60 commit 2ad1a32
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions generators/gh-maven-build/templates/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,6 @@ jobs:
curl \
--data-urlencode "token=${{ secrets.JENKINS_TOKEN }}" \
--data-urlencode "githubToken=${{ secrets.GITHUB_TOKEN }}" \
--data-urlencode "artifactName=${ARTIFACT_NAME}" \
--data-urlencode "artifactSha256=${ARTIFACT_SHA256}" \
--data-urlencode "projectVersion=${PROJECT_VERSION}" \
--data-urlencode "gitBranch=${{ github.ref_name }}" \
Expand All @@ -191,7 +190,6 @@ jobs:
curl \
--data-urlencode "token=${{ secrets.JENKINS_TOKEN }}" \
--data-urlencode "githubToken=${{ secrets.GITHUB_TOKEN }}" \
--data-urlencode "artifactName=${ARTIFACT_NAME}" \
--data-urlencode "artifactSha256=${ARTIFACT_SHA256}" \
--data-urlencode "projectVersion=${PROJECT_VERSION}" \
--data-urlencode "gitBranch=${{ github.ref_name }}" \
Expand All @@ -207,7 +205,6 @@ jobs:
PROJECT_VERSION: ${{ needs.deploy-build.outputs.project_version || needs.deploy-tag.outputs.project_version }}
BUILD_GUID: ${{ needs.deploy-build.outputs.build_guid || needs.deploy-tag.outputs.build_guid }}
BUILD_NUMBER: ${{ needs.deploy-build.outputs.build_number || needs.deploy-tag.outputs.build_number }}
ARTIFACT_NAME: ${{ needs.deploy-build.outputs.artifact_name || needs.deploy-tag.outputs.artifact_name }}
ARTIFACT_SHA256: ${{ needs.deploy-build.outputs.artifact_sha256 || needs.deploy-tag.outputs.artifact_sha256 }}
DOWNLOAD_URL: ${{ needs.deploy-build.outputs.download_url || needs.deploy-tag.outputs.download_url }}
# The automatically generated GitHub token will expire when the workflow ends. We need to wait so the job has time to clone the repo.
Expand Down

0 comments on commit 2ad1a32

Please sign in to comment.