1 Star 1 Fork 1

luxihua201010028 / cmake_example

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Jenkinsfile 620 Bytes
一键复制 编辑 原始数据 按行查看 历史
luxihua201010028 提交于 2022-11-02 22:41 . modify Jenkinsfile
pipeline{
agent any
stages {
stage("start compile example1"){
steps{
sh '''cd example1
rm -rf build
mkdir build
cd build
cmake ..
../main
cd ..'''
}
}
stage("start compile example2"){
steps{
sh '''cd example2
rm -rf build
mkdir build
cd build
cmake ..
../main'''
}
}
}
post {
always {
// One or more steps need to be included within each condition's block.
emailext body: '''66666
77777
WRjpo\'wfek
”GF另外L†''',
subject: 'pipeline email',
to: 'luxihua201010028@gmail.com'
}
}
}
C
1
https://gitee.com/luxihua201010028/cmake_example.git
git@gitee.com:luxihua201010028/cmake_example.git
luxihua201010028
cmake_example
cmake_example
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891