Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
doujutun3207
flink
提交
e813c93e
F
flink
项目概览
doujutun3207
/
flink
与 Fork 源项目一致
从无法访问的项目Fork
通知
24
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
F
flink
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
e813c93e
编写于
10月 01, 2013
作者:
R
Robert Metzger
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
travis: add script to deploy both versions of ozone to sonatype
上级
a6a0a75f
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
23 addition
and
4 deletion
+23
-4
.travis.yml
.travis.yml
+2
-2
tools/deploy_to_maven.sh
tools/deploy_to_maven.sh
+19
-0
tools/generate_specific_pom.sh
tools/generate_specific_pom.sh
+2
-2
未找到文件。
.travis.yml
浏览文件 @
e813c93e
...
...
@@ -13,8 +13,8 @@ env:
install
:
true
script
:
"
mvn
$PROFILE
clean
verify"
script
:
mvn $PROFILE clean verify"
# deploy if the first job is successful; should be replaced by an after_all_success if travis finally supports it
after_success
:
-
if [[ $TRAVIS_JOB_NUMBER == *1 ]] && [[ $TRAVIS_PULL_REQUEST == \"false\" ]] ; then mvn -DskipTests deploy --settings deploysettings.xml; fi
-
"
./tools/deploy_to_maven.sh"
tools/deploy_to_maven.sh
0 → 100755
浏览文件 @
e813c93e
#!/usr/bin/env bash
#
# This script is called by travis to deploy our project to sonatype SNAPSHOTS.
# It will deploy both a hadoop v1 and a hadoop v2 (yarn) artifact
#
# Check if push/commit is eligible for pushing
echo
"Job:
$TRAVIS_JOB_NUMBER
; isPR:
$TRAVIS_PULL_REQUEST
"
if
[[
$TRAVIS_JOB_NUMBER
==
*
1
]]
&&
[[
$TRAVIS_PULL_REQUEST
==
"false"
]]
;
then
# Deploy regular hadoop v1 to maven
mvn
-DskipTests
deploy
--settings
deploysettings.xml
;
# deploy hadoop v2 (yarn)
echo
"Generating poms for hadoop-yarn."
./tools/generate_specific_pom.sh 0.4-ozone-SNAPSHOT 0.4-ozone-hadoop2-SNAPSHOT
mvn
-f
pom.hadoop2.xml
-DskipTests
clean deploy
--settings
deploysettings.xml
;
fi
\ No newline at end of file
tools/generate_specific_pom.sh
浏览文件 @
e813c93e
#!/usr/bin/env sh
#!/usr/bin/env
ba
sh
#
# See https://github.com/dimalabs/ozone/issues/95
...
...
@@ -8,7 +8,7 @@
function
usage
{
echo
"Usage:
$0
CURRENT_VERSION NEW_VERSION"
echo
"For example,
$0
0.
2-ozone 0.2-ozone-hadoop2
"
echo
"For example,
$0
0.
4-ozone-SNAPSHOT 0.4-ozone-hadoop2-SNAPSHOT
"
echo
"Presumes VERSION has hadoop1 or hadoop2 in it."
exit
1
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录