This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| creation date: <% tp.file.creation_date() %> | |
| tags: DailyNote <% tp.file.title.split('-')[0] %> | |
| --- | |
| modification date: <%+ tp.file.last_modified_date("dddd Do MMMM YYYY HH:mm:ss") %> // This doesn't currently work in front matter, hoping that gets fixed. | |
| # <% tp.file.title %> | |
| << [[<% tp.date.now("YYYY-MM-DD", -1, tp.file.title, "YYYY-MM-DD") %>]] | [[<% tp.date.now("YYYY-MM-DD", 1, tp.file.title, "YYYY-MM-DD") %>]]>> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| tags: | |
| - software/obsidian | |
| - software/markdownload | |
| - what/post | |
| - status/wip | |
| - what/my_setup | |
| --- | |
| > [!Notes] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!groovy | |
| pipeline { | |
| agent { label 'docker' } | |
| stages { | |
| stage('Multiple Stages') { | |
| steps { | |
| script { | |
| def stages = readYaml text:""" | |
| stages: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| stage('Build Modules') { | |
| agent { any } | |
| steps { | |
| script { | |
| // def modules = readYaml file: "${env.YAML_FILE}" | |
| def modules = readYaml text:""" | |
| build: | |
| path: 'release' | |
| modules: | |
| "mod1": |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def call(String id){ | |
| def java = scanForIssues tool: java() | |
| def javadoc = scanForIssues tool: javaDoc() | |
| def checkstyle = scanForIssues tool: checkStyle(pattern: '**/target/checkstyle-result.xml,**/reports/checkstyle.xml') | |
| def pmd = scanForIssues tool: pmdParser(pattern: '**/target/pmd.xml') | |
| def tasks = scanForIssues tool: taskScanner(highTags: 'FIXME', ignoreCase: true, includePattern: '**/*.java,**/*.xtend', normalTags: 'TODO') | |
| publishIssues issues: [java, javadoc,checkstyle,pmd,tasks],id: "${id}" | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def call(String someString){ | |
| return (!someString?.trim()) | |
| } |