diff options
author | Aric Gardner <agardner@linuxfoundation.org> | 2016-07-06 14:20:33 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2016-07-06 14:20:33 +0000 |
commit | cfdab2f9abe9e0784903892d34390f6f4426f49f (patch) | |
tree | eb2dfb819ab2c7ff8b902ca7c00bdf1ca1a9a3d3 | |
parent | 801eb72067b8e4ac3e46dbf54d2955e4c20f2553 (diff) | |
parent | 466861ff862f4b259568305176b6a27f8f7f31ca (diff) |
Merge "For artifact signing we need the releng repo."
-rwxr-xr-x | jjb/apex/apex-upload-artifact.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/jjb/apex/apex-upload-artifact.sh b/jjb/apex/apex-upload-artifact.sh index ba69f3eb6..49e19bb12 100755 --- a/jjb/apex/apex-upload-artifact.sh +++ b/jjb/apex/apex-upload-artifact.sh @@ -11,8 +11,14 @@ echo # source the opnfv.properties to get ARTIFACT_VERSION source $WORKSPACE/opnfv.properties +# clone releng repository +echo "Cloning releng repository..." +[ -d releng ] && rm -rf releng +git clone https://gerrit.opnfv.org/gerrit/releng $WORKSPACE/releng/ &> /dev/null #this is where we import the siging key -source $WORKSPACE/releng/utils/gpg_import_key.sh +if [ -f $WORKSPACE/releng/utils/gpg_import_key.sh ]; then + source $WORKSPACE/releng/utils/gpg_import_key.sh +fi signrpm () { for artifact in $RPM_LIST $SRPM_LIST; do |