Description of problem: Jenkins job configuration page doesn't present the actual value stored for buildConfig field of a 'Perform builds in OpenShift' build step. Version-Release number of selected component (if applicable): OSE v3.1 docker.io/openshift/jenkins-1-centos7 latest 212bac2225d0 6 days ago 655.4 MB How reproducible: - Create a Jenkins Build Job with 'Perform builds in OpenShift' - Set BuildConfig value other than 'frontend' and save the build job - Click on Configure job link. Actual results: BuilConfig filed will be populated with 'frontend' value Expected results: BuildConfig form field populated with the actual value Additional info: Builds using a build config with a different name than 'frontend' is working hence, it is just a form population issue.
Upstream issue has been created. https://github.com/openshift/jenkins-plugin/issues/10
This was reported upstream as well via https://github.com/openshift/jenkins-plugin/issues/10 I have a fix in hand based on that report, it is just a question of getting through the workflow of pushing through the jenkins updated center process and then image update process. I'll move this bug to on QA once that process is complete.
v1.0.5 of the plugin is now available in both the centos jenkins image on docker.io and the rhel jenkins image on ci.dev.openshift.redhat.com:5000. Please verify at your convenience.
Created attachment 1113486 [details] UI of build part
Created attachment 1113490 [details] cancel build in openshift
the bug is the same as I reported : https://bugzilla.redhat.com/show_bug.cgi?id=1292021#c6 tested on openshift/jenkins-1-rhel7 0d20b0550ae8 openshift/jenkins-1-centos7 latest a. BuildConfig field for 'Perform builds in OpenShift' build step in Jenkins configure Job form is actual stored value instead of default value of 'frontend' (see attachment 1113486 [details]) b. but Post-build Actions field for 'Cancel builds in openshift' build step in jenkins configure job form is not actual stored value instead of default value of 'frontend' (see attachment 1113490 [details])
Yep, I attempted to examine and correct the other steps for the issue similar to OpenShiftBuilder but I missed one. The (lengthy) fix propagation status will commence shortly.
Ok I believe v1.0.6 of the plugin is available for both centos and rhel jenkins images. Please try to verify again. Thanks.
Created attachment 1113854 [details] ui of cancel build part
verified in openshift/jenkins-1-rhel7 35f4fe0781ac openshift/jenkins-1-centos7 latest have been corrected the build steps ,pls see attachment 1113855 [details]
Cool deal - thanks @wenwang
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2016:0070