blob: 80b322c1700d358e48c1086439e07d3882755ba0 [file] [log] [blame]
Kailash Khalasic323b1a2018-04-19 15:49:48 -07001node ('ubuntu16.04-basebuild-1c-2g') {
alshabib3e488152016-10-06 11:42:36 -07002 stage 'Checkout code'
3 checkout([$class: 'RepoScm', currentBranch: true, manifestRepositoryUrl: 'https://gerrit.opencord.org/manifest', quiet: true])
Kailash Khalasic323b1a2018-04-19 15:49:48 -07004
alshabib3e488152016-10-06 11:42:36 -07005 stage 'Build and Publish apps'
Kailash Khalasi8879d662018-04-20 13:37:05 -07006 configFileProvider([configFile(fileId: 'onoscord-apps', variable: 'MAVEN_SETTINGS')]) {
Matteo Scandolo5f6e8212018-11-26 16:14:32 -08007 sh 'export _JAVA_OPTIONS=-Djdk.net.URLClassPath.disableClassPathURLCheck=true && cd onos-apps/apps && mvn -s $MAVEN_SETTINGS clean deploy'
Kailash Khalasi8879d662018-04-20 13:37:05 -07008 }
alshabib3e488152016-10-06 11:42:36 -07009}