Skip to content

Commit

Permalink
Jenkinsfile: manually checkout to subdir
Browse files Browse the repository at this point in the history
  • Loading branch information
ehildenb committed Jul 18, 2019
1 parent eec256c commit 514f710
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -135,15 +135,20 @@ pipeline {
// }
//}
stage('Deploy') {
agent { label 'docker' }
// when {
// not { changeRequest() }
// branch 'master'
// beforeAgent true
// }
environment {
GITHUB_TOKEN = credentials('rv-jenkins')
RELEASE_ID = '1.0.0b1'
}
stages {
stage('Checkout SCM') {
steps { checkout scm }
}
stage('Build Ubuntu Package') {
agent {
dockerfile {
Expand All @@ -153,7 +158,8 @@ pipeline {
}
}
steps {
dir("kevm-0.0.1") {
dir("${env.RELEASE_ID}") {
checkout scm
sh '''
cp -r package/debian ./
dpkg-buildpackage --no-sign
Expand All @@ -168,6 +174,7 @@ pipeline {
dockerfile {
dir 'package'
filename 'Dockerfile.arch'
reuseNode true
}
}
steps {
Expand All @@ -187,6 +194,7 @@ pipeline {
dockerfile {
dir 'package'
filename 'Dockerfile.arch'
reuseNode true
}
}
steps {
Expand Down

0 comments on commit 514f710

Please sign in to comment.