oracle 詹金斯到甲骨文

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/25244546/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 02:27:19  来源:igfitidea点击:

Jenkins to oracle

oraclejenkins

提问by user3929781

How to configure Jenkins to run Query (select, Update) on Oracle database,

如何配置 Jenkins 在 Oracle 数据库上运行查询(选择、更新),

  1. Is there any plugin available in Jenkins?
  2. Is there any easy way to write script in python?
  1. Jenkins 中是否有可用的插件?
  2. 有没有什么简单的方法可以在python中编写脚本?

回答by Technext

Jenkins is a Continuous Integration (CI) tool. It is a development practice that requires developers to integrate code into a shared repository several times a day. Each check-in is then verified by an automated build, allowing teams to detect problems early.

Jenkins 是一个持续集成 (CI) 工具。这是一种开发实践,需要开发人员每天多次将代码集成到共享存储库中。然后每次签入都通过自动构建进行验证,从而使团队能够及早发现问题。

  1. Is there any plugin available in Jenkins?

    As far as i know, there are no plugins for the type of job you're looking for. However, it doesprovide you a mechanism to run your own scripts by using various options present in Buildsection such as running a Win batch script, shell script, perl, python, ant commands etc...

  2. Is there any easy way to write script in python?

    If you understand the language well, then yes!

  1. Jenkins 中是否有可用的插件?

    据我所知,您正在寻找的工作类型没有插件。但是,它确实为您提供了一种机制,可以通过使用部分中提供的各种选项来运行您自己的脚本,Build例如运行 Win 批处理脚本、shell 脚本、perl、python、ant 命令等...

  2. 有没有什么简单的方法可以在python中编写脚本?

    如果你理解语言很好,那么是的!

This link might be of some interest: http://176.34.122.30/blog/2009/05/18/continuous-integration-with-oracle-plsql-utplsql-and-hudson/

这个链接可能有点意思: http://176.34.122.30/blog/2009/05/18/continuous-integration-with-oracle-plsql-utplsql-and-hudson/

回答by Tyvain

Plugin to run Sql on Oracle database in Jenkins:

在 Jenkins 中的 Oracle 数据库上运行 Sql 的插件:

https://wiki.jenkins-ci.org/display/JENKINS/SQLPlus+Script+Runner+Plugin

https://wiki.jenkins-ci.org/display/JENKINS/SQLPlus+Script+Runner+Plugin