-
Notifications
You must be signed in to change notification settings - Fork 354
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[JENKINS-75208] Checkout on bitbucket server fail with IllegalArgumen…
…tException "Name cannot contain '/'" (#986) Fix Bitbucket Cloud client when getFile metadata has path attribute value that contains '/', for example 'scripts/Jenkinsfile' that cause a failure when build the SCMFile to return.
- Loading branch information
Showing
5 changed files
with
59 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...nt/payload/2.0-repositories-amuniz-test-repos-src-folder_2Ffile.properties_at_master.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
message=This is a test for metadata |
31 changes: 31 additions & 0 deletions
31
...d/2.0-repositories-amuniz-test-repos-src-master-folder_2Ffile.properties_format_meta.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"path": "folder/file.properties", | ||
"commit": { | ||
"hash": "e43fdffe2def75053da30efa8204d0317a0b932a", | ||
"links": { | ||
"self": { | ||
"href": "https://api.bitbucket.org/2.0/repositories/amuniz/test-repos/commit/e43fdffe2def75053da30efa8204d0317a0b932a" | ||
}, | ||
"html": { | ||
"href": "https://bitbucket.org/amuniz/test-repos/commits/e43fdffe2def75053da30efa8204d0317a0b932a" | ||
} | ||
}, | ||
"type": "commit" | ||
}, | ||
"type": "commit_file", | ||
"attributes": [], | ||
"escaped_path": "folder/file.properties", | ||
"size": 35, | ||
"mimetype": null, | ||
"links": { | ||
"self": { | ||
"href": "https://api.bitbucket.org/2.0/repositories/amuniz/test-repos/src/e43fdffe2def75053da30efa8204d0317a0b932a/folder/file.properties" | ||
}, | ||
"meta": { | ||
"href": "https://api.bitbucket.org/2.0/repositories/amuniz/test-repos/src/e43fdffe2def75053da30efa8204d0317a0b932a/folder/file.properties?format=meta" | ||
}, | ||
"history": { | ||
"href": "https://api.bitbucket.org/2.0/repositories/amuniz/test-repos/filehistory/e43fdffe2def75053da30efa8204d0317a0b932a/folder/file.properties" | ||
} | ||
} | ||
} |