Always provide maven settings to jobs
authorAndrew Grimberg <agrimberg@linuxfoundation.org>
Fri, 10 Feb 2017 18:44:11 +0000 (10:44 -0800)
committerAndrew Grimberg <agrimberg@linuxfoundation.org>
Fri, 10 Feb 2017 18:44:11 +0000 (10:44 -0800)
Python job template did not have the first build step be the
provide-maven-settings step which gets our global settings and project
specific settings into the environment for use by scripts.

Change-Id: Ia2044a07b58abc8d24de6f6621bf0272c52032cb
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
jjb/global-templates-python.yaml

index f0663bc..7404b7e 100644 (file)
@@ -48,6 +48,9 @@
           files: '{pattern}'
 
     builders:
+      - provide-maven-settings:
+          global-settings-file: 'global-settings'
+          settings-file: '{mvn-settings}'
       - shell: |
           virtualenv $WORKSPACE/venv-tox
           source $WORKSPACE/venv-tox/bin/activate