ssh -i ~/.ssh/id_rsa_jenkins -p 22 <HOST_IP> declarative-linter < 
Jenkinsfile

I have been trying to test a *declarative pipeline *style Jenkinfile.

@ok999

On Tuesday, January 16, 2018 at 1:04:30 PM UTC+5:30, Mayur Nagekar wrote:
>
> Hello all,
>
> I have been trying to find a way to lint Jenkinsfile and came across 
> https://jenkins.io/doc/book/pipeline/development/#linter but this hasn't 
> helped unfortunately.
> Every time I try to run the command, I get
>
> bash: declarative-linter: command not found
>
> Looks like there are some additional installs (may be plugins) that need 
> to happen on jenkins server? I'd appreciate if someone could enlighten me 
> on the same.
>
> Many thanks,
> Mayur 
>

-- 
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/6e378b31-5cab-4729-865f-383a0c279e22%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to