diff --git a/Jenkinsfile.groovy b/Jenkinsfile.groovy new file mode 100644 index 0000000..fc6dc23 --- /dev/null +++ b/Jenkinsfile.groovy @@ -0,0 +1,13 @@ +pipeline { + agent any + environment { + PATH = "/var/lib/jenkins/.bun/bin:${env.PATH}" + } + stages { + stage('Test') { + echo 'Testing...' + echo 'Is Bun working?...' + sh 'bun --version' + } + } +} \ No newline at end of file diff --git a/md/learn/classes/magic.md b/md/learn/classes/magic.md index 640d376..cea5970 100644 --- a/md/learn/classes/magic.md +++ b/md/learn/classes/magic.md @@ -16,5 +16,10 @@ class Cat ```thp +val option = Some("GAAA") +val Some(value) = option + +val colors = Array("red", "green", "blue") +val Array() ```