Skip to content

Commit 09c69f8

Browse files
committed
Fix SSH key location
1 parent 364fa9c commit 09c69f8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

eclipse-distribution/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
<misc.p2.repo.version>3.9.4.202211021051</misc.p2.repo.version>
9898

9999
<vm-signing.ssh.user>signer</vm-signing.ssh.user>
100-
<vm-signing.ssh.key>/home/bamboo/.ssh/id_rsa</vm-signing.ssh.key>
100+
<vm-signing.ssh.key>~bamboo/.ssh/id_rsa</vm-signing.ssh.key>
101101
</properties>
102102

103103
<profiles>

eclipse-distribution/scripts/sign-exe.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ set -e
22
in_file=$1
33
out_file=$2
44

5-
in_filename=`basename $in_file`
6-
echo "Input file: $in_file"
5+
in_filename="$(basename -- $in_file)"
76
echo "Copying $in_filename to remote machine..."
7+
echo "Input file: $in_file"
88
scp -i $SSH_KEY $in_file $SSH_USER@vm-tools.spring.vmware.com:/opt/bamboo
99
echo "Signing $in_filename..."
1010
ssh -i $SSH_KEY $SSH_USER@vm-tools.spring.vmware.com -- /build/apps/signing/signserver/signc -v --input=/opt/bamboo/$in_filename --keyid=authenticode_SHA2 --signmethod="winddk-8.1" --output=/opt/bamboo/$in_filename --hash sha256

0 commit comments

Comments
 (0)