-
Improvement
-
Resolution: Fixed
-
Major
Update the Integrity-plugin to match the "Generic SCM step" interface requirements.
This would include
- various methods in SCM which formerly took an AbstractBuild now take a more generic Run (i.e., potentially a workflow build) plus a FilePath (i.e., a workspace).
- use the specified workspace rather than the former build.getWorkspace()
- some methods formerly taking AbstractProject now take the more generic Job.
- use @Override wherever possible to make sure you are using the right overloads.
- Replace AbstractBuild.getProject with Run.getParent.
- BuildListener has to be replaced with TaskListener in new method overloads.
- Note that changelogFile may now be null in checkout. If so, just skip changelog generation.
- checkout now takes an SCMRevisionState so you can know what to compare against without referring back to the build.
- replace getBuiltOn with FilePath.getComputer.
- SCMDescriptor.isApplicable should be switched to the Job overload.
....
see details here:
https://github.com/jenkinsci/workflow-plugin/blob/master/scm-step/README.md
This would generally include the use case of a "random checkout", which means that there is a single run that only want's to fetch a project content, defined only for this very job (e.g. a config path to a build project); no changelog or history required.
- is duplicated by
-
JENKINS-29889 Support of PTC Integrity in Wokflow version 1.9
-
- Resolved
-
[JENKINS-27140] Workflow support for Integrity SCM Plugin
Component/s | Original: workflow-plugin [ 18820 ] | |
Labels | Original: integrity-plugin plugin scm workflow | New: scm workflow |
Link |
New:
This issue is duplicated by |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: In Progress [ 3 ] | New: Resolved [ 5 ] |
Resolution | Original: Fixed [ 1 ] | |
Status | Original: Resolved [ 5 ] | New: Reopened [ 4 ] |
Comment |
[ We are using the special PTC plugin 1.31-4.10.9049 because we have an old MKS version. Which change should be made to this special PTC plugin version to make it compatible with workflow ? Any help will be very appreciated. ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Reopened [ 4 ] | New: Resolved [ 5 ] |
Workflow | Original: JNJira [ 161336 ] | New: JNJira + In-Review [ 196721 ] |
Labels | Original: scm workflow | New: pipeline scm workflow |
Labels | Original: pipeline scm workflow | New: pipeline scm |