From fd33dba73491195b1b55d8495a5c7fc0dbf03d15 Mon Sep 17 00:00:00 2001 From: NingSun Date: Thu, 8 Mar 2018 16:11:39 -0800 Subject: Add jenkins job for sshsm project Issue-ID: AAF-152 Change-Id: Ic6ab39b4775cf1e874b2f2d1da89a7566bce8359 Signed-off-by: NingSun --- jjb/aaf/aaf-sshsm.yaml | 7 ++++++- jjb/aaf/build-sshsm.sh | 20 ++++++++++++++++++++ 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 jjb/aaf/build-sshsm.sh (limited to 'jjb/aaf') diff --git a/jjb/aaf/aaf-sshsm.yaml b/jjb/aaf/aaf-sshsm.yaml index f48c2cf0e..5908627f6 100644 --- a/jjb/aaf/aaf-sshsm.yaml +++ b/jjb/aaf/aaf-sshsm.yaml @@ -2,12 +2,17 @@ - project: name: aaf-sshsm project-name: 'aaf-sshsm' + build-timeout: 60 + project: 'aaf/sshsm' jobs: - gerrit-maven-clm - project: 'aaf/sshsm' + - '{project-name}-{stream}-verify-c': + script: + !include-raw-escape: 'build-sshsm.sh' stream: - 'master': branch: 'master' + mvn-settings: 'aaf-sshsm-settings' files: '**' archive-artifacts: '' diff --git a/jjb/aaf/build-sshsm.sh b/jjb/aaf/build-sshsm.sh new file mode 100644 index 000000000..e26d44bfd --- /dev/null +++ b/jjb/aaf/build-sshsm.sh @@ -0,0 +1,20 @@ +#!/bin/bash +# + +CURRENTDIR="$(pwd)" +echo $CURRENTDIR + +echo 'Building the SoftHSMv2...' + +cd SoftHSMv2 +sh autogen.sh +./configure +make check +cd .. + +echo 'Building the TPM2-Plugin...' + +cd TPM2-Plugin +./bootstrap +./configure +make -- cgit 1.2.3-korg