Details
-
Type:
New Feature
-
Status: Open (View Workflow)
-
Priority:
Major
-
Resolution: Unresolved
-
Component/s: git-plugin
-
Labels:
-
Similar Issues:
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
-
- Reopened
-
- is duplicated by
-
JENKINS-42279 Provide a command to commit on a scm inside a pipeline, like there is a checkout command
-
- Resolved
-
-
JENKINS-47733 Add a withGit pipeline step that provides git credentials
-
- Closed
-
- is related to
-
JENKINS-36496 Publish from pipeline
-
- Closed
-
Official coudbees provided instructions for the workaround: https://support.cloudbees.com/hc/en-us/articles/360027646491-Pipeline-Equivalent-to-Git-Publisher
...but they have bugs in the examples: withCredentials is used to publish variable GIT_USERNAME ... and then that variable is referenced with GIT_AUTH_USR in shell step. The same mistake for password variables.