Bug 1897584 - Add casc plugins
Summary: Add casc plugins
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Jenkins
Version: 4.7
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: 4.7.0
Assignee: Akram Ben Aissi
QA Contact: Jitendar Singh
URL:
Whiteboard:
Depends On:
Blocks: 1899472
TreeView+ depends on / blocked
 
Reported: 2020-11-13 14:19 UTC by jawed
Modified: 2021-02-24 15:33 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-02-24 15:33:26 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift jenkins pull 1184 0 None closed [master] Bug 1897584: add casc plugins 2021-01-06 05:08:35 UTC
Red Hat Product Errata RHSA-2020:5633 0 None None None 2021-02-24 15:33:49 UTC

Description jawed 2020-11-13 14:19:23 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 4 Jitendar Singh 2020-11-19 09:25:54 UTC
VERIFIED
=============
jsingh@localhost  ~  oc new-app jenkins-ephemeral -p NAMESPACE=$(oc project -q) -p JENKINS_IMAGE_STREAM_TAG=jenkins-jitsingh:latest
--> Deploying template "openshift/jenkins-ephemeral" to project jenkins-test

     Jenkins (Ephemeral)
     ---------
     Jenkins service, without persistent storage.
     
     WARNING: Any data stored will be lost upon pod destruction. Only use this template for testing.

     A Jenkins service has been created in your project.  Log into Jenkins with your OpenShift account.  The tutorial at https://github.com/openshift/origin/blob/master/examples/jenkins/README.md contains more information about using this template.

     * With parameters:
        * Jenkins Service Name=jenkins
        * Jenkins JNLP Service Name=jenkins-jnlp
        * Enable OAuth in Jenkins=true
        * Memory Limit=1Gi
        * Jenkins ImageStream Namespace=jenkins-test
        * Disable memory intensive administrative monitors=false
        * Jenkins ImageStreamTag=jenkins-jitsingh:latest
        * Allows use of Jenkins Update Center repository with invalid SSL certificate=false

--> Creating resources ...
    route.route.openshift.io "jenkins" created
    configmap "jenkins-trusted-ca-bundle" created
    deploymentconfig.apps.openshift.io "jenkins" created
    serviceaccount "jenkins" created
    rolebinding.authorization.openshift.io "jenkins_edit" created
    service "jenkins-jnlp" created
    service "jenkins" created
--> Success
    Access your application via route 'jenkins-jenkins-test.apps.dev-svc-4.7-111907.devcluster.openshift.com' 
    Run 'oc status' to view your app.
 jsingh@localhost  ~  oc get pods -w
NAME               READY   STATUS              RESTARTS   AGE
jenkins-1-deploy   1/1     Running             0          6s
jenkins-1-l9xjk    0/1     ContainerCreating   0          2s
jenkins-1-l9xjk    0/1     ContainerCreating   0          3s
jenkins-1-l9xjk    0/1     ContainerCreating   0          12s
jenkins-1-l9xjk    0/1     Running             0          43s
jenkins-1-l9xjk    1/1     Running             0          92s
jenkins-1-deploy   0/1     Completed           0          97s
^C%                                                                                                                                                                                            ✘ jsingh@localhost  ~  oc rsh jenkins-1-l9xjk
sh-4.4$ cat /var/lib/jenkins/plugins/configuration-as-code-groovy/META-INF/MANIFEST.MF |grep Implementation-Version
Implementation-Version: 1.1
sh-4.4$ cat /var/lib/jenkins/plugins/configuration-as-code-support/META-INF/MANIFEST.MF |grep Implementation-Version
Implementation-Version: 1.19
sh-4.4$ exit
exit
 jsingh@localhost  ~  oc get pods
NAME               READY   STATUS      RESTARTS   AGE
jenkins-1-deploy   0/1     Completed   0          2m53s
jenkins-1-l9xjk    1/1     Running     0          2m49s
 jsingh@localhost  ~  oc get routes
NAME      HOST/PORT                                                               PATH   SERVICES   PORT    TERMINATION     WILDCARD
jenkins   jenkins-jenkins-test.apps.dev-svc-4.7-111907.devcluster.openshift.com          jenkins    <all>   edge/Redirect   None
 jsingh@localhost  ~  oc new-app -f maven.yaml                                                                                            
--> Deploying template "jenkins-test/maven-pipeline" for "maven.yaml" to project jenkins-test

     * With parameters:
        * Application Name=openshift-jee-sample
        * Source URL=https://github.com/openshift/openshift-jee-sample.git
        * Source Ref=master
        * GitHub Webhook Secret=TuWbqrsDucHillriAWQ25r8xdpMqfisGtigshlwq # generated
        * Generic Webhook Secret=mqrqcphajOuSV3fX7bBa2DhOuTlw72jTuF33YpBy # generated

