File indexing completed on 2022-09-20 15:20:11

0001 #!/bin/bash
0002 #
0003 # Copyright (C) 2016 Scarlett Clark <sgclark@kde.org>
0004 #
0005 # This library is free software; you can redistribute it and/or
0006 # modify it under the terms of the GNU Lesser General Public
0007 # License as published by the Free Software Foundation; either
0008 # version 2.1 of the License, or (at your option) version 3, or any
0009 # later version accepted by the membership of KDE e.V. (or its
0010 # successor approved by the membership of KDE e.V.), which shall
0011 # act as a proxy defined in Section 6 of version 3 of the license.
0012 #
0013 # This library is distributed in the hope that it will be useful,
0014 # but WITHOUT ANY WARRANTY; without even the implied warranty of
0015 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
0016 # Lesser General Public License fo-r more details.
0017 #
0018 # You should have received a copy of the GNU Lesser General Public
0019 # License along with this library.  If not, see <http://www.gnu.org/licenses/>.
0020 export PATH=/opt/usr/bin:/var/jenkins_home/.rbenv/bin:/var/jenkins_home/.rbenv/shims:$PATH
0021 export WORKSPACE=`pwd`
0022 echo $WORKSPACE
0023 
0024 
0025 tar -xvf /in/artifact.tar.gz --strip-components=1 -C /opt
0026 ls -l /opt/
0027 rm /in/artifact.tar.gz
0028 cd /in
0029 rbenv init -
0030 gem install bundler
0031 bundle install
0032 bundle binstubs rspec-core
0033 bundle show rspec
0034 rbenv rehash
0035 bundle list --paths
0036 bundle env
0037 bundle exec rspec appimage-template/spec/recipe_rspec.rb --fail-fast