Skip to content

Commit c8d8dd7

Browse files
authored
Merge pull request #43 from SignPath/release/jenkins-plugin-3.3.0
adds changelog for Jenkins 3.3.0
2 parents 65e09b3 + e310614 commit c8d8dd7

2 files changed

Lines changed: 39 additions & 11 deletions

File tree

docs/_data/changelog.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
- date: '2026-03-30'
22
updates:
3+
jenkins_plugin:
4+
version: 3.3.0
5+
breaking_changes:
6+
- text: Requires Jenkins version 2.426.3 or higher.
7+
issues: [SIGN-8114]
8+
new_features:
9+
- text: |-
10+
The `archiveArtifact` step is not required any more for signing. Instead of the actual artifact, a digest file is now automatically published to the Jenkins server.
11+
issues: [SIGN-8283]
12+
- text: |-
13+
Added the `inputArtifactRetrievalUrl` and `inputArtifactRetrievalHttpHeaders` parameters to allow retrieving an unsigned artifact from a HTTPS URL.
14+
issues: [SIGN-8394]
15+
improvements:
16+
- text: Various performance improvements.
17+
issues: [SIGN-8437]
318
application:
419
version: 1.208.1
520
new_features:

docs/trusted-build-systems/jenkins.md

Lines changed: 24 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,6 @@ See the [official plugin page](https://plugins.jenkins.io/signpath/) on how the
3434

3535
## Usage
3636

37-
In your `Jenkinsfile`, make sure the artifacts to be signed are pushed to the master node by adding a stage e.g.
38-
39-
```scala
40-
stage('Archive') {
41-
steps {
42-
archiveArtifacts artifacts: "build-output/**", fingerprint: true
43-
}
44-
}
45-
```
46-
4737
### Provided steps
4838

4939
Include the `submitSigningRequest` and optionally, the `getSignedArtifact` steps in your build pipeline.
@@ -71,7 +61,9 @@ Include the `submitSigningRequest` and optionally, the `getSignedArtifact` steps
7161
| `inputArtifactPath` | (mandatory) | Relative path of the artifact to be signed
7262
| `outputArtifactPath` | | Relative path where the signed artifact is stored after signing
7363
| `waitForCompletion` | (mandatory) | Set to `true` for synchronous and `false` for asynchronous signing requests
74-
| `parameters` | | [User-defined parameters](/artifact-configuration/syntax#parameters) as `Map<String, String>` key/value pairs
64+
| `parameters` | | [User-defined parameters](/artifact-configuration/syntax#parameters) as `Map<String, String>` key/value pairs
65+
| `inputArtifactRetrievalUrl` | | Can be used to retrieve the unsigned artifact from a HTTPS URL instead of uploading it from the agent. _Note: The file referenced via `inputArtifactPath` must be the same one._
66+
| `inputArtifactRetrievalHttpHeaders` | | HTTP headers used for retrieving the artifact, as `Map<String, String>` key/value pairs.
7567

7668
#### Parameters for the `getSignedArtifact` step
7769

@@ -134,3 +126,24 @@ Include the `submitSigningRequest` and optionally, the `getSignedArtifact` steps
134126
}
135127
}
136128
```
129+
130+
#### Example: Submit a signing request, but download the unsigned artifact from a HTTPS URL
131+
132+
```scala
133+
stage('Sign with SignPath') {
134+
steps {
135+
submitSigningRequest(
136+
projectSlug: "${PROJECT_SLUG}",
137+
signingPolicySlug: "${SIGNING_POLICY_SLUG}",
138+
artifactConfigurationSlug: "${ARTIFACT_CONFIGURATION_SLUG}",
139+
inputArtifactPath: "build-output/my-artifact.exe",
140+
outputArtifactPath: "build-output/my-artifact.signed.exe",
141+
waitForCompletion: true,
142+
inputArtifactRetrievalUrl: "https://my.download.share.com/my-artifact.exe",
143+
inputArtifactRetrievalHttpHeaders: [
144+
"Authorization": "Bearer mysupersecretauth"
145+
]
146+
)
147+
}
148+
}
149+
```

0 commit comments

Comments
 (0)