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

Fix maps jenkinsfile not retrieving the correct commit #31

Merged
merged 3 commits into from
Oct 17, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions jenkins/maps-server-release.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ pipeline {
currentBuild.description = """User/Timer: <a href="${ref_url}">${ref_url}</a>"""
}

echo("Git checkout ${REPO_URL} on ${ref_final} for maps-server release")
git url: "${REPO_URL}", branch: "${ref_final}"

def MAPS_PRODUCT = "opensearch-maps-server"
def MAPS_VERSION = sh (
script: "cat ${MAPS_PRODUCT}/package.json | grep version | cut -d: -f2 | grep -Eo '[0-9.]+'",
Expand Down