| Summary: | Failed to start build from a previous build using "Trigger OpenShift Build" jenkins dsl step | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Dongbo Yan <dyan> |
| Component: | ImageStreams | Assignee: | Gabe Montero <gmontero> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Wang Haoran <haowang> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.4.0 | CC: | aos-bugs, jokerman, mmccomas, tdawson |
| Target Milestone: | --- | Keywords: | Regression, Reopened |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
Cause: NullPointerException when accessing BuildConfig that was not previously retrieved
Consequence: jenkins-plugin trigger openshift build of previous build failed
Fix: retrieve build config, avoid NullPointerException
Result: jenkins-plugin trigger openshift build of previous build works again
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-02-16 21:03:32 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Dongbo Yan
2016-11-23 10:13:09 UTC
This was introduced when I made the change to allow for the triggering of jenkins strategy builds earlier this week. Another extended test candidate. Commit https://github.com/openshift/jenkins-plugin/commit/6a6cf1d531e73956efbfa7f12bbff1e6b777df93 addresses the NPE in the plugin. I'll move the bug to QA once the plugin version and images are updated. Jenkins rhel image on brew-pulp now has v1.0.37 of the plugin, which includes the fix for this. Test with brew-pulp.../openshift3/jenkins-1-rhel7 bdda1c3ed6fd brew-pulp.../openshift3/jenkins-2-rhel7 40ed5bbd7488 openshift-login 0.9 openshift-pipeline 1.0.37 openshift-sync 0.1.5 openshift v3.4.0.30+e10cc28 kubernetes v1.4.0+776c994 etcd 3.1.0-rc.0 This bug was fixed with the latest OCP 3.4.0 that is already released. |