blob: e892ba88d62c8bc1192d8ed4dd3ff715dc7d2369 [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
alshabibc059a3f2017-01-03 13:53:42 -08007 echo env.BRANCH_NAME
alshabib9213b082017-01-03 13:39:59 -08008
alshabib2ab96d92017-01-03 13:54:24 -08009 httpRequest consoleLogResponseBody: true, url: 'https://gerrit.opencord.org/projects/?type=CODE&b=env.BRANCH_NAME', validResponseCodes: '200'
alshabib8b389f22017-01-03 09:52:23 -080010}
11