node ('ubuntu16.04-basebuild-1c-2g') { | |
stage 'Checkout code' | |
checkout([$class: 'RepoScm', currentBranch: true, manifestRepositoryUrl: 'https://gerrit.opencord.org/manifest', quiet: true]) | |
stage 'Build and Publish apps' | |
configFileProvider([configFile(fileId: 'onoscord-apps', variable: 'MAVEN_SETTINGS')]) { | |
sh 'cd onos-apps/apps && mvn -s $MAVEN_SETTINGS clean deploy' | |
} | |
} |