# Link one buildkite pipeline to another without triggering the other

**URL:** <https://forum.buildkite.community/t/link-one-buildkite-pipeline-to-another-without-triggering-the-other/3036>\
**Category:** Pipelines\
**Created:** [July 14, 2023, 7:11pm UTC](https://forum.buildkite.community/t/link-one-buildkite-pipeline-to-another-without-triggering-the-other/3036 "2023-07-14T19:11:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![cheezdog](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.buildkite.community/cheezdog/32/1269_2.png) [@cheezdog](https://forum.buildkite.community/u/cheezdog)\
**Post date:** [July 14, 2023, 7:11pm UTC](https://forum.buildkite.community/t/link-one-buildkite-pipeline-to-another-without-triggering-the-other/3036/1 "2023-07-14T19:11:02Z")

</div>

We have 2 repo one for the `source code` and other for the `tests`. Currently these both have separate `buildkite` pipelines. I’d like to implement some sort of user friendly way to have a link in the source code to the tests pipeline, whilst keeping these two pipelines separate and not triggering the test pipeline. Just linking to the tests pipeline, the best way I can think of this is just adding a link the the description of the source code but let me know if someone has a nicer approach. Thanks1

---

<div class="post-metadata">

**Author:** ![stephanie.atte](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.buildkite.community/stephanie.atte/32/1357_2.png) [@stephanie.atte](https://forum.buildkite.community/u/stephanie.atte)\
**Post date:** [July 14, 2023, 9:29pm UTC](https://forum.buildkite.community/t/link-one-buildkite-pipeline-to-another-without-triggering-the-other/3036/2 "2023-07-14T21:29:21Z")

</div>

Hey @cheezdog

Thanks for reaching out!

I just want to clarify, do you mean you just want to add a link(url) to a pipeline from another pipeline. Or you want to have access to the test repo from the source code repo.

Cheers!

---

<div class="post-metadata">

**Author:** ![cheezdog](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.buildkite.community/cheezdog/32/1269_2.png) [@cheezdog](https://forum.buildkite.community/u/cheezdog)\
**Post date:** [July 17, 2023, 2:46pm UTC](https://forum.buildkite.community/t/link-one-buildkite-pipeline-to-another-without-triggering-the-other/3036/3 "2023-07-17T14:46:30Z")

</div>

Hey, thanks for the help, and yeah I pretty much just want to add a visible link to the tests Buildkite pipeline. Specifically wondering if there is a way I could create a step in my pipeline.yaml file that when clicked in the Build UI, will just link you to the other pipeline.

---

<div class="post-metadata">

**Author:** ![stephanie.atte](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.buildkite.community/stephanie.atte/32/1357_2.png) [@stephanie.atte](https://forum.buildkite.community/u/stephanie.atte)\
**Post date:** [July 17, 2023, 3:22pm UTC](https://forum.buildkite.community/t/link-one-buildkite-pipeline-to-another-without-triggering-the-other/3036/4 "2023-07-17T15:22:49Z")

</div>

Hey @cheezdog

Thanks for the clarification.

A work around can be done using the [buildkite-agent annotation](https://buildkite.com/docs/agent/v3/cli-annotate#embedding-and-linking-artifacts-in-annotations)

The Example below, a step in a pipeline creates an annotation with a link to a Sample Pipeline.

```auto
steps:
  - label: "Link to Sample Pipeline"
    command: |
      cat << EOF | buildkite-agent annotate --style "info"
        Read the <a href="https://buildkite.com/test-org/samplePipeline">Sample Pipeline</a>
      EOF

```

Hope this helps!  
Cheers!