--> Creating resources ...
    imagestream.image.openshift.io "openshift-jee-sample" created
    imagestream.image.openshift.io "wildfly" created
    buildconfig.build.openshift.io "openshift-jee-sample" created
    buildconfig.build.openshift.io "openshift-jee-sample-docker" created
    deploymentconfig.apps.openshift.io "openshift-jee-sample" created
    service "openshift-jee-sample" created
    route.route.openshift.io "openshift-jee-sample" created
--> Success
JenkinsPipeline build strategy is deprecated. Use Jenkinsfiles directly on Jenkins or OpenShift Pipelines instead
    Use 'oc start-build openshift-jee-sample' to start a build.
    Use 'oc start-build openshift-jee-sample-docker' to start a build.
    Access your application via route 'openshift-jee-sample-jenkins-test.apps.dev-svc-4.7-111907.devcluster.openshift.com' 
    Run 'oc status' to view your app.
 jsingh@localhost  ~  oc start-build openshift-jee-sample
build.build.openshift.io/openshift-jee-sample-1 started
 jsingh@localhost  ~  oc get pods -w
NAME               READY   STATUS      RESTARTS   AGE
jenkins-1-deploy   0/1     Completed   0          3m27s
jenkins-1-l9xjk    1/1     Running     0          3m23s
maven-wv8tp        0/1     Pending     0          0s
maven-wv8tp        0/1     Pending     0          0s
maven-wv8tp        0/1     ContainerCreating   0          0s
maven-wv8tp        0/1     ContainerCreating   0          2s
maven-wv8tp        0/1     ContainerCreating   0          3s
maven-wv8tp        1/1     Running             0          21s
maven-wv8tp        1/1     Terminating         0          46s
openshift-jee-sample-docker-1-build   0/1     Pending             0          0s
openshift-jee-sample-docker-1-build   0/1     Pending             0          0s
openshift-jee-sample-docker-1-build   0/1     Init:0/2            0          0s
openshift-jee-sample-docker-1-build   0/1     Init:0/2            0          2s
openshift-jee-sample-docker-1-build   0/1     Init:0/2            0          3s
maven-wv8tp                           0/1     Terminating         0          52s
maven-wv8tp                           0/1     Terminating         0          53s
maven-wv8tp                           0/1     Terminating         0          53s
maven-wv8tp                           0/1     Terminating         0          53s
openshift-jee-sample-docker-1-build   0/1     Init:0/2            0          12s
openshift-jee-sample-docker-1-build   0/1     Init:1/2            0          13s
openshift-jee-sample-docker-1-build   0/1     PodInitializing     0          14s
openshift-jee-sample-docker-1-build   1/1     Running             0          15s
openshift-jee-sample-docker-1-build   0/1     Completed           0          81s
openshift-jee-sample-1-deploy         0/1     Pending             0          0s
openshift-jee-sample-1-deploy         0/1     Pending             0          0s
openshift-jee-sample-1-deploy         0/1     ContainerCreating   0          0s
openshift-jee-sample-1-deploy         0/1     ContainerCreating   0          2s
openshift-jee-sample-1-deploy         0/1     ContainerCreating   0          2s
openshift-jee-sample-1-5wx6l          0/1     Pending             0          0s
openshift-jee-sample-1-5wx6l          0/1     Pending             0          0s
openshift-jee-sample-1-5wx6l          0/1     ContainerCreating   0          0s
openshift-jee-sample-1-deploy         1/1     Running             0          2s
openshift-jee-sample-1-5wx6l          0/1     ContainerCreating   0          3s
openshift-jee-sample-1-5wx6l          0/1     ContainerCreating   0          12s
^C%                                                                                                                                                                                            ✘ jsingh@localhost  ~  oc get pods
NAME                                  READY   STATUS      RESTARTS   AGE
jenkins-1-deploy                      0/1     Completed   0          6m34s
jenkins-1-l9xjk                       1/1     Running     0          6m30s
openshift-jee-sample-1-5wx6l          0/1     Running     0          38s
openshift-jee-sample-1-deploy         1/1     Running     0          40s
openshift-jee-sample-docker-1-build   0/1     Completed   0          2m1s
 jsingh@localhost  ~  oc get routes
NAME                   HOST/PORT                                                                            PATH   SERVICES               PORT       TERMINATION     WILDCARD
jenkins                jenkins-jenkins-test.apps.dev-svc-4.7-111907.devcluster.openshift.com                       jenkins                <all>      edge/Redirect   None
openshift-jee-sample   openshift-jee-sample-jenkins-test.apps.dev-svc-4.7-111907.devcluster.openshift.com          openshift-jee-sample   8080-tcp                   None

Comment 7 errata-xmlrpc 2021-02-24 15:33:26 UTC
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 (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement update), 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-2020:5633


Note You need to log in before you can comment on or make changes to this bug.