jenkins blue ocean 調用其他job

#!groovy pipeline { agent { label 'node_label' } environment { script_path='/path/script.py' } stages { stage('JOB1') { steps { build job: 'job_name', parameters: [[$class: 'StringParameterValue', name: 'name', value: 'xxx']] // sh 'python3 ${script_path} "${args}" ...' } } } }
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章