Sign in
gerrit
/
gerrit-ci-scripts
/
29a41c5024b44b0dbd2dc6f94b6cf9be8a6c674a
/
.
/
jenkins
/
gerrit-deploy-api.sh
blob: 2af1659117848df62bc0b58e51cfaf4bdafd6a8c [
file
] [
log
] [
blame
]
#!/bin/bash -e
if
[
-
f
~/.
m2
/
settings
.
xml
]
then
if
grep
-
q sonatype
-
nexus
-
staging
~/.
m2
/
settings
.
xml
then
echo
"Deploying artifacts to Maven ..."
cd gerrit
&&
./
tools
/
maven
/
api
.
sh deploy
echo
"DONE"
fi
fi