summaryrefslogtreecommitdiffstats
path: root/jjb/3rd_party_ci/postprocess-netvirt.sh
AgeCommit message (Collapse)AuthorFilesLines
2017-02-10Apex,3rd_party: Fix workspace wipingTim Rozet1-7/+3
Workspace wiping was done in builders, which can be removed in favor of wiping workspace via the 'scm' entry in the job. For now we point at apex since we require apex repo to clean the host properly. We also need sdnvpn for the python code to upgrade ODL. Since we can only use a single scm at a time, we use apex in the jjb, and then manually clone sdnvpn in the builders that require it. Change-Id: I52274fc8fdd6b6c052e396c2a63dab5abcbf764e Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-01-13Avoid removing the whole file systemNikolas Hermanns1-4/+5
If scripts are used by hand and WORKSPACE is not set then rm -rf /* will remove the filesystem. Change-Id: I9bb9ee6643d3916fedc7d3848ecf9b03bde10fae Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2016-12-19Add postprocess scriptNikolas Hermanns1-2/+9
Change-Id: I57698d3fa25394432051a0f597a027890aebdb84 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2016-12-133rd party ci: Fix bug introduced by wiping out the WORKSPACE itselfFatih Degirmenci1-1/+1
Change-Id: I61de7763412d791bcce20174d6058acf818d0e13 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-12-133rd party ci: Wipe the workspace before doing anything elseFatih Degirmenci1-1/+4
Due to not cloning the repos, the workspace is not wiped out. This change makes sure we remove everything in workspace to prevent jenkins from complaining. Change-Id: Ife3c4c752cf37c6ff3bfcdea6ffaebc72c440373 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-12-123rd party ci: Override GIT_BASE to use ODL Gerrit for 3rd party ci jobsFatih Degirmenci1-0/+1
Change-Id: Ia105d32133c5b2df3bea363ff8cb94b2984fb172 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-12-123rd party ci: Create jobs for ODL netvirt testing in OPNFVFatih Degirmenci1-0/+3
This change creates basic job structure for ODL netvirt testing in OPNFV. The job should be triggered once the below job is completed https://jenkins.opendaylight.org/releng/job/netvirt-patch-test-current-carbon and fetch the artifact that is already built by the job. The build result codes OPNFV is interested in are SUCCESSFUL and UNSTABLE. Once the job gets triggered, the build URL will be fetched from ODL Gerrit using Gerrit REST API and the artifact will be downloaded from ODL Jenkins. The downloaded artifacts will then be installed on the Apex environment. There are 3 points that need to be highlighted. - The Apex environment will be created using the promoted snaphots/qcow2 images and already deployed VMs will be brought up. See below for the details. https://jira.opnfv.org/browse/APEX-360 - The hardcoded values in download-netvirt-artifact.sh are there to get the basics in place. (branch name, job name, etc.) Once things work as expected, they will be made dynamic. - A workaround using Gerrit REST API is put in place to get build number of the job netvirt-patch-test-current-carbon to download the artifact. The reason why we use Gerrit REST API is that the OPNFV Jenkins has an older version of Gerrit Trigger Plugin which lacks feature that injects review comments as environment variables. Upgrading Gerrit Trigger Plugin will not help either since OpenStack JJB does not support the new version of Gerrit Trigger Plugin and does not generate the new job XML. JIRA: RELENG-171 Change-Id: I7ff8c5809dcb2e8ffa5c7c5aeb9cdf70e4e7e2f4 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>