Skip to content

Commit 282853f

Browse files
author
Eric Griswold
authored
Merge pull request #322 from puppetlabs/fix_jenkinsfile
(maint) Need to apt update before installing rpm package
2 parents b68aa0c + 9692976 commit 282853f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Jenkinsfile.build

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ pipeline {
1717
stages {
1818
stage('Install Dependencies') {
1919
steps {
20+
sh "sudo sed -i -e 's/^deb/deb [trusted=yes]/' /etc/apt/sources.list.d/puppet-tools-release.list"
21+
sh 'sudo apt update'
2022
sh 'sudo apt install --quiet --assume-yes rpm'
2123
}
2224
}

0 commit comments

Comments
 (0)