From b933ff44933ffc6d418d212aa5881476ce30cd90 Mon Sep 17 00:00:00 2001 From: Viacheslav Hletenko Date: Wed, 13 Sep 2023 12:50:11 +0000 Subject: T5261: Improve build for aws-gwlbtun package --- .../aws-gateway-load-balancer-tunnel-handler/Jenkinsfile | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'packages/aws-gateway-load-balancer-tunnel-handler/Jenkinsfile') diff --git a/packages/aws-gateway-load-balancer-tunnel-handler/Jenkinsfile b/packages/aws-gateway-load-balancer-tunnel-handler/Jenkinsfile index e8ee142f..cbf5a407 100644 --- a/packages/aws-gateway-load-balancer-tunnel-handler/Jenkinsfile +++ b/packages/aws-gateway-load-balancer-tunnel-handler/Jenkinsfile @@ -19,14 +19,14 @@ // @Library annotation is not an import statement! @Library('vyos-build@current')_ +def timestamp = new Date().format('yyyyMMddhhmmss') +def commit_id = 'f78058a' + def pkgList = [ - [ - 'name': 'aws-gateway-load-balancer-tunnel-handler', - 'scmCommit': 'f78058a', - 'scmUrl': 'https://github.com/aws-samples/aws-gateway-load-balancer-tunnel-handler', - 'buildCmd': "cd ..; ./build.py", - 'architecture': ['amd64', 'arm64'], - ], + ['name': "aws-gwlbtun-${timestamp}-${commit_id}", + 'scmCommit': commit_id, + 'scmUrl': 'https://github.com/aws-samples/aws-gateway-load-balancer-tunnel-handler', + 'buildCmd': "../build.py --package aws-gwlbtun --version ${timestamp}-${commit_id}"], ] // Start package build using library function from https://github.com/vyos/vyos-build -- cgit v1.2.3