File tree Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Original file line number Diff line number Diff line change @@ -162,14 +162,7 @@ pipeline {
162
162
}
163
163
stages {
164
164
stage(' Checkout SCM' ) {
165
- steps {
166
- dir(" kevm-${ env.KEVM_RELEASE_ID} " ) {
167
- checkout scm
168
- script {
169
- env. K_RELEASE = sh(script : ' cat deps/k_release' , returnStdout : true ). trim()
170
- }
171
- }
172
- }
165
+ steps { dir(" kevm-${ env.KEVM_RELEASE_ID} " ) { checkout scm } }
173
166
}
174
167
stage(' Build Ubuntu Bionic Package' ) {
175
168
agent {
@@ -184,7 +177,7 @@ pipeline {
184
177
dir(" kevm-${ env.KEVM_RELEASE_ID} " ) {
185
178
sh '''
186
179
sudo apt-get update && sudo apt-get upgrade --yes
187
- curl --location "${env.K_RELEASE} /kframework_5.0.0_amd64_bionic.deb" --output kframework.deb
180
+ curl --location "$(cat deps/k_release) /kframework_5.0.0_amd64_bionic.deb" --output kframework.deb
188
181
sudo apt-get install ./kframework.deb
189
182
cp -r package/debian ./
190
183
dpkg-buildpackage --no-sign
@@ -226,7 +219,7 @@ pipeline {
226
219
dir(" kevm-${ env.KEVM_RELEASE_ID} " ) {
227
220
sh '''
228
221
sudo pacman -Syu --noconfirm
229
- curl --location "${env.K_RELEASE} /kframework-5.0.0-1-x86_64.pkg.tar.xz" --output kframework.pkg.tar.xz
222
+ curl --location "$(cat deps/k_release) /kframework-5.0.0-1-x86_64.pkg.tar.xz" --output kframework.pkg.tar.xz
230
223
sudo pacman -U kframework.pkg.tar.xz
231
224
cd package
232
225
makepkg --noconfirm --syncdeps
You can’t perform that action at this time.
0 commit comments