How to build Jenkins Pipeline with these step

19 views
Skip to first unread message

Jarirr

unread,
Dec 2, 2022, 8:10:14 AM12/2/22
to Jenkins Users
agent any
    stages {
        stage ('Build') {
        steps {
        // 1.Git Pull  pull request#1\
    // 2.create container
        // 3.Build container
            echo 'Running Build Phase.'
            }
        }
        stage ('Unit Test') {
        steps {
            //1.Run Unit Test
            echo 'Running Testing Phase.'
            }
        }
        stage ('Deploy') {
        steps {
            //1.Run Container
            //2.Close Pull Request
            echo 'Running Deploy Phase.'
            }
        }
 
    }          
 }
Reply all
Reply to author
Forward
0 new messages