6.0.1 • Published 1 year ago

screwdriver-executor-jenkins v6.0.1

Weekly downloads
6
License
BSD-3-Clause
Repository
github
Last release
1 year ago

Screwdriver Jenkins Executor

Version Downloads Build Status Open Issues License

Jenkins Executor Plugin for Screwdriver

Usage

npm install screwdriver-executor-jenkins

Configure

The class provides a couple options that are configurable in the instantiation of this Executor

ParameterTypeDefaultDescription
configObjectConfiguration Object
config.ecosystemObjectScrewdriver Ecosystem (ui, api, store, etc.)
config.jenkins.usernameString'screwdriver'The username for the Jenkins cluster
config.jenkins.passwordStringThe password or token for the Jenkins cluster
config.jenkins.hostStringThe hostname for the Jenkins cluster
config.jenkins.portNumber8080The port number for the Jenkins cluster
config.jenkins.nodeLabelString'screwdriver'Node labels of Jenkins slaves
config.jenkins.buildTimeoutNumber90Number of minutes to allow a build to run before considering it is timed out
config.jenkins.maxBuildTimeoutNumber120Max timeout user can configure up to
config.docker.composeCommandString'docker'-composeThe path to the docker-compose command
config.docker.launchVersionString'stable'Launcher container version to use
config.docker.prefixString''Prefix to container names
config.docker.memoryString'4g'Memory limit (docker run --memory option)
config.docker.memoryLimitString'6g'Memory limit include swap (docker run --memory-swap option)
config.buildScriptStringShell script to start the job
config.cleanupScriptString''Shell script to clean up the job
config.cleanupTimeLimitNumber20Time to stop the job (seconds)
config.cleanupWatchIntervalNumber2Interval to detect the stopped job (seconds)

If config.buildScript is provided, the executor run the command instead of docker. You are responsible for deploying launcher in slave machines or VM.

Requirements

Jenkins

Slave machine

Methods

For more information on start, stop, and stats please see the executor-base-class.

Testing

npm test

License

Code licensed under the BSD 3-Clause license. See LICENSE file for terms.

6.0.1

1 year ago

6.0.0

1 year ago

5.0.2

3 years ago

5.0.1

3 years ago

5.0.0

4 years ago

4.5.0

4 years ago

4.4.4

4 years ago

4.4.3

5 years ago

4.4.2

5 years ago

4.4.1

5 years ago

4.4.0

5 years ago

4.3.0

5 years ago

4.2.3

5 years ago

4.2.2

6 years ago

4.2.1

6 years ago

4.2.0

6 years ago

4.1.0

6 years ago

4.0.1

6 years ago

4.0.0

6 years ago

3.0.2

6 years ago

3.0.1

6 years ago

3.0.0

6 years ago

2.1.1

6 years ago

2.1.0

6 years ago

2.0.0

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago