diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2023-09-13 12:50:11 +0000 |
---|---|---|
committer | Viacheslav Hletenko <v.gletenko@vyos.io> | 2023-09-13 12:50:11 +0000 |
commit | b933ff44933ffc6d418d212aa5881476ce30cd90 (patch) | |
tree | d654a0c335c1d2875a1be5daa45c57f288be79ad /packages/aws-gateway-load-balancer-tunnel-handler/Jenkinsfile | |
parent | d280a89ab955b86a58854032b338535828af4522 (diff) | |
download | vyos-build-b933ff44933ffc6d418d212aa5881476ce30cd90.tar.gz vyos-build-b933ff44933ffc6d418d212aa5881476ce30cd90.zip |
T5261: Improve build for aws-gwlbtun package
Diffstat (limited to 'packages/aws-gateway-load-balancer-tunnel-handler/Jenkinsfile')
-rw-r--r-- | packages/aws-gateway-load-balancer-tunnel-handler/Jenkinsfile | 14 |
1 files changed, 7 insertions, 7 deletions
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 |