forked from RedHatInsights/sources-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathJenkinsfile-smoke.groovy
25 lines (22 loc) · 990 Bytes
/
Jenkinsfile-smoke.groovy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*
* Requires: https://github.com/RedHatInsights/insights-pipeline-lib
*/
@Library("github.com/RedHatInsights/insights-pipeline-lib") _
// this 'if' statement makes sure this is a PR, so we don't run smoke tests again
// after code has been merged into the stable branch.
if (env.CHANGE_ID) {
runSmokeTest (
// the service-set/component for this app in e2e-deploy "buildfactory"
ocDeployerBuilderPath: "sources/sources-api",
// the service-set/component for this app in e2e-deploy "templates"
ocDeployerComponentPath: "sources/sources-api",
// the service sets to deploy into the test environment
ocDeployerServiceSets: "platform-mq,sources",
// the iqe plugins to install for the test
iqePlugins: ["iqe-sources-plugin"],
// the pytest marker to use when calling `iqe tests all`
pytestMarker: "sources_smoke",
// Config file for tests
configFileCredentialsId: "sources-config"
)
}