Package | Description |
---|---|
io.jenkins.plugins.conventionalcommits.process | |
io.jenkins.plugins.conventionalcommits.utils |
Modifier and Type | Class and Description |
---|---|
class |
DefaultProcessHelper
This class runs a given command using ProcessBuilder.
|
Modifier and Type | Method and Description |
---|---|
com.github.zafarkhaja.semver.Version |
GoProjectType.getCurrentVersion(File directory,
ProcessHelper processHelper)
Gets the current version of the Go module as indicated by release tag on GitHub.
|
com.github.zafarkhaja.semver.Version |
MakeProjectType.getCurrentVersion(File directory,
ProcessHelper processHelper) |
com.github.zafarkhaja.semver.Version |
MavenProjectType.getCurrentVersion(File directory,
ProcessHelper processHelper) |
com.github.zafarkhaja.semver.Version |
HelmProjectType.getCurrentVersion(File directory,
ProcessHelper processHelper)
Return the next version of the version attribute.
|
com.github.zafarkhaja.semver.Version |
NpmProjectType.getCurrentVersion(File directory,
ProcessHelper processHelper)
Return the next version of the version attribute.
|
com.github.zafarkhaja.semver.Version |
PhpProjectType.getCurrentVersion(File directory,
ProcessHelper processHelper)
Gets the current version of the composer.json file if explicitly defined.
|
com.github.zafarkhaja.semver.Version |
PythonProjectType.getCurrentVersion(File directory,
ProcessHelper processHelper) |
com.github.zafarkhaja.semver.Version |
GradleProjectType.getCurrentVersion(File directory,
ProcessHelper processHelper) |
void |
WriteVersion.setProcessHelper(ProcessHelper processHelper) |
void |
CurrentVersion.setProcessHelper(ProcessHelper processHelper) |
void |
GoProjectType.writeVersion(File directory,
com.github.zafarkhaja.semver.Version nextVersion,
ProcessHelper processHelper)
Checks if there is a Go config file (go.mod) file in the directory.
|
void |
MakeProjectType.writeVersion(File directory,
com.github.zafarkhaja.semver.Version nextVersion,
ProcessHelper processHelper) |
void |
MavenProjectType.writeVersion(File directory,
com.github.zafarkhaja.semver.Version nextVersion,
ProcessHelper processHelper) |
void |
HelmProjectType.writeVersion(File directory,
com.github.zafarkhaja.semver.Version nextVersion,
ProcessHelper processHelper)
Write back to the Chart.yaml the new Version.
|
void |
NpmProjectType.writeVersion(File directory,
com.github.zafarkhaja.semver.Version nextVersion,
ProcessHelper processHelper)
Write back to the
package.json file the next version.Use the npm command version , see : https://docs.npmjs.com/cli/v6/commands/npm-version. |
void |
PhpProjectType.writeVersion(File directory,
com.github.zafarkhaja.semver.Version nexVersion,
ProcessHelper processHelper)
Checks if there is a composer.json file in the directory.
|
void |
PythonProjectType.writeVersion(File directory,
com.github.zafarkhaja.semver.Version nextVersion,
ProcessHelper processHelper)
Check if there is a Python config file in the directory (setup.py, setup.cfg, pyproject.toml)
If it's the case, change the file with next version wanted.
|
void |
GradleProjectType.writeVersion(File directory,
com.github.zafarkhaja.semver.Version nextVersion,
ProcessHelper processHelper)
Write the new calculated version in the build.gradle file.
|
Copyright © 2016–2022. All rights reserved.