Skip to content

Instantly share code, notes, and snippets.

@eleanorakh
Created July 31, 2019 06:13
Show Gist options
  • Save eleanorakh/0165b0d14130af65c994157a93011b25 to your computer and use it in GitHub Desktop.
Save eleanorakh/0165b0d14130af65c994157a93011b25 to your computer and use it in GitHub Desktop.
diff --git a/environment-hook.bash b/environment-hook.bash
index f5d2649..8d664b8 100644
--- a/environment-hook.bash
+++ b/environment-hook.bash
@@ -1,4 +1,4 @@
-if [[ "${BUILDKITE_LABEL:-}" != ":pipeline:" ]]; then
+if [[ "${BUILDKITE_STEP_IDENTIFIER:-}" != "pipeline-upload" ]]; then
echo "--- :git: Getting scala-common tests"
git clone [email protected]:redacted/redacted.git
diff --git a/pipeline.yml b/pipeline.yml
index 6158261..29ec912 100644
--- a/pipeline.yml
+++ b/pipeline.yml
@@ -2,3 +2,4 @@
steps:
- label: ":pipeline:"
command: buildkite-agent pipeline upload
+ id: pipeline-upload
\ No newline at end of file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment