forked from ibmruntimes/openj9-openjdk-jdk20
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
27 lines (27 loc) · 1.45 KB
/
.travis.yml
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
# ===========================================================================
# (c) Copyright IBM Corp. 2017, 2018 All Rights Reserved
# ===========================================================================
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.
#
# IBM designates this particular file as subject to the "Classpath" exception
# as provided by IBM in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, see <http://www.gnu.org/licenses/>.
#
# ===========================================================================
script:
# Call the build_ibmsdk jenkins job
- IFS='/' read -a myarray <<< "${TRAVIS_PULL_REQUEST_SLUG}"
- echo "${myarray[0]}"
- echo "${myarray[1]}"
- curl -X POST "https://hyc-rt-openjdk-jenkins.swg-devops.com/job/build_ibmsdk/buildWithParameters?PLATFORM=linux-x64&GIT_ORG=github.ibm.com:${myarray[0]}&GIT_REPO=IBMSDK-java-test&GIT_BRANCH=ibm_current&PULL_REQUEST=1"