A Jenkins plugin that provides build step integration with TacoTruck
- Go to Manage Jenkins → Manage Plugins
- Search for "TacoTruck" in the Available tab
- Install the plugin and restart Jenkins
- Download the latest
.hpi
file from the releases page - Go to Manage Jenkins → Manage Plugins → Advanced
- Upload the
.hpi
file and restart Jenkins
Currently, no global configuration is required for this plugin.
- Add a build step "TacoTruck Integration"
- Configure the following parameters:
- Provider: Select the provider from the dropdown (currently supported:
testfiesta
) - Run Name: A descriptive name for this integration step
- API URL: The TacoTruck service endpoint URL
- Project: (Optional) Project identifier
- Credentials: Select appropriate credentials from the dropdown
- Results Path: Path to the test results file
- Handle: username or organization handle
- Provider: Select the provider from the dropdown (currently supported:
Use the tacotruck
step in your Jenkinsfile with the nodejs buildwrapper:
pipeline {
agent any
tools { nodejs 'Node 20.x' }
stages {
stage('Submit Test Results') {
steps {
tacotruck(
provider: 'testfiesta',
runName: 'My TacoTruck Run',
apiUrl: 'https://staging.api.testfiesta.com',
handle: 'TestHandle',
project: 'testProjectKey',
credentialsId: 'YOUR_CREDENTIALS_ID',
resultsPath: './test-results.xml'
)
}
}
}
}
Note: The tacotruck
step must be wrapped inside a nodejs
buildwrapper block to ensure npm and npx are available in the PATH.
This plugin supports both username/password and API token credentials:
- Go to Manage Jenkins → Manage Credentials
- Add credentials of type:
- Username with password for basic authentication
- Secret text for API token authentication
- Jenkins 2.479.3 or later
- Java 17 or later
mvn clean package
mvn test
mvn hpi:run
mvn hpi:run -Dport=5000 (running on port 5000)
This will start a Jenkins instance with the plugin loaded at http://localhost:8080/jenkins
Report issues and feature requests on GitHub Issues.
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests for new functionality
- Ensure all tests pass
- Submit a pull request
Licensed under the MIT License. See LICENSE for details.