-
New Feature
-
Resolution: Unresolved
-
Major
-
-
4.8.0 - released username / password credential binding
It would be nice to be able to use the GitPublisher inside a workflow as it is possible in other jobs.
This requires the plugin to be upgrade to Jenkins core 1.580.1+, to implement the jenkins.tasks.SimpleBuildStep in GitPublisher
- depends on
-
JENKINS-26055 DurableTaskStep
-
- Resolved
-
- is duplicated by
-
JENKINS-42279 Provide a command to commit on a scm inside a pipeline, like there is a checkout command
-
- Resolved
-
-
JENKINS-61127 More freely defined advanced clone behaviours
-
- Closed
-
- is related to
-
JENKINS-25389 Allow push of tags created during the build
-
- Closed
-
-
JENKINS-36496 Publish from pipeline
-
- Closed
-
- relates to
-
JENKINS-67074 Secrets are not masked when URL-encoded
-
- Open
-
-
JENKINS-47733 Add a withGit pipeline step that provides git credentials
-
- Open
-
- links to
[JENKINS-28335] Pipeline step to run Git commands with credentials & tool
Labels | New: workflow |
Issue Type | Original: Improvement [ 4 ] | New: New Feature [ 2 ] |
Priority | Original: Trivial [ 5 ] | New: Major [ 3 ] |
Summary | Original: Be able to use GitPublisher in a workflow description | New: Be able to use GitPublisher in a workflow |
Summary | Original: Be able to use GitPublisher in a workflow | New: Step to run Git commands w/ credentials & tool (was: GitPublisher support) |
Assignee | Original: Nicolas De Loof [ ndeloof ] |
Link |
New:
This issue depends on |
I already considered this possibility but do not consider it straightforward. GitPublisher relies on obtaining the single GitSCM configured for the project; there is no equivalent concept for Workflow.
Anyway the extensive hardcoded logic in this publisher probably does not make sense in an otherwise flexible script. More useful would be an independent Step which lets you run arbitrary git commands, integrates with Credentials for authentication, and lets you pick a GitTool (certainly CLI, perhaps also JGit).