Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

shell script in jenkins pipeline

pipeline {
    agent any
    stages {
        stage('Build')
        {
            steps 
            {
                sh '''#!/bin/bash
                echo shell commands here
                '''
            }
        }
        
        }
    }
 
PREVIOUS NEXT
Tagged: #shell #script #jenkins #pipeline
ADD COMMENT
Topic
Name
5+3 =