{"id":9510,"date":"2022-04-21T00:54:32","date_gmt":"2022-04-21T04:54:32","guid":{"rendered":"https:\/\/www.redline13.com\/blog\/?post_type=docs&#038;p=9510"},"modified":"2023-05-22T09:07:39","modified_gmt":"2023-05-22T13:07:39","password":"","slug":"jenkins-integration","status":"publish","type":"docs","link":"https:\/\/www.redline13.com\/blog\/docs\/jenkins-integration\/","title":{"rendered":"Jenkins Integration"},"content":{"rendered":"\n<p>RedLine13 supports automation (<em>e.g.<\/em>, <a href=\"https:\/\/en.wikipedia.org\/wiki\/CI\/CD\" target=\"_blank\" rel=\"noreferrer noopener\">CD\/CI<\/a>, load test scheduling, <em>etc<\/em>.) directly with a <a href=\"https:\/\/www.jenkins.io\/sigs\/docs\/\" target=\"_blank\" rel=\"noreferrer noopener\">Jenkins<\/a> integration.  To enable this feature, you will first have to download and install the Jenkins plugin.  This can be accessed from the following location:<\/p>\n\n\n\n<p><a href=\"https:\/\/www.redline13.com\/Account\/apikey\">https:\/\/www.redline13.com\/Account\/apikey<\/a><\/p>\n\n\n\n<p>As part of the installation process, you will also need your unique RedLine13 API key.  This can be found in the <a href=\"https:\/\/www.redline13.com\/Account\/ApiKey\" target=\"_blank\" rel=\"noreferrer noopener\">API Key Manager<\/a> which is also accessible from the &#8220;<em>API<\/em>&#8221; menu on the main navigation bar after logging in.  Once you have installed the above plugin, you can set up your API key within Jenkins under &#8220;<em>Manage Credentials<\/em>&#8221; as show below:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2022\/08\/jenkins_manage_credentials-1024x632.png\" alt=\"Setting up the RedLine13 API key within Jenkins\" class=\"wp-image-9988\" width=\"343\" height=\"212\" srcset=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2022\/08\/jenkins_manage_credentials-1024x632.png 1024w, https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2022\/08\/jenkins_manage_credentials-300x185.png 300w, https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2022\/08\/jenkins_manage_credentials-768x474.png 768w, https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2022\/08\/jenkins_manage_credentials-425x262.png 425w, https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2022\/08\/jenkins_manage_credentials.png 1124w\" sizes=\"auto, (max-width: 343px) 100vw, 343px\" \/><figcaption class=\"wp-element-caption\">The RedLine13 API key must be set up within Jenkins to successfully complete the integration.<\/figcaption><\/figure>\n<\/div>\n\n\n<p>Once you enter your API key as prompted, it is advised that you test it against RedLine13 to ensure that it is correct.  After verifying that, you must click on &#8220;<em>Save<\/em>&#8221; to retain your configuration changes:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2022\/08\/jenkins_manage_credentials_setup_and_test-1024x619.png\" alt=\"Entering, testing, and saving the RedLine13 API key within Jenkins \" class=\"wp-image-9991\" width=\"512\" height=\"310\" srcset=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2022\/08\/jenkins_manage_credentials_setup_and_test-1024x619.png 1024w, https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2022\/08\/jenkins_manage_credentials_setup_and_test-300x181.png 300w, https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2022\/08\/jenkins_manage_credentials_setup_and_test-768x464.png 768w, https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2022\/08\/jenkins_manage_credentials_setup_and_test-1536x928.png 1536w, https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2022\/08\/jenkins_manage_credentials_setup_and_test-425x257.png 425w, https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2022\/08\/jenkins_manage_credentials_setup_and_test.png 2001w\" sizes=\"auto, (max-width: 512px) 100vw, 512px\" \/><figcaption class=\"wp-element-caption\">You can test your API key configuration after entering it.  Be sure to click the &#8220;<em>Save<\/em>&#8221; button to retain your configuration changes.<\/figcaption><\/figure>\n<\/div>\n\n\n<h3 class=\"wp-block-heading\">Build Step Types in Jenkins<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Scenario Build Type &#8211; Run pre-configured tests already saved on RedLine13<\/li>\n\n\n\n<li>Specific Test Types &#8211; for Custom, JMeter, Gatling<\/li>\n\n\n\n<li>Can read more <a href=\"https:\/\/www.redline13.com\/blog\/2018\/11\/test-types-with-jenkins-and-redline13\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/www.redline13.com\/blog\/2018\/11\/test-types-with-jenkins-and-redline13\/<\/a><\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Using Jenkins Pipelines<\/h3>\n\n\n\n<p>The primary concept in Jenkins is based on <a href=\"https:\/\/www.jenkins.io\/doc\/book\/pipeline\/\" target=\"_blank\" rel=\"noreferrer noopener\">pipelines<\/a>, which perform a job based on conditions.  Below is a scaffolded example of a pipeline script that calls a RedLine13 test.  You may use this example as a starting point and modify it to suit your testing needs:<\/p>\n\n\n\n<p><code>redlineJMeter(<br>    name: 'Test Name',<br>    desc: 'Description of your load test',<br>    storeOutput: true,<br>    masterFile: 'path\/Test_Plan.jmx' ,<br>    version: '5.4.1',<br>    jvmArgs: '',<br>    plugins: [plugin: 'jmeterpluginmanager'],<br>    opts: '',<br>    servers:<br>    [<br>        [<br>            associatePublicIpAddress: true,<br>            location: 'us-east-1',<br>            numberServers: 1,<br>            securityGroupIds: '',<br>            size: 'm3.medium',<br>            subnetId: ''<br>        ]<br>    ],<br>    thresholds:<br>    [<br>        errorFailedThreshold: 0,<br>        errorUnstableThreshold: 0,<br>        responseTimeFailedThreshold: 0,<br>        responseTimeUnstableThreshold: 0<br>    ]<br>)<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>RedLine13 supports automation (e.g., CD\/CI, load test scheduling, etc.) directly with a Jenkins integration. To enable this feature, you will first have to download and install the Jenkins plugin. This can be accessed from the following location: https:\/\/www.redline13.com\/Account\/apikey As part of the installation process, you will also need your unique RedLine13 API key. This can be found in the API Key Manager which is also accessible from the &#8220;API&#8221; menu on the main navigation bar after<a class=\"more-link\" href=\"https:\/\/www.redline13.com\/blog\/docs\/jenkins-integration\/\">Read More &rarr;<\/a><\/p>\n","protected":false},"author":11,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[583],"doc_tag":[],"class_list":{"0":"entry","1":"docs","2":"publish","3":"author-dkoziel","4":"post-9510","6":"doc_category-advanced-integrations"},"year_month":"2026-04","word_count":309,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"David Koziel","author_nicename":"dkoziel","author_url":"https:\/\/www.redline13.com\/blog\/author\/dkoziel\/"},"doc_category_info":[{"term_name":"Advanced Integrations","term_url":"https:\/\/www.redline13.com\/blog\/docs-category\/advanced-integrations\/"}],"doc_tag_info":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.12 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Jenkins Integration - RedLine13<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.redline13.com\/blog\/docs\/jenkins-integration\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Jenkins Integration - RedLine13\" \/>\n<meta property=\"og:description\" content=\"RedLine13 supports automation (e.g., CD\/CI, load test scheduling, etc.) directly with a Jenkins integration. To enable this feature, you will first have to download and install the Jenkins plugin. This can be accessed from the following location: https:\/\/www.redline13.com\/Account\/apikey As part of the installation process, you will also need your unique RedLine13 API key. This can be found in the API Key Manager which is also accessible from the &#8220;API&#8221; menu on the main navigation bar afterRead More &rarr;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.redline13.com\/blog\/docs\/jenkins-integration\/\" \/>\n<meta property=\"og:site_name\" content=\"RedLine13\" \/>\n<meta property=\"article:modified_time\" content=\"2023-05-22T13:07:39+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2022\/08\/jenkins_manage_credentials-1024x632.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.redline13.com\/blog\/docs\/jenkins-integration\/\",\"url\":\"https:\/\/www.redline13.com\/blog\/docs\/jenkins-integration\/\",\"name\":\"Jenkins Integration - RedLine13\",\"isPartOf\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/#website\"},\"datePublished\":\"2022-04-21T04:54:32+00:00\",\"dateModified\":\"2023-05-22T13:07:39+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/docs\/jenkins-integration\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.redline13.com\/blog\/docs\/jenkins-integration\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.redline13.com\/blog\/docs\/jenkins-integration\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.redline13.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Docs\",\"item\":\"https:\/\/www.redline13.com\/blog\/docs\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Jenkins Integration\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.redline13.com\/blog\/#website\",\"url\":\"https:\/\/www.redline13.com\/blog\/\",\"name\":\"RedLine13\",\"description\":\"(Almost) Free Load Testing in the Cloud\",\"publisher\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.redline13.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.redline13.com\/blog\/#organization\",\"name\":\"RedLine13\",\"url\":\"https:\/\/www.redline13.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.redline13.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2013\/06\/cropped-rl13-header-logo.jpg\",\"contentUrl\":\"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2013\/06\/cropped-rl13-header-logo.jpg\",\"width\":300,\"height\":68,\"caption\":\"RedLine13\"},\"image\":{\"@id\":\"https:\/\/www.redline13.com\/blog\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Jenkins Integration - RedLine13","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.redline13.com\/blog\/docs\/jenkins-integration\/","og_locale":"en_US","og_type":"article","og_title":"Jenkins Integration - RedLine13","og_description":"RedLine13 supports automation (e.g., CD\/CI, load test scheduling, etc.) directly with a Jenkins integration. To enable this feature, you will first have to download and install the Jenkins plugin. This can be accessed from the following location: https:\/\/www.redline13.com\/Account\/apikey As part of the installation process, you will also need your unique RedLine13 API key. This can be found in the API Key Manager which is also accessible from the &#8220;API&#8221; menu on the main navigation bar afterRead More &rarr;","og_url":"https:\/\/www.redline13.com\/blog\/docs\/jenkins-integration\/","og_site_name":"RedLine13","article_modified_time":"2023-05-22T13:07:39+00:00","og_image":[{"url":"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2022\/08\/jenkins_manage_credentials-1024x632.png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.redline13.com\/blog\/docs\/jenkins-integration\/","url":"https:\/\/www.redline13.com\/blog\/docs\/jenkins-integration\/","name":"Jenkins Integration - RedLine13","isPartOf":{"@id":"https:\/\/www.redline13.com\/blog\/#website"},"datePublished":"2022-04-21T04:54:32+00:00","dateModified":"2023-05-22T13:07:39+00:00","breadcrumb":{"@id":"https:\/\/www.redline13.com\/blog\/docs\/jenkins-integration\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.redline13.com\/blog\/docs\/jenkins-integration\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.redline13.com\/blog\/docs\/jenkins-integration\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.redline13.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Docs","item":"https:\/\/www.redline13.com\/blog\/docs\/"},{"@type":"ListItem","position":3,"name":"Jenkins Integration"}]},{"@type":"WebSite","@id":"https:\/\/www.redline13.com\/blog\/#website","url":"https:\/\/www.redline13.com\/blog\/","name":"RedLine13","description":"(Almost) Free Load Testing in the Cloud","publisher":{"@id":"https:\/\/www.redline13.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.redline13.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.redline13.com\/blog\/#organization","name":"RedLine13","url":"https:\/\/www.redline13.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.redline13.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2013\/06\/cropped-rl13-header-logo.jpg","contentUrl":"https:\/\/www.redline13.com\/blog\/wp-content\/uploads\/2013\/06\/cropped-rl13-header-logo.jpg","width":300,"height":68,"caption":"RedLine13"},"image":{"@id":"https:\/\/www.redline13.com\/blog\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/docs\/9510","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/comments?post=9510"}],"version-history":[{"count":6,"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/docs\/9510\/revisions"}],"predecessor-version":[{"id":10577,"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/docs\/9510\/revisions\/10577"}],"wp:attachment":[{"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/media?parent=9510"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/doc_category?post=9510"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.redline13.com\/blog\/wp-json\/wp\/v2\/doc_tag?post=9510"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}