Skip to content

Commit eec256c

Browse files
committed
Jenkinsfile: checkout debian file to subdir
1 parent f69a611 commit eec256c

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

Jenkinsfile

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -153,12 +153,14 @@ pipeline {
153153
}
154154
}
155155
steps {
156-
sh '''
157-
cp -r package/debian ./
158-
dpkg-buildpackage --no-sign
159-
apt install --yes ../kevm_*.deb
160-
'''
161-
stash name: 'bionic', includes: "kevm_${env.RELEASE_ID}_amd64.deb"
156+
dir("kevm-0.0.1") {
157+
sh '''
158+
cp -r package/debian ./
159+
dpkg-buildpackage --no-sign
160+
apt install --yes ../kevm_*.deb
161+
'''
162+
stash name: 'bionic', includes: "kevm_${env.RELEASE_ID}_amd64.deb"
163+
}
162164
}
163165
}
164166
stage('Build Arch Package') {
@@ -169,6 +171,7 @@ pipeline {
169171
}
170172
}
171173
steps {
174+
checkout scm
172175
sh '''
173176
curl --location --output k-nightly-arch.tar.xz "https://github.com/kframework/k/releases/download/nightly-$K_NIGHTLY/kframework-5.0.0-1-x86_64.pkg.tar.xz"
174177
pacman --noconfirm --upgrade k-nightly-arch.tar.xz

0 commit comments

Comments
 (0)