Jenkins file does not execute 'stage 2'

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Jenkins file does not execute 'stage 2'

gene golub
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/ce5f5b5d-26c9-4291-afa0-8ddd293ac55co%40googlegroups.com.