Skip to content
代码片段 群组 项目
提交 aa93dce3 编辑于 作者: Jing Teng's avatar Jing Teng
浏览文件

serialize win/linux build in one stage.

上级 79498ed1
No related branches found
No related tags found
无相关合并请求
......@@ -150,12 +150,17 @@ pipeline
}
stage('Building distribution artifacts') {
parallel {
stage('Building for Linux')
stage('Building for Windows / Linux')
{
steps
{
script
{
sh 'echo "Building for Windows"'
sh 'npm run dist-win'
sh 'npm run apack:win'
sh 'echo "Building for Linux"'
sh 'npm run dist-linux'
sh 'npm run apack:linux'
}
......@@ -188,17 +193,6 @@ pipeline
}
}
}
stage('Building for Windows')
{
steps
{
script
{
sh 'npm run dist-win'
sh 'npm run apack:win'
}
}
}
}
}
stage('Artifact creation')
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册