Skip to content

Commit

Permalink
update PR test readme, scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
gabemontero committed Jul 20, 2017
1 parent ac355fd commit ce202b9
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 29 deletions.
4 changes: 2 additions & 2 deletions PR-Testing/README
@@ -1,7 +1,7 @@
These files are leveraged by the test-openshift-pipeline-plugin job at https://ci.openshift.redhat.com/jenkins.
A test image based off of the jenkins image at https://github.com/openshift/jenkins will be built with the dockerfile
here and any OpenShift Jenkins plugin file stored in the PR-Testing/jpi file as "openshift-pipeline.jpi". In the case of
the test-openshift-pipeline-plugin job, it will be the hpi file from your PR. But you can also test any local changes
the https://ci.openshift.redhat.com/jenkins/view/All/job/test_branch_jenkins_plugin/ job , it will be the hpi file from your PR. But you can also test any local changes
you have to the plugin in the same way.

To test your changes locally:
Expand All @@ -13,7 +13,7 @@ This script will build the docker image: openshift/jenkins-plugin-snapshot-test:
Next, run the extended tests for the plugin located at https://github.com/openshift/origin.
To target the snapshot image built above, set the environment variable USE_SNAPSHOT_JENKINS_IMAGE
to a non-empty string. For example, from the top level directory of the origin repository, run:
USE_SNAPSHOT_JENKINS_IMAGE=1 test/extended/core.sh --ginkgo.focus='openshift pipeline plugin' -ginkgo.v
USE_SNAPSHOT_JENKINS_IMAGE=1 make test-extended SUITE=core FOCUS='openshift pipeline plugin'

Note: Specifying the environment variable on the same line as the command to run limits the variable's lifetime to
the invocation of the test framework. Limiting the variable's lifetime is not required, but is encouraged to ensure
Expand Down
5 changes: 0 additions & 5 deletions PR-Testing/create-IMAGE_ID_AFTER.sh

This file was deleted.

5 changes: 0 additions & 5 deletions PR-Testing/create-IMAGE_ID_BEFORE.sh

This file was deleted.

17 changes: 0 additions & 17 deletions PR-Testing/validateTestImageAfterTest.sh

This file was deleted.

0 comments on commit ce202b9

Please sign in to comment.