Details
-
Improvement
-
Status: Resolved (View Workflow)
-
Major
-
Resolution: Fixed
-
None
Description
The return value of the git step should be the commit hash, etc., and there should be a way to pass that back in to a subsequent git step in case you want to check out the same revision in another workspace (without copying files).
The workaround is to archive and then unarchive sources.
Attachments
Issue Links
- depends on
-
JENKINS-24141 SCM with non-AbstractProject, revisited
-
- Closed
-
- is blocking
-
JENKINS-37584 P4 plugin : P4_CHANGELIST not available in workflow (pipeline)
-
- Closed
-
- is duplicated by
-
JENKINS-34455 Provide easy access to current commit ID in Jenkinsfile
-
- Resolved
-
-
JENKINS-36436 Environment variables are always NULL
-
- Closed
-
-
JENKINS-35230 The environment variables of git plugin not working in pipeline script.
-
- Closed
-
- is related to
-
JENKINS-45962 GIT_BRANCH variable is not populated in jenkins pipeline
-
- Closed
-
-
JENKINS-26129 Multibranch workflow projects
-
- Resolved
-
-
JENKINS-31386 "checkout scm" does not work in standalone jobs
-
- Resolved
-
-
JENKINS-26942 Easy to way to copy workspace files
-
- Resolved
-
-
JENKINS-30412 Access to build's own changelog from script
-
- Resolved
-
-
JENKINS-47226 Provide easy access to git branch name in (single branch) Pipeline build
-
- Open
-
-
JENKINS-27018 Provide either 'branch' or 'tag' in git step
-
- Resolved
-
- relates to
-
JENKINS-44449 Provide GIT_COMMIT_SHORT environment variable
-
- Closed
-
- links to
- mentioned in
-
Page Loading...
Activity
Field | Original Value | New Value |
---|---|---|
Link |
This issue depends on |
Link |
This issue is related to |
Link |
This issue is related to |
Link |
This issue is related to |
Link |
This issue is related to |
Link |
This issue is related to |
Link |
This issue is duplicated by |
Epic Link | JENKINS-35394 [ 171187 ] |
Workflow | JNJira [ 160090 ] | JNJira + In-Review [ 180250 ] |
Component/s | pipeline-general [ 21692 ] |
Component/s | workflow-plugin [ 18820 ] |
Component/s | workflow-scm-step-plugin [ 21717 ] | |
Component/s | pipeline [ 21692 ] |
Attachment | multibranch-wrong-revision.png [ 34338 ] |
Remote Link | This issue links to "subversion PR 176 (Web Link)" [ 15341 ] |
Link |
This issue is duplicated by |
Link |
This issue is duplicated by |
Assignee | Jesse Glick [ jglick ] | Andrew Bayer [ abayer ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Remote Link | This issue links to "Git plugin PR #492 (Web Link)" [ 16318 ] |
Remote Link | This issue links to "Core PR #2730 (Web Link)" [ 16319 ] |
Remote Link | This issue links to "SCM Step PR #16 (Web Link)" [ 16320 ] |
Remote Link | This issue links to "SVN PR #182 (Web Link)" [ 16321 ] |
Remote Link | This issue links to "Mercurial PR #102 (Web Link)" [ 16322 ] |
Status | In Progress [ 3 ] | In Review [ 10005 ] |
Link |
This issue relates to |
Rank | Ranked higher |
Link |
This issue is blocking |
Resolution | Fixed [ 1 ] | |
Status | In Review [ 10005 ] | Resolved [ 5 ] |
Link |
This issue is related to |
Comment |
[ [~jglick] Hello, I had this support ticket [https://support.cloudbees.com/hc/en-us/requests/47538] marked as resolved based on the work done to resolve this issue. My request was for pipeline to support GHPRB style "skip build phrase". Forgive me but it's not obvious how I would leverage the fix for this issue to give me the "skip build phrase" type functionality. Could you give some pointers on that? Thanks ] |
Link | This issue is related to JENKINS-47226 [ JENKINS-47226 ] |
Remote Link | This issue links to "Page (Jenkins Wiki)" [ 20839 ] |
Requires some kind of enhanced API from SCM.