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

[CI] fix No such property: APM_URL_BASE #185

Merged
merged 6 commits into from
Oct 22, 2020
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
10 changes: 8 additions & 2 deletions .ci/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,14 @@ pipeline {
dir("${BASE_DIR}"){
sh(label: 'make batch',
script: """#!/bin/bash
echo "beats_url_base: ${BEATS_URL_BASE}" > run-settings-jenkins.yml
echo "apm_url_base: ${APM_URL_BASE}" >> run-settings-jenkins.yml
## Skip BEATS if no params.
if [ -n "${env.BEATS_URL_BASE?.trim()}" ] ; then
echo "beats_url_base: ${env.BEATS_URL_BASE}" > run-settings-jenkins.yml
fi
## Skip APM if no params.
if [ -n "${env.APM_URL_BASE?.trim()}" ] ; then
echo "apm_url_base: ${env.APM_URL_BASE}" >> run-settings-jenkins.yml
fi
echo "version: ${VERSION}" >> run-settings-jenkins.yml
RUN_SETTINGS=jenkins make batch""")
}
Expand Down