Skip to content

jmini/jbang-ci-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jbang-ci-test

Test project to run a Jbang script HelloWorld.java inside a GitLab CI pipeline.

Locally the script can be executed with:

./jbang run HelloWorld.java

In GitLab CI, the build and the execute jobs are separated and allow to compile (always) or to execute (manual trigger) the script.

Chache folders (JBANG_CACHE_DIR and JBANG_REPO) are explicitly set up in order to be cached by GitLab.

The variable JBANG_OPTS can be modified in order to add options. Setting the value to --verbose allows to get more output from Jbang.

About

CI Test with Jbang

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published