Jenkinsfile.rb
changeset 59 9099e2455d9c
parent 25 7ef6e0216e9c
child 90 9f574fad295d
--- a/Jenkinsfile.rb	Fri Oct 21 21:50:00 2016 +0100
+++ b/Jenkinsfile.rb	Sun Oct 23 22:49:57 2016 +0100
@@ -15,11 +15,16 @@
       self.class.const_set('PROJECT', value)  
     end
 
-    opts.on('-a', '--arch ARCH', "Arcitecture to build for. Overrides project specified by the environment variable.") do | value |
+    opts.on('-a', '--arch ARCH', "Arcitecture to build for. Overrides architecture specified by the environment variable.") do | value |
       ENV['ARCH'] = value
       self.class.const_set('ARCH', value)  
     end
 
+    opts.on('-r', '--repository-set REPOSET', "Repository set to use. Overrides repository set specified by the environment variable.") do | value |
+      ENV['REPOSITORYSET'] = value
+      self.class.const_set('REPOSITORYSET', value)  
+    end    
+
     opts.on(nil, '--help', "Prints this message") do
       puts DOCUMENTATION
       puts optparse.help()