diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..16d875f Binary files /dev/null and b/.DS_Store differ diff --git a/build.gradle b/build.gradle index 4f48eed..fc6fd9d 100644 --- a/build.gradle +++ b/build.gradle @@ -1,5 +1,5 @@ plugins { - id 'pl.allegro.tech.build.axion-release' version '1.15.4' + id 'pl.allegro.tech.build.axion-release' version '1.16.1' } group 'com.rundeck' @@ -36,12 +36,12 @@ configurations { dependencies { implementation 'org.codehaus.groovy:groovy-all:3.0.9' - testImplementation group: 'junit', name: 'junit', version: '4.12' + testImplementation group: 'junit', name: 'junit', version: '4.13.1' - implementation group: 'org.rundeck', name: 'rundeck-core', version: '4.15.0-20230725' + implementation group: 'org.rundeck', name: 'rundeck-core', version: '5.1.0-rc2-20240124' implementation 'org.slf4j:slf4j-api:1.7.30' - pluginLibs( 'org.eclipse.jgit:org.eclipse.jgit:5.13.2.202306221912-r') { + pluginLibs('org.eclipse.jgit:org.eclipse.jgit:6.6.1.202309021850-r') { exclude module: 'slf4j-api' exclude module: 'jsch' exclude module: 'commons-logging' diff --git a/out/production/resources/resources/icon.png b/out/production/resources/resources/icon.png new file mode 100644 index 0000000..53e1d53 Binary files /dev/null and b/out/production/resources/resources/icon.png differ diff --git a/src/main/groovy/com/rundeck/plugin/GitAddWorkflowStep.groovy b/src/main/groovy/com/rundeck/plugin/GitAddWorkflowStep.groovy index 2c9ec85..6acdc72 100644 --- a/src/main/groovy/com/rundeck/plugin/GitAddWorkflowStep.groovy +++ b/src/main/groovy/com/rundeck/plugin/GitAddWorkflowStep.groovy @@ -43,7 +43,7 @@ class GitAddWorkflowStep implements StepPlugin, Describable{ PropertyUtil.string(GIT_BASE_DIRECTORY, "Base Directory", "Directory to add to.", true, null, null, null, renderingOptionsConfig)) .property(PropertyUtil.string(GIT_ADD_FILE_PATTERN, "File Pattern", '''File Pattern of files to be added. - See [addFilepattern](http://archive.eclipse.org/jgit/docs/jgit-2.0.0.201206130900-r/apidocs/org/eclipse/jgit/api/AddCommand.html#addFilepattern(java.lang.String)) for more details.''', true, +See [addFilepattern](http://archive.eclipse.org/jgit/docs/jgit-2.0.0.201206130900-r/apidocs/org/eclipse/jgit/api/AddCommand.html#addFilepattern(java.lang.String)) for more details.''', true, ".",null,null, renderingOptionsConfig)) .property(PropertyUtil.bool(GIT_LOG_DISABLE, "Disable log output", "Enabling this flag, the plugin will not show the output log", true, "false",null, renderingOptionsConfig)) diff --git a/src/main/groovy/com/rundeck/plugin/GitCloneWorkflowStep.groovy b/src/main/groovy/com/rundeck/plugin/GitCloneWorkflowStep.groovy index 20e29a8..2a53e3e 100644 --- a/src/main/groovy/com/rundeck/plugin/GitCloneWorkflowStep.groovy +++ b/src/main/groovy/com/rundeck/plugin/GitCloneWorkflowStep.groovy @@ -52,14 +52,14 @@ class GitCloneWorkflowStep implements StepPlugin, Describable{ PropertyUtil.string(GIT_BASE_DIRECTORY, "Base Directory", "Directory for checkout.", true, null, null, null, renderingOptionsConfig)) .property(PropertyUtil.string(GIT_URL, "Git URL", '''Checkout url. - See [git-clone](https://www.kernel.org/pub/software/scm/git/docs/git-clone.html) - specifically the [GIT URLS](https://www.kernel.org/pub/software/scm/git/docs/git-clone.html#URLS) section. - Some examples: - * `ssh://[user@]host.xz[:port]/path/to/repo.git/` - * `git://host.xz[:port]/path/to/repo.git/` - * `http[s]://host.xz[:port]/path/to/repo.git/` - * `ftp[s]://host.xz[:port]/path/to/repo.git/` - * `rsync://host.xz/path/to/repo.git/`''', true, +See [git-clone](https://www.kernel.org/pub/software/scm/git/docs/git-clone.html) +specifically the [GIT URLS](https://www.kernel.org/pub/software/scm/git/docs/git-clone.html#URLS) section. +Some examples: +* `ssh://[user@]host.xz[:port]/path/to/repo.git/` +* `git://host.xz[:port]/path/to/repo.git/` +* `http[s]://host.xz[:port]/path/to/repo.git/` +* `ftp[s]://host.xz[:port]/path/to/repo.git/` +* `rsync://host.xz/path/to/repo.git/`''', true, null,null,null, renderingOptionsConfig)) .property(PropertyUtil.string(GIT_BRANCH, "Branch", "Checkout branch.", true, "master",null,null, renderingOptionsConfig)) diff --git a/src/main/groovy/com/rundeck/plugin/GitCommitWorkflowStep.groovy b/src/main/groovy/com/rundeck/plugin/GitCommitWorkflowStep.groovy index 0f5b4f7..7add372 100644 --- a/src/main/groovy/com/rundeck/plugin/GitCommitWorkflowStep.groovy +++ b/src/main/groovy/com/rundeck/plugin/GitCommitWorkflowStep.groovy @@ -54,14 +54,14 @@ class GitCommitWorkflowStep implements StepPlugin, Describable{ PropertyUtil.string(GIT_BASE_DIRECTORY, "Base Directory", "Directory to commit.", true, null, null, null, renderingOptionsConfig)) .property(PropertyUtil.string(GIT_URL, "Git URL", '''Checkout url. - See [git-commit](https://www.kernel.org/pub/software/scm/git/docs/git-commit.html) - specifically the [GIT URLS](https://www.kernel.org/pub/software/scm/git/docs/git-push.html#URLS) section. - Some examples: - * `ssh://[user@]host.xz[:port]/path/to/repo.git/` - * `git://host.xz[:port]/path/to/repo.git/` - * `http[s]://host.xz[:port]/path/to/repo.git/` - * `ftp[s]://host.xz[:port]/path/to/repo.git/` - * `rsync://host.xz/path/to/repo.git/`''', true, +See [git-commit](https://www.kernel.org/pub/software/scm/git/docs/git-commit.html) +specifically the [GIT URLS](https://www.kernel.org/pub/software/scm/git/docs/git-push.html#URLS) section. +Some examples: +* `ssh://[user@]host.xz[:port]/path/to/repo.git/` +* `git://host.xz[:port]/path/to/repo.git/` +* `http[s]://host.xz[:port]/path/to/repo.git/` +* `ftp[s]://host.xz[:port]/path/to/repo.git/` +* `rsync://host.xz/path/to/repo.git/`''', true, null,null,null, renderingOptionsConfig)) .property(PropertyUtil.string(GIT_MESSAGE, "Message", "Commit Message.", true, "Rundeck Commit",null,null, renderingOptionsConfig)) diff --git a/src/main/groovy/com/rundeck/plugin/GitPushWorkflowStep.groovy b/src/main/groovy/com/rundeck/plugin/GitPushWorkflowStep.groovy index 9f8ccde..5a17402 100644 --- a/src/main/groovy/com/rundeck/plugin/GitPushWorkflowStep.groovy +++ b/src/main/groovy/com/rundeck/plugin/GitPushWorkflowStep.groovy @@ -51,14 +51,14 @@ class GitPushWorkflowStep implements StepPlugin, Describable{ PropertyUtil.string(GIT_BASE_DIRECTORY, "Base Directory", "Directory to push.", true, null, null, null, renderingOptionsConfig)) .property(PropertyUtil.string(GIT_URL, "Git URL", '''Checkout url. - See [git-push](https://www.kernel.org/pub/software/scm/git/docs/git-push.html) - specifically the [GIT URLS](https://www.kernel.org/pub/software/scm/git/docs/git-push.html#URLS) section. - Some examples: - * `ssh://[user@]host.xz[:port]/path/to/repo.git/` - * `git://host.xz[:port]/path/to/repo.git/` - * `http[s]://host.xz[:port]/path/to/repo.git/` - * `ftp[s]://host.xz[:port]/path/to/repo.git/` - * `rsync://host.xz/path/to/repo.git/`''', true, +See [git-push](https://www.kernel.org/pub/software/scm/git/docs/git-push.html) +specifically the [GIT URLS](https://www.kernel.org/pub/software/scm/git/docs/git-push.html#URLS) section. +Some examples: +* `ssh://[user@]host.xz[:port]/path/to/repo.git/` +* `git://host.xz[:port]/path/to/repo.git/` +* `http[s]://host.xz[:port]/path/to/repo.git/` +* `ftp[s]://host.xz[:port]/path/to/repo.git/` +* `rsync://host.xz/path/to/repo.git/`''', true, null,null,null, renderingOptionsConfig)) .property(PropertyUtil.bool(GIT_LOG_DISABLE, "Disable log output", "Enabling this flag, the plugin will not show the output log", true, "false",null, renderingOptionsConfig))