File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,8 @@ for dir in $DIRECTORIES; do
38
38
cp -av ./* ${RELEASEDIR}
39
39
done
40
40
41
+ touch ${RELEASEDIR} /binary/telemetry-enhanced.json
42
+
41
43
cd /srv/UPLOAD/${REPOPATH} /${REPOPATH_W_V} /.tmp/
42
44
ln -s ${REPOPATH} ${REPOPATH} -LATEST
43
45
#
@@ -54,4 +56,4 @@ rsync -avt -e "ssh -p 2222" --bwlimit=50000 --exclude="*yassl*" --progress ${REP
54
56
rm -fr /srv/UPLOAD/${REPOPATH} /${REPOPATH_W_V} /.tmp
55
57
#
56
58
fi
57
- #
59
+ #
Original file line number Diff line number Diff line change @@ -23,6 +23,10 @@ pipeline {
23
23
choices : ' TESTING\n RELEASE\n EXPERIMENTAL\n LABORATORY' ,
24
24
description : ' repo component to push to' ,
25
25
name : ' COMPONENT' )
26
+ choice(
27
+ choices : ' NO\n YES' ,
28
+ description : ' show telemetry agent packages listing for corresponding product' ,
29
+ name : ' COPY_TELEMETRY' )
26
30
choice(
27
31
choices : ' NO\n YES' ,
28
32
description : ' PRO build' ,
@@ -278,6 +282,9 @@ ENDSSH
278
282
mkdir -p /srv/repo-copy/private/\$ {LCREPOSITORY}/tarballs/\$ {RELEASE}
279
283
cp \$ {RELEASEDIR}/binary/tarball/* /srv/repo-copy/private/\$ {LCREPOSITORY}/tarballs/\$ {RELEASE}/
280
284
else
285
+ if [ ${ COPY_TELEMETRY} = YES ]; then
286
+ touch \$ {RELEASEDIR}/binary/telemetry-enhanced.json
287
+ fi
281
288
rsync -avt -e "ssh -p 2222" --bwlimit=50000 --exclude="*yassl*" --progress \$ {PRODUCT} jenkins-deploy.jenkins-deploy.web.r.int.percona.com:/data/downloads/
282
289
fi
283
290
rm -fr /srv/UPLOAD/\$ {PATH_TO_BUILD}/.tmp
You can’t perform that action at this time.
0 commit comments