redmine plugin for drone ci
10K+
This is a Drone CI plugin to interact with a Redmine.
At the moment the following tasks are supported:
In the future more tasks are planned.
- redmine
- drone
- the project within redmine needs to have wiki activated as it creates wiki pages
This plugin will parse you build data and create wiki pages in the project of your wiki.
releases -> release_name -> artifacts_...
branches -> branch_name -> artifacts...
This is very early work and may and may not work for you yet.
REDMINE_URL - the URL to your redmine server (required)REDMINE_TOKEN - your Redmine API TOKEN (required) best provided by a secretPROJECT_ID - the project id of the redmine project (required)ACTION - which action to perform (updateBranchStatus, updateReleaseStatus, updateBranchArtifacts, updateReleaseArtifacts, createProject, createVersion, updateIssues)BRANCH- the branch name to use. best taken from DRONE_BRANCH (keep in mind DRONE_BRANCH is not available in all DRONE_EVENTS)BUILD_STATUS - the build status of the build. Can also be taken from DRONE_BUILD_STATUS, or by yourself manuallyRELEASE - the release to use (can be taken from DRONE_TAG)BRANCH- the branch name to use. best taken from DRONE_BRANCH (keep in mind DRONE_BRANCH is not available in all DRONE_EVENTS)ARTIFACT_GROUP - artifacts are organized into groups, just select one suitable for youARTIFACTS - space separated list of artifacts (at the moment no special characters or spaces are supported)RELEASE - the release to use (can be taken from DRONE_TAG)ARTIFACT_GROUP - artifacts are organized into groups, just select one suitable for youARTIFACTS - space separated list of artifacts (at the moment no special characters or spaces are supported)Creates the project if it does not exist yet and ensures that one issue category per repository exists in it. The action is idempotent, so it can run on every pipeline.
PROJECT_ID - the identifier of the redmine project to create (required)PROJECT_NAME - the name of the project (optional, defaults to the project identifier)CATEGORY - the issue category to create in the project (optional, defaults to DRONE_REPO_NAME; set it to an empty value to skip category creation)PROJECT_PARENT - the numeric id of the parent project (optional, only applied when the project is actually created)PROJECT_PUBLIC - make the project public instead of private (optional; any value except false/0 enables it, only applied when the project is actually created)Ensures that the given version exists in the project and closes it. Meant to run on tag pushes, so the release version exists in redmine when the release pipeline finishes.
PROJECT_ID - the project id of the redmine project (required)RELEASE - the version to create and close (optional, defaults to DRONE_TAG)Parses the commit messages of the current build for issue references and updates the referenced redmine issues. Keywords are case-insensitive and need a blank or a colon before the # (e.g. fixes #123, closes: #456); one keyword can reference several issues (fixes #1, #2).
close, closes, closed, closing set the issue status to Closedfix, fixes, fixed, fixing set the issue status to Fixedref, refs, references, relates, ...) only add a noteEvery update adds a note in the form commit <short-sha> <subject> (<link to commit>). If an issue is referenced by multiple commits, the strongest keyword wins (close > fix > ref). A single failing issue does not abort the run; the action fails at the end if any issue could not be updated.
PROJECT_ID - the project id of the redmine project (required)I am trying to update the image weekly as long as my private Kubernetes cluster is available. So I do not promise anything and do not rely your business on this image.
This project is licensed under the MPLv2 License - see the LICENSE file for details.
Content type
Image
Digest
sha256:bbd9d5119…
Size
12.3 MB
Last updated
over 1 year ago
docker pull byterazor/drone-redmine