Skip to content

Commit

Permalink
jenkins: do not hardcode ubuntu-core list
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
  • Loading branch information
simondeziel committed May 2, 2022
1 parent f89f0fb commit edde2f5
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions jenkins/jobs/lxd-test-snap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,8 @@

builders:
- shell: |-
if [ "${{dist}}" = "ubuntu-core-16" ] || [ "${{dist}}" = "ubuntu-core-18" ] || [ "${{dist}}" = "ubuntu-core-20" ]; then
cd ~/lxc-ci
else
cd /lxc-ci
fi
cd ~/lxc-ci 2>/dev/null || cd /lxc-ci
pwd
exec sudo bin/test-lxd-snapd {track} {channel}
properties:
Expand Down

0 comments on commit edde2f5

Please sign in to comment.