rht-labs / labs-ci-cd

👻UNMAINTAINED - A collection of Red Hat Open Innovation Labs CI/CD components
Apache License 2.0
101 stars 70 forks source link

Delete projects before and after creating to ensure clean slate #181

Closed Tompage1994 closed 6 years ago

Tompage1994 commented 6 years ago

Same as #174 but on upstream to allow ci to work its magic

sherl0cks commented 6 years ago

@Tompage1994 please see https://github.com/openshift/jenkins-client-plugin. it provides a way to capture the cli output in groovy objects that you can then test with grrovy assertions

Tompage1994 commented 6 years ago

@sherl0cks not really sure what you mean, and what the application for this would be?

Also I seem to be having problems in the ci again... which is strange because its pointing to the master branch which hasnt changed. And my PR has no changes in. It is failing on the verify deployment which it wasnt earlier. Not sure if this is a problem in OpenShift again as earlier.

sherl0cks commented 6 years ago

@Tompage1994 this is in response to "bad coding practice, but seemingly no other way". perhaps I read that incorrectly. with respect to OpenShift, it appears that @springdo added you the contributors group yesterday so you should be able to debug with that access. for reference, that group is applied here: https://github.com/rht-labs/labs-ci-cd/blob/06a711d928763503556e782ee5d28282fe138def/Jenkinsfile#L110