Extra : after cat

On Thu, Aug 30, 2018, 23:39 Gabe Nydick <[email protected]> wrote:

> Config below, getting the error immediately below. I'm interpreting the
> error as the yaml is malformed, but it doesn't appear to be.
>
> hudson.remoting.ProxyException:
> com.fasterxml.jackson.databind.JsonMappingException: Can not deserialize
> instance of java.lang.String out of START_OBJECT token
>
>  at [Source: java.io.BufferedInputStream@27e9e2dc; line: 12, column: 7]
> (through reference chain:
> io.fabric8.kubernetes.api.model.Pod["spec"]->io.fabric8.kubernetes.api.model.PodSpec["containers"]->java.util.ArrayList[0]->io.fabric8.kubernetes.api.model.Container["command"]->java.util.ArrayList[0])
>
>
> ipeline {
>   agent {
>     kubernetes {
>       label 'jenkins-builder'
>       defaultContainer 'jnlp'
>       yaml """
> apiVersion: v1
> kind: Pod
> metadata:
>   labels:
>     jenkins: slave
> spec:
>   containers:
>   - name: kubectl
>     image: 850790058557.dkr.ecr.us-west-2.amazonaws.com/kubectl:latest
>     command:
>     - cat:
>     tty: true
>   - name: helm
>     image: 850790058557.dkr.ecr.us-west-2.amazonaws.com/helm:latest
>     command:
>     - cat:
>     tty: true
> """
>     }
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/CACTWNKBvdB38Kx2kq340J8cQrHp3KsJ2WumsFxi64o5aMBz_vQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/jenkinsci-users/CACTWNKBvdB38Kx2kq340J8cQrHp3KsJ2WumsFxi64o5aMBz_vQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CALHFn6Pmk9Xz0APb9HrLiSaCaUB783gHmRMi1uaNQHv_m9%2BZyQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to