You can include those scripts executions as part of the sh 
<https://jenkins.io/doc/pipeline/steps/workflow-durable-task-step/#code-sh-code-shell-script>
 and bats 
<https://jenkins.io/doc/pipeline/steps/workflow-durable-task-step/#code-bat-code-windows-batch-script>
 steps.


pipeline {
    agent { ?????}
    stages {
        stage('build') {
            steps {
                sh '# whatever.... commands you run to run yours scripts. 
bear in mind you might need to checkout your source code'
            }
        }
    }
}


Regarding the agent, you might need to setup a jenkins agent (either 
ephemeral or permanent) with the right configuration (java version, 
environment variables, any other tools/binaries) in order to run your 
project

Cheers

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/43075b0d-f909-4cfd-87e8-5cc09fc8c46d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to