Jenkins will default to stopping execution on the first error.
So I assume some command in the 'stage 1' failed and so it never reached
the second one.

Le jeu. 23 juil. 2020 à 05:38, gene golub <[email protected]> a écrit :

> Hello All,
>
> i am new user to Jenkins.
> for some reasons below Jenkins file does not execute 'Stage 2'.
> Any help would be apprecuated.
>
> pipeline {
>     agent any
> stages {
>         stage('Stage 1') {
> steps {
>                 bat "echo running batch file : %date% : %time%"
>                 bat "dir \"${env.WORKSPACE}\""
>                 /* bat "call \"${env.WORKSPACE}\"\\326a\\t4.bat" */
>                 bat "sqlcmd -S l390 -U gene -P xxx -i
> \"${env.WORKSPACE}\"\\326A\\t4.txt"
>             }
>         }
>         stage('Stage 2') {
> steps {
>                 bat "echo running stage 222"
>
>             }
>         }
>     }
> }
>
> --
> 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/ce5f5b5d-26c9-4291-afa0-8ddd293ac55co%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/ce5f5b5d-26c9-4291-afa0-8ddd293ac55co%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CANWgJS7wHiShy-JfZYOJW_ojJWd2yfViPfw-U6PC5SGdk4MDcw%40mail.gmail.com.

Reply via email to