我要评分
获取效率
正确性
完整性
易理解

Jenkins Pipeline Sample Code

The sample code is as follows:

stage('build') {
               steps {
                   script{
                   sh '''
                     source ${HOME}/.local/wrap-bin/devkit_NonInvasiveSwitching.sh 
                     cd /home/test/build
                       make
                    '''
                           }
                       }
                 }

/home/test/build indicates the project file path. make indicates the compilation command. Replace them with actual ones.