“Groovy”的版本间的差异

来自linux中国网wiki
跳到导航 跳到搜索
第1行: 第1行:
[[category:ops]]  
+
[[category:ops]] [[category:devops]]  
 
=ins=
 
=ins=
 
  sudo apt install  groovy groovy-doc  #Groovy Version: 2.4.21 JVM: 11.0.8 Vendor: Debian OS: Linux
 
  sudo apt install  groovy groovy-doc  #Groovy Version: 2.4.21 JVM: 11.0.8 Vendor: Debian OS: Linux

2021年6月28日 (一) 05:26的版本

ins

sudo apt install  groovy groovy-doc  #Groovy Version: 2.4.21 JVM: 11.0.8 Vendor: Debian OS: Linux

https://www.osradar.com/install-apache-groovy-ubuntu-debian/

usage

当然也可以直接创建.groovy文件用命令行直接运行。

Groovy 简明教程

hello world

emacs    e.groovy
class Example {
   static void main(String[] args) {
      // Using a simple println statement to print output to the console
      println('Hello World');
   }
}


groovy  e.groovy

Hello World

jenkins and groovy

Jenkins插件groovy-postbuild使用(一)-获取jenkins环境变量值和获取build结果

see also

Groovy 简明教程


Groovy 教程

Groovy 语言快速入门

Groovy简介与使用

为什么Groovy语言火不起来?

Groovy是什么?