Skip to content

Tags: appleboy/drone-jenkins

Tags

v1.9.2

Toggle v1.9.2's commit message

Verified

This commit was signed with the committer’s verified signature.
appleboy Bo-Yi Wu
chore(deps): bump github.com/appleboy/com from 1.1.1 to 1.2.1

- Upgrade appleboy/com module to the latest release

v1.9.1

Toggle v1.9.1's commit message
chore: maintenance release - bump Go to 1.25.9, CI matrix 1.25/1.26, …

…Trivy scanning

v1.9.0

Toggle v1.9.0's commit message

Verified

This commit was signed with the committer’s verified signature.
appleboy Bo-Yi Wu
docs: document Jenkins authentication and CSRF protection methods

- Clarify and expand Jenkins authentication documentation, outlining API token, remote trigger token, and combined authentication options
- Add detailed explanations and requirements for working with CSRF protection in Jenkins, including error guidance
- Modify authentication requirements and usage examples to emphasize API token over remote trigger token, especially for secure Jenkins setups
- Introduce a Troubleshooting section with solutions for common Jenkins authentication errors (403, 401, remote token issues)
- Add corresponding CSRF protection notices and troubleshooting guidance to Chinese (Simplified and Traditional) documentation

Signed-off-by: appleboy <appleboy.tw@gmail.com>

v1.8.0

Toggle v1.8.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: add support for custom CA certificates for SSL/TLS connections (#…

…42)

* feat: add support for custom CA certificates for SSL/TLS connections

- Add support for custom CA certificates (via PEM content, file path, or HTTP/HTTPS URL) for SSL/TLS connections.
- Document the new CA certificate option and usage examples for CLI, Docker, and Drone CI in the README.
- Update Jenkins client initialization to load and validate a custom CA certificate if provided, using a priority where insecure mode overrides custom CA.
- Introduce comprehensive tests for CA certificate loading and Jenkins client initialization with different CA certificate sources and error scenarios.
- Register the new ca-cert command-line flag and propagate its value through configuration and debug output.
- Ensure that error handling for certificate loading fully propagates failures.

Signed-off-by: appleboy <appleboy.tw@gmail.com>

* test: update test CA certificate with new sample

- Replace the sample CA certificate used in tests with a new certificate

Signed-off-by: appleboy <appleboy.tw@gmail.com>

---------

Signed-off-by: appleboy <appleboy.tw@gmail.com>

v1.7.1

Toggle v1.7.1's commit message

Verified

This commit was signed with the committer’s verified signature.
appleboy Bo-Yi Wu
ci: update build workflow and dependencies for Go 1.24 compatibility

- Update Go version requirement from 1.22 to 1.24.0
- Add github.com/appleboy/com as a dependency
- Set GitHub Actions output with build result and URL after Jenkins build completion
- Log a warning if setting GitHub output fails

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

v1.7.0

Toggle v1.7.0's commit message

Verified

This commit was signed with the committer’s verified signature.
appleboy Bo-Yi Wu
docs: document and standardize multi-line build parameter configurations

- Add example configurations for build parameters and waiting for job completion
- Document new settings: wait, poll_interval, timeout, insecure, and remote_token
- Update parameters format to require multi-line key=value pairs (one per line)
- Clarify handling of whitespace, empty lines, and multiple equals signs in parameter values
- Revise CLI and Docker usage examples to use multi-line parameters format
- Update YAML configuration example to use multi-line parameters block

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

v1.6.0

Toggle v1.6.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: add configurable Jenkins job wait and polling support (#40)

- Add support for waiting for Jenkins job completion with polling and timeout options
- Introduce flags and environment variables to control wait behavior, poll interval, and timeout
- Refactor the Jenkins job trigger to return queue item ID and enable job status tracking
- Implement functions for querying queue items and build status, including waiting until a build completes or times out
- Update CLI, plugin, and documentation to explain new job wait and polling capabilities
- Extend tests to cover queue item parsing, build info retrieval, and job completion scenarios with success, failure, and timeouts

Signed-off-by: appleboy <appleboy.tw@gmail.com>

v1.5.0

Toggle v1.5.0's commit message

Verified

This commit was signed with the committer’s verified signature.
appleboy Bo-Yi Wu
docs: update Jenkins API token creation instructions and images

- Update instructions to select "Security" instead of "Configure" when creating a Jenkins API token
- Replace the token creation image with a new screenshot
- Remove the old jenkins-token.png image and add personal-token.png

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

v1.4.1

Toggle v1.4.1's commit message

Verified

This commit was signed with the committer’s verified signature.
appleboy Bo-Yi Wu
refactor: refactor codebase to use plural form 'parameters'

- Rename `parameter` to `parameters` in CLI flags and environment variables
- Update function calls to use `parameters` instead of `parameter`
- Change struct field `Parameter` to `Parameters`
- Modify loop variable to iterate over `Parameters` instead of `Parameter`

Signed-off-by: appleboy <appleboy.tw@gmail.com>

v1.4.0

Toggle v1.4.0's commit message

Verified

This commit was signed with the committer’s verified signature.
appleboy Bo-Yi Wu
ci: enhance CI/CD pipeline with GoReleaser integration

- Replace `go-version` with `go-version-file` and add `check-latest` in GitHub Actions workflow
- Add `.goreleaser.yaml` configuration file with build, archive, checksum, snapshot, release, and changelog settings

Signed-off-by: appleboy <appleboy.tw@gmail.com>