Branch: refs/heads/master
Home: https://github.com/jenkinsci/git-plugin
Commit: 191e99234b91b125449751978bdebb0a19be3c2f
https://github.com/jenkinsci/git-plugin/commit/191e99234b91b125449751978bdebb0a19be3c2f
Author: Mark Waite <[email protected]>
Date: 2022-12-23 (Fri, 23 Dec 2022)
Changed paths:
M pom.xml
A src/test/java/hudson/plugins/git/GitStepSnippetizerTest.java
Log Message:
-----------
Add git step snippet tests
Confirm the snippets generated for the git step do not include
parameters when the value of the parameter is the default value.
Commit: 6b74521b69816b96178e6501988b12d1fd3149ed
https://github.com/jenkinsci/git-plugin/commit/6b74521b69816b96178e6501988b12d1fd3149ed
Author: Mark Waite <[email protected]>
Date: 2022-12-23 (Fri, 23 Dec 2022)
Changed paths:
M src/test/java/hudson/plugins/git/GitStepSnippetizerTest.java
Log Message:
-----------
Use round trip assertion in git step test
Commit: 3c22962216167e3e9df7b864ca5f23ddd87584c6
https://github.com/jenkinsci/git-plugin/commit/3c22962216167e3e9df7b864ca5f23ddd87584c6
Author: Mark Waite <[email protected]>
Date: 2022-12-23 (Fri, 23 Dec 2022)
Changed paths:
M src/test/java/hudson/plugins/git/browser/GitRepositoryBrowserTest.java
Log Message:
-----------
Remove unused import
Commit: 33a6cc4768458d22dab77210253471f2ffa14460
https://github.com/jenkinsci/git-plugin/commit/33a6cc4768458d22dab77210253471f2ffa14460
Author: Mark Waite <[email protected]>
Date: 2022-12-23 (Fri, 23 Dec 2022)
Changed paths:
M pom.xml
Log Message:
-----------
Sort pom entries
Commit: e7cc0b6625cc5bfd8236ea256ca173acb9efed03
https://github.com/jenkinsci/git-plugin/commit/e7cc0b6625cc5bfd8236ea256ca173acb9efed03
Author: Mark Waite <[email protected]>
Date: 2022-12-23 (Fri, 23 Dec 2022)
Changed paths:
A src/test/java/hudson/plugins/git/CheckoutStepSnippetizerTest.java
Log Message:
-----------
Test workflow snippet generation for checkout step
Workflow snippets should not display parameters if the default value
of the parameter is unmodified.
The `git` step does that very well. When a credentialId is not provided,
the snippet does not include a parameter for the credentialId.
The `checkout` step does not do that very well. Many default parameters
are included in the generated snippet.
This test shows the issue without providing any resolution for the
issue. The issue is shown by constructing an SCM Pipeline step and
then asserting it has the expected contents with the extra "junk".
An additional assertion is made that the Pipeline definition parses to
the same result even without the extra "junk".
Compare:
https://github.com/jenkinsci/git-plugin/compare/756dc6d7855c...e7cc0b6625cc
--
You received this message because you are subscribed to the Google Groups
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/git-plugin/push/refs/heads/master/756dc6-e7cc0b%40github.com.