alshabib | 8b389f2 | 2017-01-03 09:52:23 -0800 | [diff] [blame] | 1 | node ('host-master') { |
alshabib | 93aaa7a | 2017-01-03 10:52:43 -0800 | [diff] [blame] | 2 | 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' |
alshabib | 8b389f2 | 2017-01-03 09:52:23 -0800 | [diff] [blame] | 3 | |
alshabib | 3bb5e0a | 2017-01-03 10:51:40 -0800 | [diff] [blame] | 4 | println metadata['release_version'] |
| 5 | println metadata['build_onos_apps'] |
alshabib | 4091ac6 | 2017-01-03 13:53:06 -0800 | [diff] [blame] | 6 | |
alshabib | c059a3f | 2017-01-03 13:53:42 -0800 | [diff] [blame] | 7 | echo env.BRANCH_NAME |
alshabib | 9213b08 | 2017-01-03 13:39:59 -0800 | [diff] [blame] | 8 | |
alshabib | 2ab96d9 | 2017-01-03 13:54:24 -0800 | [diff] [blame^] | 9 | httpRequest consoleLogResponseBody: true, url: 'https://gerrit.opencord.org/projects/?type=CODE&b=env.BRANCH_NAME', validResponseCodes: '200' |
alshabib | 8b389f2 | 2017-01-03 09:52:23 -0800 | [diff] [blame] | 10 | } |
| 11 | |