Description of problem: Cannot scale deployment using jenkins build step "Scale OpenShift Deployment" and dsl step "openshiftScale" if set parameter "verifyReplicaCount: false" Version-Release number of selected component (if applicable): Test with brew-pulp.../openshift3/jenkins-2-rhel7 d126876bf60a brew-pulp.../openshift3/jenkins-1-rhel7 dc04c4ed570b openshift-login 0.9 openshift-pipeline 1.0.33 openshift-sync 0.0.17 openshift v3.4.0.26+f7e109e kubernetes v1.4.0+776c994 etcd 3.1.0-rc.0 How reproducible: Always Steps to Reproduce: 1.Setup jenkins server and generate application under project $ oc new-app https://raw.githubusercontent.com/openshift/origin/master/examples/jenkins/pipeline/samplepipeline.json $ oc start-build sample-pipeline 2.wait nodejs-mongodb-example app pod is ready, create pipeline job, configure pipeline scripts node{ stage 'build' openshiftScale( depCfg: 'nodejs-mongodb-example',replicaCount: '3', verbose: 'true', verifyReplicaCount: 'false') } 3. Actual results: Job success,but do not scale deployment in fact Expected results: scale deployment successfully Additional info:
The commit https://github.com/openshift/jenkins-plugin/commit/b03f94b51855d1e82dd916690d08c1babd9bc1fe to the plugin has the fix for this. I'll move this to on-qa once the images have been updated with 1.0.34 of the plugin.
rpm built: jenkins-plugin-openshift-pipeline-1.0.34-1.el7 images built: openshift3/jenkins-1-rhel7:1.651.2-34 openshift3/jenkins-2-rhel7:2.7-19
Thanks Troy !!!
Test with brew-pulp.../openshift3/jenkins-2-rhel7 latest 9697e3752b3f brew-pulp.../openshift3/jenkins-1-rhel7 latest 5730acae8c1c openshift-login 0.9 openshift-pipeline 1.0.34 openshift-sync 0.0.17 openshift v3.4.0.26+f7e109e kubernetes v1.4.0+776c994 etcd 3.1.0-rc.0
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/RHBA-2017:0066