Details
-
New Feature
-
Status: In Review (View Workflow)
-
Major
-
Resolution: Unresolved
-
-
4.8.0 - released username / password credential binding
Description
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
Attachments
Issue Links
- 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
Activity
Field | Original Value | New Value |
---|---|---|
Labels | workflow |
Issue Type | Improvement [ 4 ] | New Feature [ 2 ] |
Priority | Trivial [ 5 ] | Major [ 3 ] |
Summary | Be able to use GitPublisher in a workflow description | Be able to use GitPublisher in a workflow |
Summary | Be able to use GitPublisher in a workflow | Step to run Git commands w/ credentials & tool (was: GitPublisher support) |
Assignee | Nicolas De Loof [ ndeloof ] |
Link |
This issue depends on |
Rank | Ranked higher |
Link |
This issue is related to |
Workflow | JNJira [ 163171 ] | JNJira + In-Review [ 181120 ] |
Labels | workflow | pipeline workflow |
Labels | pipeline workflow | pipeline |
Link |
This issue is duplicated by |
Link | This issue is related to JENKINS-47733 [ JENKINS-47733 ] |
Summary | Step to run Git commands w/ credentials & tool (was: GitPublisher support) | Pipeline step to run Git commands with credentials & tool |
Link | This issue is duplicated by JENKINS-47733 [ JENKINS-47733 ] |
Link | This issue is related to JENKINS-47733 [ JENKINS-47733 ] |
Link | This issue is duplicated by JENKINS-47733 [ JENKINS-47733 ] |
Link | This issue relates to JENKINS-47733 [ JENKINS-47733 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Assignee | Mark Waite [ markewaite ] |
Assignee | Mark Waite [ markewaite ] |
Remote Link | This issue links to "PR-712 - Harshit Chopra GSoC 2021 phase 1 (Web Link)" [ 26777 ] |
Remote Link | This issue links to "PR 1104 - git plugin pull request (Web Link)" [ 26819 ] |
Status | In Progress [ 3 ] | In Review [ 10005 ] |
Released As | 4.8.0 - released username / password credential binding |
Link |
This issue is related to |
Link |
This issue is duplicated by |
Link | This issue relates to JENKINS-67074 [ JENKINS-67074 ] |
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).