3 # Job template for python verify jobs
5 # The purpose of this job template is to run tox for projects using this
9 # branch: git branch (eg. stable/lithium or master)
11 # path: directory containing the project's tox.ini relative to
12 # the workspace. The default is the project root.
13 # pattern: ant file-path pattern relative to the workspace used to
16 name: '{project-name}-{stream}-{subproject}-verify-python'
19 project-type: freestyle
24 - ecomp-infra-properties:
25 build-days-to-keep: '{build-days-to-keep}'
28 - ecomp-infra-parameters:
31 refspec: 'refs/heads/{branch}'
32 artifacts: '{archive-artifacts}'
36 refspec: '$GERRIT_REFSPEC'
37 choosing-strategy: 'gerrit'
40 - ecomp-infra-wrappers:
41 build-timeout: '{build-timeout}'
44 - gerrit-trigger-patch-submitted:
45 server: '{server-name}'
51 - provide-maven-settings:
52 global-settings-file: 'global-settings'
53 settings-file: '{mvn-settings}'
56 virtualenv $WORKSPACE/venv-tox
57 source $WORKSPACE/venv-tox/bin/activate
58 pip install --upgrade pip
59 pip install --upgrade tox argparse
65 # - ecomp-infra-shiplogs:
66 # maven-version: 'mvn33'
69 name: '{project-name}-{stream}-docker-shell-daily'
70 project-type: freestyle
71 node: 'ubuntu1604-docker-8c-8g'
74 - ecomp-infra-properties:
75 build-days-to-keep: '{build-days-to-keep}'
78 - ecomp-infra-parameters:
81 refspec: 'refs/heads/{branch}'
82 artifacts: '{archive-artifacts}'
87 choosing-strategy: 'default'
90 - ecomp-infra-wrappers:
91 build-timeout: '{build-timeout}'
96 - gerrit-trigger-release-manually:
97 server: '{server-name}'
103 - provide-maven-settings:
104 global-settings-file: 'global-settings'
105 settings-file: '{mvn-settings}'
110 cp $WORKSPACE/docker/* .
111 docker -D build -t testsuite .
112 export DOCKER_REPOSITORY="nexus3.openecomp.org:10003"
113 docker tag openecompete:latest $DOCKER_REPOSITORY/openecomp/testuite:latest
114 docker push $DOCKER_REPOSITORY/openecomp/testuite:latest