Skip to content
This repository was archived by the owner on Mar 18, 2026. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

# GitlabCiLocal IntelliJ plugin Changelog

## [0.0.6] - 2024-06-07
Fix the command creation for jobs using parallel:matrix

## [0.0.5] - 2023-08-19
Updated to work on newer Intellij platforms.
Should be more robust now on excluding .gitlab-ci-local folder.
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
pluginGroup = dk.cego.gitlab_ci_local_plugin
pluginName = GitlabCiLocal IntelliJ Plugin
# SemVer format -> https://semver.org
pluginVersion = 0.0.5
pluginVersion = 0.0.6

# See https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
# for insight into build numbers and IntelliJ Platform versions.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ class GclRunConfiguration(project: Project?, factory: ConfigurationFactory?, nam
return object : CommandLineState(executionEnvironment) {
@Throws(ExecutionException::class)
override fun startProcess(): ProcessHandler {
val script = listOf(scriptName!!) + name.split(" ")
val needs = name.contains("--needs")
val job = name.split("--")[0].trim()
val script = listOf(scriptName!!) + job + (if (needs) "--needs" else "--no-needs")
val commandLine = PtyCommandLine(WslUtils.rewriteToWslExec(project.basePath!!, script)).withInitialColumns(PtyCommandLine.MAX_COLUMNS)
commandLine.workDirectory = File(project.basePath!!)
commandLine.charset = Charsets.UTF_8
Expand All @@ -44,4 +46,4 @@ class GclRunConfiguration(project: Project?, factory: ConfigurationFactory?, nam
}
}
}
}
}