Which of the following "agent" directives are not valid in Declarative Pipeline?

Posted by: Pdfprep Category: CCJE Tags: , ,

Which of the following "agent" directives are not valid in Declarative Pipeline?
A . agent {dockerfile {filename * Dockerfile’ }}
B . agent docker
C . agent none
D . agent { label " linux }
E . agent { docker ‘ centos: latest ‘ }

Answer: B

Leave a Reply

Your email address will not be published.