OpenShift Build Operations: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 9: Line 9:


  oc get builds
  oc get builds
NAME          TYPE      FROM          STATUS                    STARTED            DURATION
bookstore-1  Source    Git@ad0abda  Failed (AssembleFailed)  About an hour ago  2m43s
bookstore-2  Source    Git@ad0abda  Failed (AssembleFailed)  12 minutes ago      2m16s


Each build has an associated build pod, whose names can be obtained with:
Each build has an associated build pod, whose names can be obtained with:


  oc get pods
  oc get pods
NAME                      READY    STATUS    RESTARTS  AGE
bookstore-1-build        0/1      Error    0          57m
bookstore-2-build        0/1      Error    0          13m


=View Build Logs=
=View Build Logs=

Revision as of 04:44, 21 November 2017

Internal

Overview

View Builds for Project

oc get builds
NAME          TYPE      FROM          STATUS                    STARTED             DURATION
bookstore-1   Source    Git@ad0abda   Failed (AssembleFailed)   About an hour ago   2m43s
bookstore-2   Source    Git@ad0abda   Failed (AssembleFailed)   12 minutes ago      2m16s

Each build has an associated build pod, whose names can be obtained with:

oc get pods
NAME                      READY     STATUS    RESTARTS   AGE
bookstore-1-build         0/1       Error     0          57m
bookstore-2-build         0/1       Error     0          13m

View Build Logs

View build logs associated with a build object:

oc logs -f builds/<build-object-name>