我使用jenkinsfile运行一个多分支管道,我得到了'调度项目:caiwu»sis-server-test',但是没有'开始构建:'出现在工作sis-test funish building之前,谁可以帮我一把?
pipeline{
agent {label 'test-slave'}
stages{
stage('deploy'){
steps{
echo 'deploy...'
build job:'/folder/sis-test', propagate: true, wait: true
}
}
}
}
here are the build log
[Pipeline] script
[Pipeline] {
[Pipeline] build (Building caiwu » sis-server-test)
Scheduling project: caiwu » sis-server-test
Aborted by ***
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
答案 0 :(得分:0)
你的问题很难理解。如果问题是您不希望它等待作业,那么您当前的行:
RewriteRule ^blog/forums/ /knowledge [R,L]
需要更改为
build job:'/folder/sis-test', propagate: true, wait: true