blob: cf932cafa3bee1ab43aab85a11edbe591ba2f13f [file] [log] [blame]
alshabib8b389f22017-01-03 09:52:23 -08001node ('host-master') {
alshabib93aaa7a2017-01-03 10:52:43 -08002 def metadata = input id: 'release-build', message: 'Should I perform a release?', parameters: [booleanParam(defaultValue: true, description: 'Build and release onos applications', name: 'build_onos_apps'), string(defaultValue: '', description: '', name: 'release_version')], submitter: 'ash'
alshabib8b389f22017-01-03 09:52:23 -08003
alshabib3bb5e0a2017-01-03 10:51:40 -08004 println metadata['release_version']
5 println metadata['build_onos_apps']
alshabib4091ac62017-01-03 13:53:06 -08006
7 echo $BRANCH_NAME
alshabib9213b082017-01-03 13:39:59 -08008
alshabib4091ac62017-01-03 13:53:06 -08009 httpRequest consoleLogResponseBody: true, url: 'https://gerrit.opencord.org/projects/?type=CODE&b=$BRANCH_NAME', validResponseCodes: '200'
alshabib8b389f22017-01-03 09:52:23 -080010}
11