Skip to content

Commit

Permalink
Added jenkins smoke groovy for smoke testing (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ganesh Hubale authored Jul 13, 2020
1 parent 352b0cd commit cb61bec
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions Jenkinsfile-smoke.groovy
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/*
* Requires: https://github.com/RedHatInsights/insights-pipeline-lib
*/

@Library("github.com/RedHatInsights/insights-pipeline-lib@v3") _

if (env.CHANGE_ID) {
execSmokeTest(
// the service-set/component for this app in e2e-deploy "buildfactory"
ocDeployerBuilderPath: "xavier/xavier-analytics",

// the service-set/component for this app in e2e-deploy "templates"
ocDeployerComponentPath: "xavier/xavier-analytics-kieserver",

// the service sets to deploy into the test environment
ocDeployerServiceSets: "platform-mq,rbac,ingress,xavier",

// the iqe plugins to install for the test
iqePlugins: ["iqe-migration_analytics-plugin"],

// the pytest marker to use when calling `iqe tests all`
pytestMarker: "ma_analytics",

// optional id for an IQE configuration file stored as a secret in Jenkins
//configFileCredentialsId: "myId",
)
}

0 comments on commit cb61bec

Please sign in to comment.