From 423df1334d43797f141a61220829d6e46ef7d52b Mon Sep 17 00:00:00 2001 From: Macklin Underdown Date: Tue, 27 Jun 2017 11:29:42 -0400 Subject: [PATCH] Clean up Jenkins doc formatting and URLs --- source/ci_source/providers/Jenkins.ts | 28 +++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/source/ci_source/providers/Jenkins.ts b/source/ci_source/providers/Jenkins.ts index 8e42ad89b..1748baa89 100644 --- a/source/ci_source/providers/Jenkins.ts +++ b/source/ci_source/providers/Jenkins.ts @@ -1,29 +1,29 @@ import { Env, CISource } from "../ci_source" import { ensureEnvKeysExist, ensureEnvKeysAreInt } from "../ci_source_helpers" -// https://jenkins-ci.org +// https://jenkins.io/ /** - * ### CI Setup - * Ah Jenkins, so many memories. So, if you're using Jenkins, you're hosting your own environment. + * ### CI Setup + * Ah Jenkins, so many memories. So, if you're using Jenkins, you're hosting your own environment. * - * ### GitHub - * You will want to be using the - * [GitHub pull request builder plugin](https://wiki.jenkins-ci.org/display/JENKINS/GitHub+pull+request+builder+plugin) - * in order to ensure that you have the build environment set up for PR integration. + * ### GitHub + * You will want to be using the + * [GitHub pull request builder plugin](https://wiki.jenkins.io/display/JENKINS/GitHub+pull+request+builder+plugin) + * in order to ensure that you have the build environment set up for PR integration. * - * With that set up, you can edit your job to add `yarn danger` at the build action. + * With that set up, you can edit your job to add `yarn danger` at the build action. * - * ### Pipeline + * ### Pipeline * If you're using [pipelines](https://jenkins.io/solutions/pipeline/) you should be using the - * [GitHub branch source plugin](https://wiki.jenkins-ci.org/display/JENKINS/GitHub+Branch+Source+Plugin) for easy setup and handling of PRs. + * [GitHub branch source plugin](https://wiki.jenkins.io/display/JENKINS/GitHub+Branch+Source+Plugin) for easy setup and handling of PRs. * - * After you've set up the plugin, add a `sh 'yarn danger'` line in your pipeline script and make sure that build PRs is enabled. + * After you've set up the plugin, add a `sh 'yarn danger'` line in your pipeline script and make sure that build PRs is enabled. * - * ## Token Setup + * ## Token Setup * - * ### GitHub - * As you own the machine, it's up to you to add the environment variable for the `DANGER_GITHUB_API_TOKEN`. + * ### GitHub + * As you own the machine, it's up to you to add the environment variable for the `DANGER_GITHUB_API_TOKEN`. */ export class Jenkins implements CISource { constructor(private readonly env: Env) {}