I have a Jenkins Pipeline plugin <https://jenkins.io/doc/book/pipeline/> 
script that looks like this:

stage("check out project") {
    shell "pwd"
    echo "test 1"
    git credentialsId: "user", url: "http://url/project";
    echo "test 2"
    shell "git --version"
    echo "test 3"
}

The output of the build is then this:

[Pipeline] stage
[Pipeline] { (check out project)
[Pipeline] echo
test 1
[Pipeline] echo
test 2
[Pipeline] echo
test 3
[Pipeline] }
[Pipeline] // stage
[Pipeline] End of Pipeline
Finished: SUCCESS

Judging from the output and from the build time only the echo commands are 
executed. All other commands are ignored. No error seems to occur. 

How can I get all commands to be executed? 

-- 
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/020959d7-904c-46b0-b47b-9fb4ede652d1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to