Changes in Jenkins/FullBuild [587a608:867fca3]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Jenkins/FullBuild
r587a608 r867fca3 32 32 33 33 stage('Package') { 34 trigger_dist( commitId, currentBuild.number.toString() )34 build job: 'Cforall_Distribute_Ref', parameters: [string(name: 'GitRef', value: commitId), string(name: 'Build', value: currentBuild.number.toString())] 35 35 } 36 36 } … … 103 103 } 104 104 105 def trigger_dist(String commitId, String buildNum) {106 def result = build job: 'Cforall_Distribute_Ref', \107 parameters: [ \108 string(name: 'GitRef', value: commitId), \109 string(name: 'Build' , value: buildNum) \110 ], \111 propagate: false112 113 echo(result.result)114 115 if(result.result != 'SUCCESS') {116 sh("wget -q -O - https://cforall.uwaterloo.ca/jenkins/job/Cforall_Distribute_Ref/${result.number}/consoleText")117 error(result.result)118 }119 }120 121 105 //=========================================================================================================== 122 106 //Routine responsible of sending the email notification once the build is completed
Note: See TracChangeset
for help on using the changeset viewer.