commit | 14ba8852d060aca680331a6e4dc411038af1def6 | [log] [tgz] |
---|---|---|
author | June Tate-Gans <jtgans@google.com> | Fri Jun 12 19:52:02 2020 -0400 |
committer | June Tate-Gans <jtgans@google.com> | Fri Jun 12 19:52:02 2020 -0400 |
tree | 410056e8d8cb38c851e86010157d7465ec9e6e36 | |
parent | a2220fa9bb2024fc236aded851fbb605dc8d9db4 [diff] |
Fix the grep regex. Change-Id: I924a310ba44ff17a030cd6f793f135ca9e8758a6
diff --git a/cicd/pipelines/tasks/task_update_unstable.jenkins b/cicd/pipelines/tasks/task_update_unstable.jenkins index ea8fec0..eb1c43f 100644 --- a/cicd/pipelines/tasks/task_update_unstable.jenkins +++ b/cicd/pipelines/tasks/task_update_unstable.jenkins
@@ -3,7 +3,7 @@ String getLatestSnapshot(repository_stem) { def script = """ aptly snapshot list --sort=time --raw \ - | grep -E '^${repository_stem}-' \ + | grep -E '^${repository_stem}-[0-9]' \ | tail -n1 """