Merge "Add sudo permissions for jenkins user"
diff --git a/jenkins/client/job/debian/packages/heat/resources.yml b/jenkins/client/job/debian/packages/heat/resources.yml
index c7fb4d0..d167434 100644
--- a/jenkins/client/job/debian/packages/heat/resources.yml
+++ b/jenkins/client/job/debian/packages/heat/resources.yml
@@ -50,7 +50,7 @@
default: "{{branch}}"
SOURCE_CREDENTIALS:
type: string
- default: ""
+ default: "github-credentials"
DEBIAN_SNAPSHOT:
type: boolean
default: 'true'
diff --git a/jenkins/master/config.yml b/jenkins/master/config.yml
index 41e3ffb..795b748 100644
--- a/jenkins/master/config.yml
+++ b/jenkins/master/config.yml
@@ -8,4 +8,11 @@
pillar:
jenkins:
master:
- home: /srv/volumes/jenkins
\ No newline at end of file
+ home: /srv/volumes/jenkins
+ sudo:
+ users:
+ jenkins:
+ hosts:
+ - ALL
+ commands:
+ - docker
\ No newline at end of file