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.
Parent topic: BiSheng Compiler