summaryrefslogtreecommitdiffstats
path: root/sdnr/wt/apigateway/feature/pom.xml
blob: 0dabcc196e7c5c9f0e9c5d7cedba9ff77afcb805 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<?xml version="1.0" encoding="UTF-8"?>
<!--
  ~ ============LICENSE_START=======================================================
  ~ ONAP : ccsdk features
  ~ ================================================================================
  ~ Copyright (C) 2018 highstreet technologies GmbH Intellectual Property.
  ~ All rights reserved.
  ~ ================================================================================
  ~ Update Copyright (C) 2020 AT&T Intellectual Property. All rights reserved.
  ~ ================================================================================
  ~ Licensed under the Apache License, Version 2.0 (the "License");
  ~ you may not use this file except in compliance with the License.
  ~ You may obtain a copy of the License at
  ~
  ~     http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing, software
  ~ distributed under the License is distributed on an "AS IS" BASIS,
  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ~ See the License for the specific language governing permissions and
  ~ limitations under the License.
  ~ ============LICENSE_END=======================================================
  ~
  -->

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <parent>
        <groupId>org.onap.ccsdk.parent</groupId>
        <artifactId>single-feature-parent</artifactId>
        <version>1.5.4</version>
        <relativePath/>
    </parent>

    <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
    <artifactId>sdnr-wt-apigateway-feature</artifactId>
    <version>0.7.3-SNAPSHOT</version>
    <packaging>feature</packaging>

    <name>ccsdk-features :: ${project.artifactId}</name>

    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>org.opendaylight.controller</groupId>
                <artifactId>mdsal-artifacts</artifactId>
                <version>${odl.controller.mdsal.version}</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>
        </dependencies>
    </dependencyManagement>
    <dependencies>

        <dependency>
            <groupId>${project.groupId}</groupId>
            <artifactId>sdnr-wt-apigateway-provider</artifactId>
            <version>${project.version}</version>
        </dependency>

    </dependencies>
</project>
b: Ensure you’ve configured your `jenkins.ini` and verified it by outputting valid XML descriptions of Jenkins jobs. Upon successful verification, execute the following command to update the job to the Jenkins sandbox. `jenkins-jobs --conf jenkins.ini update jjb/ <job-name>` **Example:** `jenkins-jobs --conf jenkins.ini update jjb/ sdc-master-verify-java` ## Trigger jobs from Jenkins Sandbox: Once you push the Jenkins job configuration to the ONAP Sandbox environment, run the job from Jenkins Sandbox webUI. Follow the below process to trigger the build: Step 1: Login into the [Jenkins Sandbox WebUI](https://jenkins.onap.org/sandbox/) Step 2: Click on the **job** which you want to trigger, then click **Build with Parameters**, and finally click **Build**. Step 3: Verify the **Build Executor Status** bar and make sure that the build is triggered on the available executor. In Sandbox you may not see all platforms build executors and you don't find many like in production CI environment. Once the job is triggered, click on the build number to view the job details and the console output. ## To Delete a Job: Execute the following command to Delete a job from Sandbox: `jenkins-jobs --conf jenkins.ini delete jjb/ <job-name>` **Example:** `jenkins-jobs --conf jenkins.ini delete jjb/ sdc-master-verify-java` The above command would delete the `sdc-master-verify-java` job. ## Modify an Existing Job: In the ONAP Jenkins sandbox, you can directly edit or modify the job configuration by selecting the job name and clicking on the **Configure** button. Then, click the **Apply** and **Save** buttons to save the job. However, it is recommended to simply modify the job in your terminal and then follow the previously described steps in **To Test a Job** and **To Update a Job** to perform your modifications. ## More online documentation: https://docs.openstack.org/infra/jenkins-job-builder/