{"_id":"@atomist/sdm-pack-jenkins","_rev":"36-4e4405d7b9e78c2e924880cfa3fa9ae8","name":"@atomist/sdm-pack-jenkins","dist-tags":{"branch-master":"0.1.0-master.20190916023824","latest":"0.1.0-master.20190604195525","next":"0.1.0-master.20190916023824"},"versions":{"0.1.0-master.20190604195525":{"name":"@atomist/sdm-pack-jenkins","version":"0.1.0-master.20190604195525","description":"Extension Pack for an Atomist SDM to integrate with Jenkins","author":{"name":"Atomist","email":"support@atomist.com","url":"https://atomist.com/"},"license":"Apache-2.0","homepage":"https://github.com/atomist/sdm-pack-jenkins#readme","repository":{"type":"git","url":"git+https://github.com/atomist/sdm-pack-jenkins.git"},"bugs":{"url":"https://github.com/atomist/sdm-pack-jenkins/issues"},"keywords":["atomist","automation","pack","sdm","jenkins"],"main":"./index.js","types":"./index.d.ts","dependencies":{"@atomist/slack-messages":"^1.1.0","jenkins":"^0.25.0","lodash":"^4.17.11"},"peerDependencies":{"@atomist/automation-client":"*","@atomist/sdm":"*","@atomist/sdm-core":"*"},"devDependencies":{"@atomist/automation-client":"^1.5.3","@atomist/sdm":"^1.5.1","@atomist/sdm-core":"^1.5.1","@types/mocha":"^5.2.7","@types/power-assert":"^1.5.0","espower-typescript":"^9.0.2","mocha":"^6.1.4","npm-run-all":"^4.1.5","power-assert":"^1.6.1","rimraf":"^2.6.3","supervisor":"^0.12.0","ts-node":"^8.2.0","tslint":"^5.17.0","typedoc":"^0.14.2","typescript":"^3.5.1"},"directories":{"test":"test"},"scripts":{"autotest":"supervisor --watch index.ts,lib,test --extensions ts --no-restart-on exit --quiet --exec npm -- test","build":"run-s compile test lint doc","clean":"run-p clean:compile clean:test clean:doc clean:run","clean:compile":"rimraf git-info.json \"index.{d.ts,js{,.map}}\" \"{lib,test}/**/*.{d.ts,js{,.map}}\" lib/typings/types.ts","clean:dist":"run-s clean clean:npm","clean:doc":"rimraf doc","clean:npm":"rimraf node_modules","clean:run":"rimraf *-v8.log profile.txt log","clean:test":"rimraf .nyc_output coverage","compile":"run-s gql:gen compile:ts","compile:ts":"tsc --project .","doc":"typedoc --mode modules --excludeExternals --ignoreCompilerErrors --exclude \"**/*.d.ts\" --out doc index.ts lib","gql:gen":"atm-gql-gen","lint":"tslint --config tslint.json --format verbose --project .","lint:fix":"npm run lint -- --fix","test":"mocha --require espower-typescript/guess \"test/**/*.test.ts\"","test:one":"mocha --require espower-typescript/guess \"test/**/${TEST:-*.test.ts}\"","typedoc":"npm run doc"},"engines":{"node":">=8.1.0","npm":">=5.0.0"},"gitHead":"dd33feca2669c2fc05e702c78cc6e74a37d6a652","_id":"@atomist/sdm-pack-jenkins@0.1.0-master.20190604195525","_nodeVersion":"11.13.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-QzR20B5EX8ggpd3jGmR8ALxmMMWHJybVUFZLtfnjPwuHX1S1UFB3IWmrzLxClLmCMFLEnTWfaBlZ8FR1jLB/sA==","shasum":"b53a055a75d81e1b9d0d5dc6e503036b2e27f5ba","tarball":"https://registry.npmjs.org/@atomist/sdm-pack-jenkins/-/sdm-pack-jenkins-0.1.0-master.20190604195525.tgz","fileCount":14,"unpackedSize":167672,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc9szzCRA9TVsSAnZWagAADREP/0+wU8Uvy7ZWz57hTFjz\nN2nxayJR8IVItBDBZ7nbfXsyhFFNkAWk13F6debKxxemhqlMjJu8dIuTPVG5\ns+NY7yqcZddyEcRxulwesol2zHtP7vDCbR/rVKFXcpGmgLM4eLxFOjZ5R1eG\nX4+QBBO+VKU9LTVAikm/Llo5eVfC6UH6PpMQ1rU9RQxhVt8PmMeZMQ22jdzL\nE1ullK3ajLtU8tTgmiJYsaWmMqvA+rSRTiDURXNFQ2g7oKK8qx4SxCEVqKH9\nhcYH9Q+hHWmz+V5nS+1ZCMkkZiqEu9T//sCilv83YkFRoQbFUEOqaB0GDKXg\nH2p4Ejde+tUj5zyHIKvSYHAkAg41DWztdCtEMlooyhXsjIIV7FdnxZYJCg4G\nJzTNTiqbWAWpLCu/HYQhdhV8eNdar5lmNx+r8zlPIVKx4c43pd8uyIHGTjfm\nTXlA/wqgAX08ANs1ePAaPS9TazDERMQd9aW4bqZbNRZnNG0wysnjteqGDnLh\nx0ph0LDJhcBik1nzuX59FS0vLdbkKy+2v8D8IHnmPfOPB3DIzYZTzjBGvMZV\n3K1KWLw4XqnL0tzyBM/BcLhzHDjy4pLPAQGqpwHhIWSnbvMxro7bY9d0W2ly\nJAxBGmOaJlYY/SzbDt5gCTWvHHlrKNmzXUPncAMkWcj8LLuhEBo2yuUdU8pO\nlp4e\r\n=0NnG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAfTGvu3p86oreMk7q1Hl8TUZo1TXUgMOm1caGJ5D239AiBwnBVImqT1cB1V9oNIquxvAvHEPptdI20ohLWGhTs0GA=="}]},"maintainers":[{"name":"atomist","email":"npm@atomist.com"}],"_npmUser":{"name":"atomist","email":"npm@atomist.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdm-pack-jenkins_0.1.0-master.20190604195525_1559678194411_0.5485338490665084"},"_hasShrinkwrap":false},"0.1.0-master.20190623193923":{"name":"@atomist/sdm-pack-jenkins","version":"0.1.0-master.20190623193923","description":"Extension Pack for an Atomist SDM to integrate with Jenkins","author":{"name":"Atomist","email":"support@atomist.com","url":"https://atomist.com/"},"license":"Apache-2.0","homepage":"https://github.com/atomist/sdm-pack-jenkins#readme","repository":{"type":"git","url":"git+https://github.com/atomist/sdm-pack-jenkins.git"},"bugs":{"url":"https://github.com/atomist/sdm-pack-jenkins/issues"},"keywords":["atomist","automation","pack","sdm","jenkins"],"main":"./index.js","types":"./index.d.ts","dependencies":{"@atomist/slack-messages":"^1.1.0","jenkins":"^0.25.0","lodash":"^4.17.11"},"peerDependencies":{"@atomist/automation-client":"*","@atomist/sdm":"*","@atomist/sdm-core":"*"},"devDependencies":{"@atomist/automation-client":"^1.5.3","@atomist/sdm":"^1.5.1","@atomist/sdm-core":"^1.5.1","@types/mocha":"^5.2.7","@types/power-assert":"^1.5.0","espower-typescript":"^9.0.2","mocha":"^6.1.4","npm-run-all":"^4.1.5","power-assert":"^1.6.1","rimraf":"^2.6.3","supervisor":"^0.12.0","ts-node":"^8.2.0","tslint":"^5.17.0","typedoc":"^0.14.2","typescript":"^3.5.1"},"directories":{"test":"test"},"scripts":{"autotest":"supervisor --watch index.ts,lib,test --extensions ts --no-restart-on exit --quiet --exec npm -- test","build":"run-s compile test lint doc","clean":"run-p clean:compile clean:test clean:doc clean:run","clean:compile":"rimraf git-info.json \"index.{d.ts,js{,.map}}\" \"{lib,test}/**/*.{d.ts,js{,.map}}\" lib/typings/types.ts","clean:dist":"run-s clean clean:npm","clean:doc":"rimraf doc","clean:npm":"rimraf node_modules","clean:run":"rimraf *-v8.log profile.txt log","clean:test":"rimraf .nyc_output coverage","compile":"run-s gql:gen compile:ts","compile:ts":"tsc --project .","doc":"typedoc --mode modules --excludeExternals --ignoreCompilerErrors --exclude \"**/*.d.ts\" --out doc index.ts lib","gql:gen":"atm-gql-gen","lint":"tslint --config tslint.json --format verbose --project .","lint:fix":"npm run lint -- --fix","test":"mocha --require espower-typescript/guess \"test/**/*.test.ts\"","test:one":"mocha --require espower-typescript/guess \"test/**/${TEST:-*.test.ts}\"","typedoc":"npm run doc"},"engines":{"node":">=8.1.0","npm":">=5.0.0"},"readme":"# @atomist/sdm-pack-jenkins\n\n[![atomist sdm goals](https://badge.atomist.com/T29E48P34/atomist/sdm-pack-jenkins/2d680bec-366f-4818-a427-cc8b62280097)](https://app.atomist.com/workspace/T29E48P34)\n[![npm version](https://img.shields.io/npm/v/@atomist/sdm-pack-jenkins.svg)](https://www.npmjs.com/package/@atomist/sdm-pack-jenkins)\n\nAn extension Pack for an Atomist SDM to integrate with Jenkins for \nconverging Job definitions and triggering jobs/build/pipelines as part\nof an Atomist SDM goal set.\n\nThe following code sample shows the `Jenkins` goal being used in a simple \nSDM from our [samples](https://github.com/atomist/samples/blob/master/lib/sdm/jenkinsJob.ts):\n\n<!-- atomist:code-snippet:start=lib/sdm/jenkinsJob.ts#sdm -->\n```typescript\n/**\n * Main entry point into the SDM\n */\nexport const configuration = configure(async () => {\n\n    // The Jenkins goal needs access to the Jenkins master which\n    // can be configured below\n    const options: Pick<JenkinsRegistration, \"server\"> = {\n        server: {\n            url: process.env.JENKINS_URL || \"http://127.0.0.1:8080\",\n            user: process.env.JENKINS_USER || \"admin\",\n            password: process.env.JENKINS_PASSWORD || \"123456\",\n        },\n    };\n\n    // Jenkins goal that runs a job named <repo_name>-build which will be\n    // created or updated with a job definition returned by the mavenPipeline\n    // function\n    const build = jenkinsRun(\"build\", {\n        ...options,\n        job: async gi => `${gi.goalEvent.repo.name}-build`,\n        definition: async gi => mavenPipeline(gi),\n    });\n\n    // Single push rule that runs the build goal when the push is material and the project\n    // has a pom.xml file\n    return {\n        \"ci/cd\": {\n            test: [\n                hasFile(\"pom.xml\"),\n                isMaterialChange({\n                    extensions: [\"java\", \"properties\", \"yaml\"],\n                    files: [\"pom.xml\"],\n                })],\n            goals: [\n                build,\n            ],\n        },\n    };\n}, { name: \"jenkins\" });\n\n/**\n * Load the job definition from a local XML template\n */\nasync function mavenPipeline(gi: GoalInvocation): Promise<string> {\n    const template = (await fs.readFile(path.join(__dirname, \"maven.pipeline.xml\"))).toString();\n    const hb = hbx.compile(template);\n    return hb({ gi });\n}\n```\n<!-- atomist:code-snippet:end -->\n\nSoftware delivery machines enable you to control your delivery process\nin code.  Think of it as an API for your software delivery.  See the\n[Atomist documentation][atomist-doc] for more information on the\nconcept of a software delivery machine and how to create and develop\nan SDM.\n\n[atomist-doc]: https://docs.atomist.com/ (Atomist Documentation)\n\n## Getting started\n\nSee the [Developer Quick Start][atomist-quick] to jump straight to\ncreating an SDM.\n\n[atomist-quick]: https://docs.atomist.com/quick-start/ (Atomist - Developer Quick Start)\n\n## Contributing\n\nContributions to this project from community members are encouraged\nand appreciated. Please review the [Contributing\nGuidelines](CONTRIBUTING.md) for more information. Also see the\n[Development](#development) section in this document.\n\n## Code of conduct\n\nThis project is governed by the [Code of\nConduct](CODE_OF_CONDUCT.md). You are expected to act in accordance\nwith this code by participating. Please report any unacceptable\nbehavior to code-of-conduct@atomist.com.\n\n## Documentation\n\nPlease see [docs.atomist.com][atomist-doc] for\n[developer][atomist-doc-sdm] documentation.\n\n[atomist-doc-sdm]: https://docs.atomist.com/developer/sdm/ (Atomist Documentation - SDM Developer)\n\n## Connect\n\nFollow [@atomist][atomist-twitter] and [The Composition][atomist-blog]\nblog related to SDM.\n\n[atomist-twitter]: https://twitter.com/atomist (Atomist on Twitter)\n[atomist-blog]: https://the-composition.com/ (The Composition - The Official Atomist Blog)\n\n## Support\n\nGeneral support questions should be discussed in the `#support`\nchannel in the [Atomist community Slack workspace][slack].\n\nIf you find a problem, please create an [issue][].\n\n[issue]: https://github.com/atomist-seeds/sdm-pack/issues\n\n## Development\n\nYou will need to install [Node.js][node] to build and test this\nproject.\n\n[node]: https://nodejs.org/ (Node.js)\n\n### Build and test\n\nInstall dependencies.\n\n```\n$ npm install\n```\n\nUse the `build` package script to compile, test, lint, and build the\ndocumentation.\n\n```\n$ npm run build\n```\n\n### Release\n\nReleases are handled via the [Atomist SDM][atomist-sdm].  Just press\nthe 'Approve' button in the Atomist dashboard or Slack.\n\n[atomist-sdm]: https://github.com/atomist/atomist-sdm (Atomist Software Delivery Machine)\n\n---\n\nCreated by [Atomist][atomist].\nNeed Help?  [Join our Slack workspace][slack].\n\n[atomist]: https://atomist.com/ (Atomist - How Teams Deliver Software)\n[slack]: https://join.atomist.com/ (Atomist Community Slack)\n","readmeFilename":"README.md","gitHead":"1f58bc2ca320339432777fc0b84551402f815b8b","_id":"@atomist/sdm-pack-jenkins@0.1.0-master.20190623193923","_nodeVersion":"11.13.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-tWZzDpQAyM60Im9Nn4kmwWxpJsd54+Y0VuV4ZDyVdmT4dDmw8wNcI/1XqBnIjpUtUCehIc8rfryFN5KzU/tRWw==","shasum":"777f763aaea56b334b376501cb8c79a7a3341b66","tarball":"https://registry.npmjs.org/@atomist/sdm-pack-jenkins/-/sdm-pack-jenkins-0.1.0-master.20190623193923.tgz","fileCount":14,"unpackedSize":170083,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdD9WyCRA9TVsSAnZWagAAua8P/jvqN2gxAkgTTk5/aROI\nphOA22KLE479seG8GkmbVjdIzCfCqEXJDECusjT5Q9d2trB0eZ4ryjiafe5e\nYvHHk1mJZnPdIsDuF2pVCej5+a/qLZFDawbBFNvoNKeg8ENb8fCebTdEsKD3\n6U+elA0hhYAHYb46lH9dskv3nWswtvOCpGW0uYplXR7DnBfcA3Ofb8tM1Wvx\nccRJGK2xUw6GH4rZGGGUvgDbZuNn/7BEC0KzrLQmMglAhLu9EqsbK/o2y/kR\nS82RRi3j7xxIZ0XF7r3p5i4Ro8CEw5jyfIH44Tzp086wzStHdIwdiShJBxP7\n5QXBZVyZXg13BpPH8u1IrJn6d2J2WpGeO7NFEvszE2gnH8F7eMU7WkhH/5DR\nBVXCnlaCF6pJ9KrGYfKtTzL6mrLJuTMw7OJrzNBAhE+mfmQMP6Ja8ygpSvRP\nXuf8pMLBhfEdrMB55POF37E3lifo6YPkbT38M0HMmViRGc+cQlHZwS4nwUWU\n71RyXEE/my4h7w8k4+BFgSO8DknP5Z5bLns3lv4JosclXNEHwIQ1EGZiJDe4\nTKRhCwBuYw/W9OGmuZYJMsJ3egSTTRtGgoLoUInq5lYsqUr/HvCn/EMsOG5I\nLBmTbffkR4jtY+tLue72ZRbSxnG2WzJeDwKG9JOODyoC0MMzEFsFYRCr2L+Z\ni07y\r\n=fbxd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICUFHx3AfE7VhLT/l54YP9XnuoUSRZbMMMR3fMpiJyD/AiEAkWteBT436bOaSc450CoV5ApPdFWEFh9KXXdLu7h/+OM="}]},"maintainers":[{"name":"atomist","email":"npm@atomist.com"}],"_npmUser":{"name":"atomist","email":"npm@atomist.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdm-pack-jenkins_0.1.0-master.20190623193923_1561318833707_0.2778462493655214"},"_hasShrinkwrap":false},"0.1.0-atomist-update-latest-20190708194659.20190708194945":{"name":"@atomist/sdm-pack-jenkins","version":"0.1.0-atomist-update-latest-20190708194659.20190708194945","description":"Extension Pack for an Atomist SDM to integrate with Jenkins","author":{"name":"Atomist","email":"support@atomist.com","url":"https://atomist.com/"},"license":"Apache-2.0","homepage":"https://github.com/atomist/sdm-pack-jenkins#readme","repository":{"type":"git","url":"git+https://github.com/atomist/sdm-pack-jenkins.git"},"bugs":{"url":"https://github.com/atomist/sdm-pack-jenkins/issues"},"keywords":["atomist","automation","pack","sdm","jenkins"],"main":"./index.js","types":"./index.d.ts","dependencies":{"@atomist/slack-messages":"^1.1.1","jenkins":"^0.25.0","lodash":"^4.17.11"},"peerDependencies":{"@atomist/automation-client":"*","@atomist/sdm":"*","@atomist/sdm-core":"*"},"devDependencies":{"@atomist/automation-client":"^1.6.0","@atomist/sdm":"^1.5.1","@atomist/sdm-core":"^1.5.2","@types/mocha":"^5.2.7","@types/power-assert":"^1.5.0","espower-typescript":"^9.0.2","mocha":"^6.1.4","npm-run-all":"^4.1.5","power-assert":"^1.6.1","rimraf":"^2.6.3","supervisor":"^0.12.0","ts-node":"^8.2.0","tslint":"^5.17.0","typedoc":"^0.14.2","typescript":"^3.5.1"},"directories":{"test":"test"},"scripts":{"autotest":"supervisor --watch index.ts,lib,test --extensions ts --no-restart-on exit --quiet --exec npm -- test","build":"run-s compile test lint doc","clean":"run-p clean:compile clean:test clean:doc clean:run","clean:compile":"rimraf git-info.json \"index.{d.ts,js{,.map}}\" \"{lib,test}/**/*.{d.ts,js{,.map}}\" lib/typings/types.ts","clean:dist":"run-s clean clean:npm","clean:doc":"rimraf doc","clean:npm":"rimraf node_modules","clean:run":"rimraf *-v8.log profile.txt log","clean:test":"rimraf .nyc_output coverage","compile":"run-s gql:gen compile:ts","compile:ts":"tsc --project .","doc":"typedoc --mode modules --excludeExternals --ignoreCompilerErrors --exclude \"**/*.d.ts\" --out doc index.ts lib","gql:gen":"atm-gql-gen","lint":"tslint --config tslint.json --format verbose --project .","lint:fix":"npm run lint -- --fix","test":"mocha --require espower-typescript/guess \"test/**/*.test.ts\"","test:one":"mocha --require espower-typescript/guess \"test/**/${TEST:-*.test.ts}\"","typedoc":"npm run doc"},"engines":{"node":">=8.1.0","npm":">=5.0.0"},"readme":"# @atomist/sdm-pack-jenkins\n\n[![atomist sdm goals](https://badge.atomist.com/T29E48P34/atomist/sdm-pack-jenkins/2d680bec-366f-4818-a427-cc8b62280097)](https://app.atomist.com/workspace/T29E48P34)\n[![npm version](https://img.shields.io/npm/v/@atomist/sdm-pack-jenkins.svg)](https://www.npmjs.com/package/@atomist/sdm-pack-jenkins)\n\nAn extension Pack for an Atomist SDM to integrate with Jenkins for \nconverging Job definitions and triggering jobs/build/pipelines as part\nof an Atomist SDM goal set.\n\nThe following code sample shows the `Jenkins` goal being used in a simple \nSDM from our [samples](https://github.com/atomist/samples/blob/master/lib/sdm/jenkinsJob.ts):\n\n<!-- atomist:code-snippet:start=lib/sdm/jenkinsJob.ts#sdm -->\n```typescript\n/**\n * Main entry point into the SDM\n */\nexport const configuration = configure(async () => {\n\n    // The Jenkins goal needs access to the Jenkins master which\n    // can be configured below\n    const options: Pick<JenkinsRegistration, \"server\"> = {\n        server: {\n            url: process.env.JENKINS_URL || \"http://127.0.0.1:8080\",\n            user: process.env.JENKINS_USER || \"admin\",\n            password: process.env.JENKINS_PASSWORD || \"123456\",\n        },\n    };\n\n    // Jenkins goal that runs a job named <repo_name>-build which will be\n    // created or updated with a job definition returned by the mavenPipeline\n    // function\n    const build = jenkinsRun(\"build\", {\n        ...options,\n        job: async gi => `${gi.goalEvent.repo.name}-build`,\n        definition: async gi => mavenPipeline(gi),\n    });\n\n    // Single push rule that runs the build goal when the push is material and the project\n    // has a pom.xml file\n    return {\n        \"ci/cd\": {\n            test: [\n                hasFile(\"pom.xml\"),\n                isMaterialChange({\n                    extensions: [\"java\", \"properties\", \"yaml\"],\n                    files: [\"pom.xml\"],\n                })],\n            goals: [\n                build,\n            ],\n        },\n    };\n}, { name: \"jenkins\" });\n\n/**\n * Load the job definition from a local XML template\n */\nasync function mavenPipeline(gi: GoalInvocation): Promise<string> {\n    const template = (await fs.readFile(path.join(__dirname, \"maven.pipeline.xml\"))).toString();\n    const hb = hbx.compile(template);\n    return hb({ gi });\n}\n```\n<!-- atomist:code-snippet:end -->\n\nSoftware delivery machines enable you to control your delivery process\nin code.  Think of it as an API for your software delivery.  See the\n[Atomist documentation][atomist-doc] for more information on the\nconcept of a software delivery machine and how to create and develop\nan SDM.\n\n[atomist-doc]: https://docs.atomist.com/ (Atomist Documentation)\n\n## Getting started\n\nSee the [Developer Quick Start][atomist-quick] to jump straight to\ncreating an SDM.\n\n[atomist-quick]: https://docs.atomist.com/quick-start/ (Atomist - Developer Quick Start)\n\n## Contributing\n\nContributions to this project from community members are encouraged\nand appreciated. Please review the [Contributing\nGuidelines](CONTRIBUTING.md) for more information. Also see the\n[Development](#development) section in this document.\n\n## Code of conduct\n\nThis project is governed by the [Code of\nConduct](CODE_OF_CONDUCT.md). You are expected to act in accordance\nwith this code by participating. Please report any unacceptable\nbehavior to code-of-conduct@atomist.com.\n\n## Documentation\n\nPlease see [docs.atomist.com][atomist-doc] for\n[developer][atomist-doc-sdm] documentation.\n\n[atomist-doc-sdm]: https://docs.atomist.com/developer/sdm/ (Atomist Documentation - SDM Developer)\n\n## Connect\n\nFollow [@atomist][atomist-twitter] and [The Composition][atomist-blog]\nblog related to SDM.\n\n[atomist-twitter]: https://twitter.com/atomist (Atomist on Twitter)\n[atomist-blog]: https://the-composition.com/ (The Composition - The Official Atomist Blog)\n\n## Support\n\nGeneral support questions should be discussed in the `#support`\nchannel in the [Atomist community Slack workspace][slack].\n\nIf you find a problem, please create an [issue][].\n\n[issue]: https://github.com/atomist-seeds/sdm-pack/issues\n\n## Development\n\nYou will need to install [Node.js][node] to build and test this\nproject.\n\n[node]: https://nodejs.org/ (Node.js)\n\n### Build and test\n\nInstall dependencies.\n\n```\n$ npm install\n```\n\nUse the `build` package script to compile, test, lint, and build the\ndocumentation.\n\n```\n$ npm run build\n```\n\n### Release\n\nReleases are handled via the [Atomist SDM][atomist-sdm].  Just press\nthe 'Approve' button in the Atomist dashboard or Slack.\n\n[atomist-sdm]: https://github.com/atomist/atomist-sdm (Atomist Software Delivery Machine)\n\n---\n\nCreated by [Atomist][atomist].\nNeed Help?  [Join our Slack workspace][slack].\n\n[atomist]: https://atomist.com/ (Atomist - How Teams Deliver Software)\n[slack]: https://join.atomist.com/ (Atomist Community Slack)\n","readmeFilename":"README.md","gitHead":"8079e173afdd32e9dc27f3e68029c1a1e7869d68","_id":"@atomist/sdm-pack-jenkins@0.1.0-atomist-update-latest-20190708194659.20190708194945","_nodeVersion":"11.13.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-j9oevC9ruv24wQTqrd5hhkAsPA+10z7uBnexth/V3NSHkD+fwoYZtvFysc2S4eFDl73C8mZMIxlgzKRT/XEfcw==","shasum":"8e324dc7455f9fe788b000186e3dc86e35f3f078","tarball":"https://registry.npmjs.org/@atomist/sdm-pack-jenkins/-/sdm-pack-jenkins-0.1.0-atomist-update-latest-20190708194659.20190708194945.tgz","fileCount":14,"unpackedSize":170113,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdI5/lCRA9TVsSAnZWagAASdcP/2RZnpkOVm1sciM4coiG\nXi+nhO3MiVHGhxJ3bSRhov8KlEH7iURirSnqYwFCg/Ay11tVxJGUr7GuLG5S\nN5JAVliplNwck8j0ssnJTJDsuoLuund6dn15SpPDH4eh2Bscyl6dpIYIKRqc\n5qSRrY0f6m/JXata1eEFssBV+86yYB0X6FzbNFKwnVyEIYufiQBW57SzlpMU\nHHLHNpDUCtzIt5BY3HtQ+VmCoYVQwN5ZSVu1ejy4Q9In+Bin8gIVozymgbGR\nBzsSKOjbv3pe6AxK6qVUrEhpIZJaVqW3nQ6rfsGfXv4J0QlX5CPxfC7M9QVH\nmsBP/ePNs5HqXDQOukZghTmgra6V7rKMzdMj5lbj1pCTFjI87jbESx7PBjY7\nXkJNxqSWNjxYfoOT6vQIcxIWTcAs0Idp5lN4gKnW8IJ5m5mZytZ605TtARhs\ntozud8i/42jQEZAPzQl1wgL2PmeBFONrBrd5Fv/K/bfqUIbZHiCJcjPyEoJQ\nixCRPe+xufUqa9+Rmb0hh6pbYiFk5WHZzANDXJlPC9i32qybtQaSbAZSrWJX\nLYhx//FMJguz1TyxoIKES+dwDvA/ZwCfbkN+nNGbFfYxpNYL+WOdzNsP78zD\n40Qq0Bz3R/uD75mWmYduJaA37MxpprZCD/qP0ff8U7q0i8OvMaTVhaD5kTi4\nlHgW\r\n=p6OW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD9bezgjasN+ZQso2eF3VIeXsDw52Xph0SPj1hAS31GbQIhAJD95uIDpuiBKMP4vgc0S0hWE2fiCvKd5l9+Sbew4D5B"}]},"maintainers":[{"name":"atomist","email":"npm@atomist.com"}],"_npmUser":{"name":"atomist","email":"npm@atomist.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdm-pack-jenkins_0.1.0-atomist-update-latest-20190708194659.20190708194945_1562615780442_0.11267469347452619"},"_hasShrinkwrap":false},"0.1.0-master.20190708200703":{"name":"@atomist/sdm-pack-jenkins","version":"0.1.0-master.20190708200703","description":"Extension Pack for an Atomist SDM to integrate with Jenkins","author":{"name":"Atomist","email":"support@atomist.com","url":"https://atomist.com/"},"license":"Apache-2.0","homepage":"https://github.com/atomist/sdm-pack-jenkins#readme","repository":{"type":"git","url":"git+https://github.com/atomist/sdm-pack-jenkins.git"},"bugs":{"url":"https://github.com/atomist/sdm-pack-jenkins/issues"},"keywords":["atomist","automation","pack","sdm","jenkins"],"main":"./index.js","types":"./index.d.ts","dependencies":{"@atomist/slack-messages":"^1.1.1","jenkins":"^0.25.0","lodash":"^4.17.11"},"peerDependencies":{"@atomist/automation-client":"*","@atomist/sdm":"*","@atomist/sdm-core":"*"},"devDependencies":{"@atomist/automation-client":"^1.6.0","@atomist/sdm":"^1.5.1","@atomist/sdm-core":"^1.5.2","@types/mocha":"^5.2.7","@types/power-assert":"^1.5.0","espower-typescript":"^9.0.2","mocha":"^6.1.4","npm-run-all":"^4.1.5","power-assert":"^1.6.1","rimraf":"^2.6.3","supervisor":"^0.12.0","ts-node":"^8.2.0","tslint":"^5.17.0","typedoc":"^0.14.2","typescript":"^3.5.1"},"directories":{"test":"test"},"scripts":{"autotest":"supervisor --watch index.ts,lib,test --extensions ts --no-restart-on exit --quiet --exec npm -- test","build":"run-s compile test lint doc","clean":"run-p clean:compile clean:test clean:doc clean:run","clean:compile":"rimraf git-info.json \"index.{d.ts,js{,.map}}\" \"{lib,test}/**/*.{d.ts,js{,.map}}\" lib/typings/types.ts","clean:dist":"run-s clean clean:npm","clean:doc":"rimraf doc","clean:npm":"rimraf node_modules","clean:run":"rimraf *-v8.log profile.txt log","clean:test":"rimraf .nyc_output coverage","compile":"run-s gql:gen compile:ts","compile:ts":"tsc --project .","doc":"typedoc --mode modules --excludeExternals --ignoreCompilerErrors --exclude \"**/*.d.ts\" --out doc index.ts lib","gql:gen":"atm-gql-gen","lint":"tslint --config tslint.json --format verbose --project .","lint:fix":"npm run lint -- --fix","test":"mocha --require espower-typescript/guess \"test/**/*.test.ts\"","test:one":"mocha --require espower-typescript/guess \"test/**/${TEST:-*.test.ts}\"","typedoc":"npm run doc"},"engines":{"node":">=8.1.0","npm":">=5.0.0"},"readme":"# @atomist/sdm-pack-jenkins\n\n[![atomist sdm goals](https://badge.atomist.com/T29E48P34/atomist/sdm-pack-jenkins/2d680bec-366f-4818-a427-cc8b62280097)](https://app.atomist.com/workspace/T29E48P34)\n[![npm version](https://img.shields.io/npm/v/@atomist/sdm-pack-jenkins.svg)](https://www.npmjs.com/package/@atomist/sdm-pack-jenkins)\n\nAn extension Pack for an Atomist SDM to integrate with Jenkins for \nconverging Job definitions and triggering jobs/build/pipelines as part\nof an Atomist SDM goal set.\n\nThe following code sample shows the `Jenkins` goal being used in a simple \nSDM from our [samples](https://github.com/atomist/samples/blob/master/lib/sdm/jenkinsJob.ts):\n\n<!-- atomist:code-snippet:start=lib/sdm/jenkinsJob.ts#sdm -->\n```typescript\n/**\n * Main entry point into the SDM\n */\nexport const configuration = configure(async () => {\n\n    // The Jenkins goal needs access to the Jenkins master which\n    // can be configured below\n    const options: Pick<JenkinsRegistration, \"server\"> = {\n        server: {\n            url: process.env.JENKINS_URL || \"http://127.0.0.1:8080\",\n            user: process.env.JENKINS_USER || \"admin\",\n            password: process.env.JENKINS_PASSWORD || \"123456\",\n        },\n    };\n\n    // Jenkins goal that runs a job named <repo_name>-build which will be\n    // created or updated with a job definition returned by the mavenPipeline\n    // function\n    const build = jenkins(\"build\", {\n        ...options,\n        job: async gi => `${gi.goalEvent.repo.name}-build`,\n        definition: async gi => mavenPipeline(gi),\n    });\n\n    // Single push rule that runs the build goal when the push is material and the project\n    // has a pom.xml file\n    return {\n        \"ci/cd\": {\n            test: [\n                hasFile(\"pom.xml\"),\n                isMaterialChange({\n                    extensions: [\"java\", \"properties\", \"yaml\"],\n                    files: [\"pom.xml\"],\n                })],\n            goals: [\n                build,\n            ],\n        },\n    };\n}, { name: \"jenkins\" });\n\n/**\n * Load the job definition from a local XML template\n */\nasync function mavenPipeline(gi: GoalInvocation): Promise<string> {\n    const template = (await fs.readFile(path.join(__dirname, \"maven.pipeline.xml\"))).toString();\n    const hb = hbx.compile(template);\n    return hb({ gi });\n}\n```\n<!-- atomist:docs-sdm:codeSnippetInline: Snippet 'sdm' found in https://raw.githubusercontent.com/atomist/samples/master/lib/sdm/jenkinsJob.ts -->\n<div class=\"sample-code\"><a href=\"https://github.com/atomist/samples/tree/master/lib/sdm/jenkinsJob.ts#L45-L93\" target=\"_blank\">Source</a></div>\n<!-- atomist:code-snippet:end -->\n\nSoftware delivery machines enable you to control your delivery process\nin code.  Think of it as an API for your software delivery.  See the\n[Atomist documentation][atomist-doc] for more information on the\nconcept of a software delivery machine and how to create and develop\nan SDM.\n\n[atomist-doc]: https://docs.atomist.com/ (Atomist Documentation)\n\n## Getting started\n\nSee the [Developer Quick Start][atomist-quick] to jump straight to\ncreating an SDM.\n\n[atomist-quick]: https://docs.atomist.com/quick-start/ (Atomist - Developer Quick Start)\n\n## Contributing\n\nContributions to this project from community members are encouraged\nand appreciated. Please review the [Contributing\nGuidelines](CONTRIBUTING.md) for more information. Also see the\n[Development](#development) section in this document.\n\n## Code of conduct\n\nThis project is governed by the [Code of\nConduct](CODE_OF_CONDUCT.md). You are expected to act in accordance\nwith this code by participating. Please report any unacceptable\nbehavior to code-of-conduct@atomist.com.\n\n## Documentation\n\nPlease see [docs.atomist.com][atomist-doc] for\n[developer][atomist-doc-sdm] documentation.\n\n[atomist-doc-sdm]: https://docs.atomist.com/developer/sdm/ (Atomist Documentation - SDM Developer)\n\n## Connect\n\nFollow [@atomist][atomist-twitter] and [The Composition][atomist-blog]\nblog related to SDM.\n\n[atomist-twitter]: https://twitter.com/atomist (Atomist on Twitter)\n[atomist-blog]: https://the-composition.com/ (The Composition - The Official Atomist Blog)\n\n## Support\n\nGeneral support questions should be discussed in the `#support`\nchannel in the [Atomist community Slack workspace][slack].\n\nIf you find a problem, please create an [issue][].\n\n[issue]: https://github.com/atomist-seeds/sdm-pack/issues\n\n## Development\n\nYou will need to install [Node.js][node] to build and test this\nproject.\n\n[node]: https://nodejs.org/ (Node.js)\n\n### Build and test\n\nInstall dependencies.\n\n```\n$ npm install\n```\n\nUse the `build` package script to compile, test, lint, and build the\ndocumentation.\n\n```\n$ npm run build\n```\n\n### Release\n\nReleases are handled via the [Atomist SDM][atomist-sdm].  Just press\nthe 'Approve' button in the Atomist dashboard or Slack.\n\n[atomist-sdm]: https://github.com/atomist/atomist-sdm (Atomist Software Delivery Machine)\n\n---\n\nCreated by [Atomist][atomist].\nNeed Help?  [Join our Slack workspace][slack].\n\n[atomist]: https://atomist.com/ (Atomist - How Teams Deliver Software)\n[slack]: https://join.atomist.com/ (Atomist Community Slack)\n","readmeFilename":"README.md","gitHead":"8bbeda8625cfeb1e6756be18ca8d693f9084835e","_id":"@atomist/sdm-pack-jenkins@0.1.0-master.20190708200703","_nodeVersion":"11.13.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-KxFEogJpB++81GyaDEgX1d/zQKs9sym7Pn8X28ptRpj/vtfd111N8zz9Dr+aQ4Ba8iPPAimJ07wEIIPAtDiItg==","shasum":"d1a1d07b99d34ca7f79d6eaebe38e10015e15c38","tarball":"https://registry.npmjs.org/@atomist/sdm-pack-jenkins/-/sdm-pack-jenkins-0.1.0-master.20190708200703.tgz","fileCount":14,"unpackedSize":170882,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdI6MdCRA9TVsSAnZWagAAsdUP/20fPD/e7YSkiU3ydVZJ\nMyhLQmrcJ9d3uqJOJ732KVyrygTffi9BAy3RPxMYKRnvS9cPG1VFurhyz304\nMxd5oXqLPdmzUZES12SJ1fKjoFVJMwEIPr+JUfSjr56h/bbNeTcA98lNyndb\nwRog2DFF1uhGq9n8qvhUBKPLUqKlExWqCjCkd/K4NvpMY85DHPW/JKVsgsRj\ncrg3m/wlgNhQlW+HMdrrlWrpDgVrekkIpz87mDdoD+0xAzv60Op73Glk4r5d\ngStS+Po0Of+NvDEXW62ABDtXwMDSzZnxb8TbrFrHep+6ZkbgK+JLwXUDAp6A\nqEZvxPpH+Z0AHCkqZSSmDSO3zHpP6rMOUNPzcK/Zu5YY5cv54drOzzyIPHYy\nx+D0SZLoiUbxfAMb5MJ9R1Qw/tgAIuTaOQT+S3QRUtBP+ACHWizok9040p5U\nzmrzIfj9uXa2SbsIWv5j1sLO3+VaTNz5uvy6S+Pjk0WRs9KA1GSOP4n0V+Yb\n1V/2IkdTn/0Z+UuT/Ixt2quRwEIDwpCROeKWeWyV9W6I3dszPbm7oNlSgTBa\nzA7CrUE9C5tlTyX3rHi13zHr+QbgBJzpopKJhihQ3pe2BGBS8aknjltKTKvu\nllM3VL6zEO6ALZc6CTzPWjpIZPXV7dPj8IiXMlL/1w5bNNhGjiaD2RtNJ5pa\n2DbN\r\n=JiJh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCKPe5AEYkSYEUvpF/wyMrtn2laJFEU+mzl+EFlPadJpgIgdehlpNZsYlSZo4jUK51PommzW5xvl678LIIR1pNon4A="}]},"maintainers":[{"name":"atomist","email":"npm@atomist.com"}],"_npmUser":{"name":"atomist","email":"npm@atomist.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdm-pack-jenkins_0.1.0-master.20190708200703_1562616604151_0.10105010240836232"},"_hasShrinkwrap":false},"0.1.0-master.20190708200913":{"name":"@atomist/sdm-pack-jenkins","version":"0.1.0-master.20190708200913","description":"Extension Pack for an Atomist SDM to integrate with Jenkins","author":{"name":"Atomist","email":"support@atomist.com","url":"https://atomist.com/"},"license":"Apache-2.0","homepage":"https://github.com/atomist/sdm-pack-jenkins#readme","repository":{"type":"git","url":"git+https://github.com/atomist/sdm-pack-jenkins.git"},"bugs":{"url":"https://github.com/atomist/sdm-pack-jenkins/issues"},"keywords":["atomist","automation","pack","sdm","jenkins"],"main":"./index.js","types":"./index.d.ts","dependencies":{"@atomist/slack-messages":"^1.1.1","jenkins":"^0.25.0","lodash":"^4.17.11"},"peerDependencies":{"@atomist/automation-client":"*","@atomist/sdm":"*","@atomist/sdm-core":"*"},"devDependencies":{"@atomist/automation-client":"^1.6.0","@atomist/sdm":"^1.5.1","@atomist/sdm-core":"^1.5.2","@types/mocha":"^5.2.7","@types/power-assert":"^1.5.0","espower-typescript":"^9.0.2","mocha":"^6.1.4","npm-run-all":"^4.1.5","power-assert":"^1.6.1","rimraf":"^2.6.3","supervisor":"^0.12.0","ts-node":"^8.2.0","tslint":"^5.17.0","typedoc":"^0.14.2","typescript":"^3.5.1"},"directories":{"test":"test"},"scripts":{"autotest":"supervisor --watch index.ts,lib,test --extensions ts --no-restart-on exit --quiet --exec npm -- test","build":"run-s compile test lint doc","clean":"run-p clean:compile clean:test clean:doc clean:run","clean:compile":"rimraf git-info.json \"index.{d.ts,js{,.map}}\" \"{lib,test}/**/*.{d.ts,js{,.map}}\" lib/typings/types.ts","clean:dist":"run-s clean clean:npm","clean:doc":"rimraf doc","clean:npm":"rimraf node_modules","clean:run":"rimraf *-v8.log profile.txt log","clean:test":"rimraf .nyc_output coverage","compile":"run-s gql:gen compile:ts","compile:ts":"tsc --project .","doc":"typedoc --mode modules --excludeExternals --ignoreCompilerErrors --exclude \"**/*.d.ts\" --out doc index.ts lib","gql:gen":"atm-gql-gen","lint":"tslint --config tslint.json --format verbose --project .","lint:fix":"npm run lint -- --fix","test":"mocha --require espower-typescript/guess \"test/**/*.test.ts\"","test:one":"mocha --require espower-typescript/guess \"test/**/${TEST:-*.test.ts}\"","typedoc":"npm run doc"},"engines":{"node":">=8.1.0","npm":">=5.0.0"},"readme":"# @atomist/sdm-pack-jenkins\n\n[![atomist sdm goals](https://badge.atomist.com/T29E48P34/atomist/sdm-pack-jenkins/2d680bec-366f-4818-a427-cc8b62280097)](https://app.atomist.com/workspace/T29E48P34)\n[![npm version](https://img.shields.io/npm/v/@atomist/sdm-pack-jenkins.svg)](https://www.npmjs.com/package/@atomist/sdm-pack-jenkins)\n\nAn extension Pack for an Atomist SDM to integrate with Jenkins for \nconverging Job definitions and triggering jobs/build/pipelines as part\nof an Atomist SDM goal set.\n\nThe following code sample shows the `Jenkins` goal being used in a simple \nSDM from our [samples](https://github.com/atomist/samples/blob/master/lib/sdm/jenkinsJob.ts):\n\n<!-- atomist:code-snippet:start=lib/sdm/jenkinsJob.ts#sdm -->\n```typescript\n/**\n * Main entry point into the SDM\n */\nexport const configuration = configure(async () => {\n\n    // The Jenkins goal needs access to the Jenkins master which\n    // can be configured below\n    const options: Pick<JenkinsRegistration, \"server\"> = {\n        server: {\n            url: process.env.JENKINS_URL || \"http://127.0.0.1:8080\",\n            user: process.env.JENKINS_USER || \"admin\",\n            password: process.env.JENKINS_PASSWORD || \"123456\",\n        },\n    };\n\n    // Jenkins goal that runs a job named <repo_name>-build which will be\n    // created or updated with a job definition returned by the mavenPipeline\n    // function\n    const build = jenkins(\"build\", {\n        ...options,\n        job: async gi => `${gi.goalEvent.repo.name}-build`,\n        definition: async gi => mavenPipeline(gi),\n    });\n\n    // Single push rule that runs the build goal when the push is material and the project\n    // has a pom.xml file\n    return {\n        \"ci/cd\": {\n            test: [\n                hasFile(\"pom.xml\"),\n                isMaterialChange({\n                    extensions: [\"java\", \"properties\", \"yaml\"],\n                    files: [\"pom.xml\"],\n                })],\n            goals: [\n                build,\n            ],\n        },\n    };\n}, { name: \"jenkins\" });\n\n/**\n * Load the job definition from a local XML template\n */\nasync function mavenPipeline(gi: GoalInvocation): Promise<string> {\n    const template = (await fs.readFile(path.join(__dirname, \"maven.pipeline.xml\"))).toString();\n    const hb = hbx.compile(template);\n    return hb({ gi });\n}\n```\n<!-- atomist:docs-sdm:codeSnippetInline: Snippet 'sdm' found in https://raw.githubusercontent.com/atomist/samples/master/lib/sdm/jenkinsJob.ts -->\n<div class=\"sample-code\"><a href=\"https://github.com/atomist/samples/tree/master/lib/sdm/jenkinsJob.ts#L45-L93\" target=\"_blank\">Source</a></div>\n<!-- atomist:code-snippet:end -->\n\nSoftware delivery machines enable you to control your delivery process\nin code.  Think of it as an API for your software delivery.  See the\n[Atomist documentation][atomist-doc] for more information on the\nconcept of a software delivery machine and how to create and develop\nan SDM.\n\n[atomist-doc]: https://docs.atomist.com/ (Atomist Documentation)\n\n## Getting started\n\nSee the [Developer Quick Start][atomist-quick] to jump straight to\ncreating an SDM.\n\n[atomist-quick]: https://docs.atomist.com/quick-start/ (Atomist - Developer Quick Start)\n\n## Contributing\n\nContributions to this project from community members are encouraged\nand appreciated. Please review the [Contributing\nGuidelines](CONTRIBUTING.md) for more information. Also see the\n[Development](#development) section in this document.\n\n## Code of conduct\n\nThis project is governed by the [Code of\nConduct](CODE_OF_CONDUCT.md). You are expected to act in accordance\nwith this code by participating. Please report any unacceptable\nbehavior to code-of-conduct@atomist.com.\n\n## Documentation\n\nPlease see [docs.atomist.com][atomist-doc] for\n[developer][atomist-doc-sdm] documentation.\n\n[atomist-doc-sdm]: https://docs.atomist.com/developer/sdm/ (Atomist Documentation - SDM Developer)\n\n## Connect\n\nFollow [@atomist][atomist-twitter] and [The Composition][atomist-blog]\nblog related to SDM.\n\n[atomist-twitter]: https://twitter.com/atomist (Atomist on Twitter)\n[atomist-blog]: https://the-composition.com/ (The Composition - The Official Atomist Blog)\n\n## Support\n\nGeneral support questions should be discussed in the `#support`\nchannel in the [Atomist community Slack workspace][slack].\n\nIf you find a problem, please create an [issue][].\n\n[issue]: https://github.com/atomist-seeds/sdm-pack/issues\n\n## Development\n\nYou will need to install [Node.js][node] to build and test this\nproject.\n\n[node]: https://nodejs.org/ (Node.js)\n\n### Build and test\n\nInstall dependencies.\n\n```\n$ npm install\n```\n\nUse the `build` package script to compile, test, lint, and build the\ndocumentation.\n\n```\n$ npm run build\n```\n\n### Release\n\nReleases are handled via the [Atomist SDM][atomist-sdm].  Just press\nthe 'Approve' button in the Atomist dashboard or Slack.\n\n[atomist-sdm]: https://github.com/atomist/atomist-sdm (Atomist Software Delivery Machine)\n\n---\n\nCreated by [Atomist][atomist].\nNeed Help?  [Join our Slack workspace][slack].\n\n[atomist]: https://atomist.com/ (Atomist - How Teams Deliver Software)\n[slack]: https://join.atomist.com/ (Atomist Community Slack)\n","readmeFilename":"README.md","gitHead":"8bbeda8625cfeb1e6756be18ca8d693f9084835e","_id":"@atomist/sdm-pack-jenkins@0.1.0-master.20190708200913","_nodeVersion":"11.13.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-7CFxmfpeqMK315aAa4f3Su87ejaLbgqPdBxCuASh2kEzdvMdrbnRZRV/uVlxK65PRmGpEqVDdl97jUw+3U43bw==","shasum":"bd918e7552cca2a8e0487b060465f1c44d8bbb48","tarball":"https://registry.npmjs.org/@atomist/sdm-pack-jenkins/-/sdm-pack-jenkins-0.1.0-master.20190708200913.tgz","fileCount":14,"unpackedSize":170882,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdI6QZCRA9TVsSAnZWagAA8bQQAISfRNNQ/tq6zjmUutR1\npHvhS9Joak54g+XeV8kC9f5dTFP5MfERPOs58muZrr5iiqjXqlFSjhsc389K\nm5pSxFgfad+kSM08hjc78CcK7jQYKh1F2ppc5DHNcBOXIe1c3lEq7ad+zPya\nU/iQENF4agujBhc8kgpql1tzYNluAQ5Zp7S86UQdKXiX5bVFyzF4FWrOxuQi\n6qXsYoBnMBuWeo2WfPFzvdYI2FQh6ObAOi6LzIOLh/cUacn3k7Awhrwscpew\nMyX2Rtd5OcEFuA2nERe4l2o9lgkfuMCghT05iUzxiQtruwLZwM1l7W8OKMyp\nw0weZBNEdl5JrbDOJRBMFIwC2p+Gy4ksKYQXmfOHkF0qYAXpo1d1Tz2IS/Sx\nlR5xT4WoOGpdbX2hfikE9qTHOVLe929kkWJ2H6mjq7FCZ4qKDSnkZFDmn/aY\nWEGWFJPFqOpa2ew20BWSDFVvdTIaE+qZsmxmHwy0nF+GC5PpVV/5x8LqnsBi\nmWP7+Inb4hQzgcCs0L6DJsTWmcntOq2oOKcJgBGczOAkNzPBZX5SAenCUBz2\nNGF2AT0doIt2FGQjg36abBAinkOZBJLXsDB4QchVq3b48P3BUKLwKOEOJ+9K\n3qSRhUGtJ6U1dA8lNpDNF8ZK9W/Y0OPzUe9L1O3rrW7eEpw+2IMfSv6kNWeh\nV5N2\r\n=dEnx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGuSF3MF9XU/uIWgG0VWs+6EEUNOQbAtJkcobDJ7EghhAiEAmvyLc9sC+eOnq/vYe9XAvVEAHIukY1stYsF1JbyXFTQ="}]},"maintainers":[{"name":"atomist","email":"npm@atomist.com"}],"_npmUser":{"name":"atomist","email":"npm@atomist.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdm-pack-jenkins_0.1.0-master.20190708200913_1562616856042_0.7791681537329715"},"_hasShrinkwrap":false},"0.1.0-atomist-update-latest-20190709164118.20190709165641":{"name":"@atomist/sdm-pack-jenkins","version":"0.1.0-atomist-update-latest-20190709164118.20190709165641","description":"Extension Pack for an Atomist SDM to integrate with Jenkins","author":{"name":"Atomist","email":"support@atomist.com","url":"https://atomist.com/"},"license":"Apache-2.0","homepage":"https://github.com/atomist/sdm-pack-jenkins#readme","repository":{"type":"git","url":"git+https://github.com/atomist/sdm-pack-jenkins.git"},"bugs":{"url":"https://github.com/atomist/sdm-pack-jenkins/issues"},"keywords":["atomist","automation","pack","sdm","jenkins"],"main":"./index.js","types":"./index.d.ts","dependencies":{"@atomist/slack-messages":"^1.1.1","jenkins":"^0.25.0","lodash":"^4.17.11"},"peerDependencies":{"@atomist/automation-client":"*","@atomist/sdm":"*","@atomist/sdm-core":"*"},"devDependencies":{"@atomist/automation-client":"^1.6.1","@atomist/sdm":"^1.6.0","@atomist/sdm-core":"^1.6.0","@types/mocha":"^5.2.7","@types/power-assert":"^1.5.0","espower-typescript":"^9.0.2","mocha":"^6.1.4","npm-run-all":"^4.1.5","power-assert":"^1.6.1","rimraf":"^2.6.3","supervisor":"^0.12.0","ts-node":"^8.2.0","tslint":"^5.17.0","typedoc":"^0.14.2","typescript":"^3.5.1"},"directories":{"test":"test"},"scripts":{"autotest":"supervisor --watch index.ts,lib,test --extensions ts --no-restart-on exit --quiet --exec npm -- test","build":"run-s compile test lint doc","clean":"run-p clean:compile clean:test clean:doc clean:run","clean:compile":"rimraf git-info.json \"index.{d.ts,js{,.map}}\" \"{lib,test}/**/*.{d.ts,js{,.map}}\" lib/typings/types.ts","clean:dist":"run-s clean clean:npm","clean:doc":"rimraf doc","clean:npm":"rimraf node_modules","clean:run":"rimraf *-v8.log profile.txt log","clean:test":"rimraf .nyc_output coverage","compile":"run-s gql:gen compile:ts","compile:ts":"tsc --project .","doc":"typedoc --mode modules --excludeExternals --ignoreCompilerErrors --exclude \"**/*.d.ts\" --out doc index.ts lib","gql:gen":"atm-gql-gen","lint":"tslint --config tslint.json --format verbose --project .","lint:fix":"npm run lint -- --fix","test":"mocha --require espower-typescript/guess \"test/**/*.test.ts\"","test:one":"mocha --require espower-typescript/guess \"test/**/${TEST:-*.test.ts}\"","typedoc":"npm run doc"},"engines":{"node":">=8.1.0","npm":">=5.0.0"},"readme":"# @atomist/sdm-pack-jenkins\n\n[![atomist sdm goals](https://badge.atomist.com/T29E48P34/atomist/sdm-pack-jenkins/2d680bec-366f-4818-a427-cc8b62280097)](https://app.atomist.com/workspace/T29E48P34)\n[![npm version](https://img.shields.io/npm/v/@atomist/sdm-pack-jenkins.svg)](https://www.npmjs.com/package/@atomist/sdm-pack-jenkins)\n\nAn extension Pack for an Atomist SDM to integrate with Jenkins for \nconverging Job definitions and triggering jobs/build/pipelines as part\nof an Atomist SDM goal set.\n\nThe following code sample shows the `Jenkins` goal being used in a simple \nSDM from our [samples](https://github.com/atomist/samples/blob/master/lib/sdm/jenkinsJob.ts):\n\n<!-- atomist:code-snippet:start=lib/sdm/jenkinsJob.ts#sdm -->\n```typescript\n/**\n * Main entry point into the SDM\n */\nexport const configuration = configure(async () => {\n\n    // The Jenkins goal needs access to the Jenkins master which\n    // can be configured below\n    const options: Pick<JenkinsRegistration, \"server\"> = {\n        server: {\n            url: process.env.JENKINS_URL || \"http://127.0.0.1:8080\",\n            user: process.env.JENKINS_USER || \"admin\",\n            password: process.env.JENKINS_PASSWORD || \"123456\",\n        },\n    };\n\n    // Jenkins goal that runs a job named <repo_name>-build which will be\n    // created or updated with a job definition returned by the mavenPipeline\n    // function\n    const build = jenkins(\"build\", {\n        ...options,\n        job: async gi => `${gi.goalEvent.repo.name}-build`,\n        definition: async gi => mavenPipeline(gi),\n    });\n\n    // Single push rule that runs the build goal when the push is material and the project\n    // has a pom.xml file\n    return {\n        \"ci/cd\": {\n            test: [\n                hasFile(\"pom.xml\"),\n                isMaterialChange({\n                    extensions: [\"java\", \"properties\", \"yaml\"],\n                    files: [\"pom.xml\"],\n                })],\n            goals: [\n                build,\n            ],\n        },\n    };\n}, { name: \"jenkins\" });\n\n/**\n * Load the job definition from a local XML template\n */\nasync function mavenPipeline(gi: GoalInvocation): Promise<string> {\n    const template = (await fs.readFile(path.join(__dirname, \"maven.pipeline.xml\"))).toString();\n    const hb = hbx.compile(template);\n    return hb({ gi });\n}\n```\n<!-- atomist:docs-sdm:codeSnippetInline: Snippet 'sdm' found in https://raw.githubusercontent.com/atomist/samples/master/lib/sdm/jenkinsJob.ts -->\n<div class=\"sample-code\"><a href=\"https://github.com/atomist/samples/tree/master/lib/sdm/jenkinsJob.ts#L45-L93\" target=\"_blank\">Source</a></div>\n<!-- atomist:code-snippet:end -->\n\nSoftware delivery machines enable you to control your delivery process\nin code.  Think of it as an API for your software delivery.  See the\n[Atomist documentation][atomist-doc] for more information on the\nconcept of a software delivery machine and how to create and develop\nan SDM.\n\n[atomist-doc]: https://docs.atomist.com/ (Atomist Documentation)\n\n## Getting started\n\nSee the [Developer Quick Start][atomist-quick] to jump straight to\ncreating an SDM.\n\n[atomist-quick]: https://docs.atomist.com/quick-start/ (Atomist - Developer Quick Start)\n\n## Contributing\n\nContributions to this project from community members are encouraged\nand appreciated. Please review the [Contributing\nGuidelines](CONTRIBUTING.md) for more information. Also see the\n[Development](#development) section in this document.\n\n## Code of conduct\n\nThis project is governed by the [Code of\nConduct](CODE_OF_CONDUCT.md). You are expected to act in accordance\nwith this code by participating. Please report any unacceptable\nbehavior to code-of-conduct@atomist.com.\n\n## Documentation\n\nPlease see [docs.atomist.com][atomist-doc] for\n[developer][atomist-doc-sdm] documentation.\n\n[atomist-doc-sdm]: https://docs.atomist.com/developer/sdm/ (Atomist Documentation - SDM Developer)\n\n## Connect\n\nFollow [@atomist][atomist-twitter] and [The Composition][atomist-blog]\nblog related to SDM.\n\n[atomist-twitter]: https://twitter.com/atomist (Atomist on Twitter)\n[atomist-blog]: https://the-composition.com/ (The Composition - The Official Atomist Blog)\n\n## Support\n\nGeneral support questions should be discussed in the `#support`\nchannel in the [Atomist community Slack workspace][slack].\n\nIf you find a problem, please create an [issue][].\n\n[issue]: https://github.com/atomist-seeds/sdm-pack/issues\n\n## Development\n\nYou will need to install [Node.js][node] to build and test this\nproject.\n\n[node]: https://nodejs.org/ (Node.js)\n\n### Build and test\n\nInstall dependencies.\n\n```\n$ npm install\n```\n\nUse the `build` package script to compile, test, lint, and build the\ndocumentation.\n\n```\n$ npm run build\n```\n\n### Release\n\nReleases are handled via the [Atomist SDM][atomist-sdm].  Just press\nthe 'Approve' button in the Atomist dashboard or Slack.\n\n[atomist-sdm]: https://github.com/atomist/atomist-sdm (Atomist Software Delivery Machine)\n\n---\n\nCreated by [Atomist][atomist].\nNeed Help?  [Join our Slack workspace][slack].\n\n[atomist]: https://atomist.com/ (Atomist - How Teams Deliver Software)\n[slack]: https://join.atomist.com/ (Atomist Community Slack)\n","readmeFilename":"README.md","gitHead":"bc3e9d2b49179b901a399f30a9d8bb10a55c59df","_id":"@atomist/sdm-pack-jenkins@0.1.0-atomist-update-latest-20190709164118.20190709165641","_nodeVersion":"11.13.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-cnvLr7lrdDhVAShgaGoktrPHunJmN1+SvBNEsF7IzIvJHOIA+40FoMLbmPJNQYw6oWhiI5/MfFu+sbnNGcxy0w==","shasum":"bd1c99b70c03f9cea3c2522fd52a8c88092c9d78","tarball":"https://registry.npmjs.org/@atomist/sdm-pack-jenkins/-/sdm-pack-jenkins-0.1.0-atomist-update-latest-20190709164118.20190709165641.tgz","fileCount":14,"unpackedSize":170912,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdJMgfCRA9TVsSAnZWagAAWgQP/R6aFQ4BC4gixyzfKZCI\nWYoLWG7GILXJeSi4qy+zYdcvUNBBVoiFCUMDUImbPfwUpyhyBVeZYoAbiwlO\nbZuVQLnGvNv/UECytdkjkca5Ft70Q4fcm/jMmeY5ygW21kgRx5FXlYvkhy8Y\nWIcE//nxQgItFkSMofsHU9TqxIhH0Tiz0MSDxTygzt1guwBD+8PxpMkuL8Od\nFssACUXQ7lUKVLMAOn7g9MiOwNgIZTV7/YbWUabhQKwiaSzWEvJvDEUs8tH5\n7dYifPhyvsMrMG3R4nUIL9Hl2YWy3JOJlvpC+Jn843i7E7P9QwDCBen+tmGt\niYVHo8e08MGP8SrwSI4hh671l03s/tR+HdD3i+1A3jEbqjfG9jOWJ55eFcDf\nlXDDsKyoCmhLp3IgYz4BoCpCwiEOT4nW4uLYECP7jDgKbcE/2bj2PDo9/OUr\n/q09aUPM2YCvZoK8W/0zzVTc4+msmlpZB4nGlFJkdpoqCib/8BfMdRzXrdN7\n1dTWyXKFVcVPFg3q8LAQTBOxOLKiC18b7ReTYfz2nZcOjRclbZYS3vWl0KZ5\n41GvjGw+Lziarl648SMapT9w90uZJFWuUaZ8iQsKqENhAB2skRQI1kAzKwGA\n6lbbJAyYrxai8dlGkvRESUqPbF27KR+0JqvP8ZF606jhe/9C4+OjDneE2Zwe\nQR01\r\n=11wp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDWZK9FlE4PponIxEfXB/9UXUxntYJgoWlnvvHWNJXcYAiBFEXs9/BWBvhArTpSLyBA+awAkMU+Z1ZIoZLwEunA37g=="}]},"maintainers":[{"name":"atomist","email":"npm@atomist.com"}],"_npmUser":{"name":"atomist","email":"npm@atomist.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdm-pack-jenkins_0.1.0-atomist-update-latest-20190709164118.20190709165641_1562691614813_0.7040485479045802"},"_hasShrinkwrap":false},"0.1.0-master.20190709172205":{"name":"@atomist/sdm-pack-jenkins","version":"0.1.0-master.20190709172205","description":"Extension Pack for an Atomist SDM to integrate with Jenkins","author":{"name":"Atomist","email":"support@atomist.com","url":"https://atomist.com/"},"license":"Apache-2.0","homepage":"https://github.com/atomist/sdm-pack-jenkins#readme","repository":{"type":"git","url":"git+https://github.com/atomist/sdm-pack-jenkins.git"},"bugs":{"url":"https://github.com/atomist/sdm-pack-jenkins/issues"},"keywords":["atomist","automation","pack","sdm","jenkins"],"main":"./index.js","types":"./index.d.ts","dependencies":{"@atomist/slack-messages":"^1.1.1","jenkins":"^0.25.0","lodash":"^4.17.11"},"peerDependencies":{"@atomist/automation-client":"*","@atomist/sdm":"*","@atomist/sdm-core":"*"},"devDependencies":{"@atomist/automation-client":"^1.6.1","@atomist/sdm":"^1.6.0","@atomist/sdm-core":"^1.6.0","@types/mocha":"^5.2.7","@types/power-assert":"^1.5.0","espower-typescript":"^9.0.2","mocha":"^6.1.4","npm-run-all":"^4.1.5","power-assert":"^1.6.1","rimraf":"^2.6.3","supervisor":"^0.12.0","ts-node":"^8.2.0","tslint":"^5.17.0","typedoc":"^0.14.2","typescript":"^3.5.1"},"directories":{"test":"test"},"scripts":{"autotest":"supervisor --watch index.ts,lib,test --extensions ts --no-restart-on exit --quiet --exec npm -- test","build":"run-s compile test lint doc","clean":"run-p clean:compile clean:test clean:doc clean:run","clean:compile":"rimraf git-info.json \"index.{d.ts,js{,.map}}\" \"{lib,test}/**/*.{d.ts,js{,.map}}\" lib/typings/types.ts","clean:dist":"run-s clean clean:npm","clean:doc":"rimraf doc","clean:npm":"rimraf node_modules","clean:run":"rimraf *-v8.log profile.txt log","clean:test":"rimraf .nyc_output coverage","compile":"run-s gql:gen compile:ts","compile:ts":"tsc --project .","doc":"typedoc --mode modules --excludeExternals --ignoreCompilerErrors --exclude \"**/*.d.ts\" --out doc index.ts lib","gql:gen":"atm-gql-gen","lint":"tslint --config tslint.json --format verbose --project .","lint:fix":"npm run lint -- --fix","test":"mocha --require espower-typescript/guess \"test/**/*.test.ts\"","test:one":"mocha --require espower-typescript/guess \"test/**/${TEST:-*.test.ts}\"","typedoc":"npm run doc"},"engines":{"node":">=8.1.0","npm":">=5.0.0"},"readme":"# @atomist/sdm-pack-jenkins\n\n[![atomist sdm goals](https://badge.atomist.com/T29E48P34/atomist/sdm-pack-jenkins/2d680bec-366f-4818-a427-cc8b62280097)](https://app.atomist.com/workspace/T29E48P34)\n[![npm version](https://img.shields.io/npm/v/@atomist/sdm-pack-jenkins.svg)](https://www.npmjs.com/package/@atomist/sdm-pack-jenkins)\n\nAn extension Pack for an Atomist SDM to integrate with Jenkins for \nconverging Job definitions and triggering jobs/build/pipelines as part\nof an Atomist SDM goal set.\n\nThe following code sample shows the `Jenkins` goal being used in a simple \nSDM from our [samples](https://github.com/atomist/samples/blob/master/lib/sdm/jenkinsJob.ts):\n\n<!-- atomist:code-snippet:start=lib/sdm/jenkinsJob.ts#sdm -->\n```typescript\n/**\n * Main entry point into the SDM\n */\nexport const configuration = configure(async () => {\n\n    // The Jenkins goal needs access to the Jenkins master which\n    // can be configured below\n    const options: Pick<JenkinsRegistration, \"server\"> = {\n        server: {\n            url: process.env.JENKINS_URL || \"http://127.0.0.1:8080\",\n            user: process.env.JENKINS_USER || \"admin\",\n            password: process.env.JENKINS_PASSWORD || \"123456\",\n        },\n    };\n\n    // Jenkins goal that runs a job named <repo_name>-build which will be\n    // created or updated with a job definition returned by the mavenPipeline\n    // function\n    const build = jenkins(\"build\", {\n        ...options,\n        job: async gi => `${gi.goalEvent.repo.name}-build`,\n        definition: async gi => mavenPipeline(gi),\n    });\n\n    // Single push rule that runs the build goal when the push is material and the project\n    // has a pom.xml file\n    return {\n        \"ci/cd\": {\n            test: [\n                hasFile(\"pom.xml\"),\n                isMaterialChange({\n                    extensions: [\"java\", \"properties\", \"yaml\"],\n                    files: [\"pom.xml\"],\n                })],\n            goals: [\n                build,\n            ],\n        },\n    };\n}, { name: \"jenkins\" });\n\n/**\n * Load the job definition from a local XML template\n */\nasync function mavenPipeline(gi: GoalInvocation): Promise<string> {\n    const template = (await fs.readFile(path.join(__dirname, \"maven.pipeline.xml\"))).toString();\n    const hb = hbx.compile(template);\n    return hb({ gi });\n}\n```\n<!-- atomist:docs-sdm:codeSnippetInline: Snippet 'sdm' found in https://raw.githubusercontent.com/atomist/samples/master/lib/sdm/jenkinsJob.ts -->\n<div class=\"sample-code\"><a href=\"https://github.com/atomist/samples/tree/master/lib/sdm/jenkinsJob.ts#L45-L93\" target=\"_blank\">Source</a></div>\n<!-- atomist:code-snippet:end -->\n\nSoftware delivery machines enable you to control your delivery process\nin code.  Think of it as an API for your software delivery.  See the\n[Atomist documentation][atomist-doc] for more information on the\nconcept of a software delivery machine and how to create and develop\nan SDM.\n\n[atomist-doc]: https://docs.atomist.com/ (Atomist Documentation)\n\n## Getting started\n\nSee the [Developer Quick Start][atomist-quick] to jump straight to\ncreating an SDM.\n\n[atomist-quick]: https://docs.atomist.com/quick-start/ (Atomist - Developer Quick Start)\n\n## Contributing\n\nContributions to this project from community members are encouraged\nand appreciated. Please review the [Contributing\nGuidelines](CONTRIBUTING.md) for more information. Also see the\n[Development](#development) section in this document.\n\n## Code of conduct\n\nThis project is governed by the [Code of\nConduct](CODE_OF_CONDUCT.md). You are expected to act in accordance\nwith this code by participating. Please report any unacceptable\nbehavior to code-of-conduct@atomist.com.\n\n## Documentation\n\nPlease see [docs.atomist.com][atomist-doc] for\n[developer][atomist-doc-sdm] documentation.\n\n[atomist-doc-sdm]: https://docs.atomist.com/developer/sdm/ (Atomist Documentation - SDM Developer)\n\n## Connect\n\nFollow [@atomist][atomist-twitter] and [The Composition][atomist-blog]\nblog related to SDM.\n\n[atomist-twitter]: https://twitter.com/atomist (Atomist on Twitter)\n[atomist-blog]: https://the-composition.com/ (The Composition - The Official Atomist Blog)\n\n## Support\n\nGeneral support questions should be discussed in the `#support`\nchannel in the [Atomist community Slack workspace][slack].\n\nIf you find a problem, please create an [issue][].\n\n[issue]: https://github.com/atomist-seeds/sdm-pack/issues\n\n## Development\n\nYou will need to install [Node.js][node] to build and test this\nproject.\n\n[node]: https://nodejs.org/ (Node.js)\n\n### Build and test\n\nInstall dependencies.\n\n```\n$ npm install\n```\n\nUse the `build` package script to compile, test, lint, and build the\ndocumentation.\n\n```\n$ npm run build\n```\n\n### Release\n\nReleases are handled via the [Atomist SDM][atomist-sdm].  Just press\nthe 'Approve' button in the Atomist dashboard or Slack.\n\n[atomist-sdm]: https://github.com/atomist/atomist-sdm (Atomist Software Delivery Machine)\n\n---\n\nCreated by [Atomist][atomist].\nNeed Help?  [Join our Slack workspace][slack].\n\n[atomist]: https://atomist.com/ (Atomist - How Teams Deliver Software)\n[slack]: https://join.atomist.com/ (Atomist Community Slack)\n","readmeFilename":"README.md","gitHead":"950409df6caa936b9b9fb7628dc32f0846a86566","_id":"@atomist/sdm-pack-jenkins@0.1.0-master.20190709172205","_nodeVersion":"11.13.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-y6F1RjaHDKVGNd4eyNdNOONumzK/f3HsNZEYsWdVlrBi30PIlnHWOnUSHuEhLgy8nLqxxSHhB2siJJ+DUmCySA==","shasum":"09befa2050ea55aef72baa240758a8f0fa263280","tarball":"https://registry.npmjs.org/@atomist/sdm-pack-jenkins/-/sdm-pack-jenkins-0.1.0-master.20190709172205.tgz","fileCount":14,"unpackedSize":169556,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdJM2lCRA9TVsSAnZWagAAt0AP/1EQV9ADGyBfmsfpfOts\nPSpdy7pA2NF45UuLBhpEHmJD+Q8rGVVy/36RZ7fZGMC3m06txPZZSGfofqs+\npoI0zfdSGJ23ATZ+jKjRxs3dauCSzQZKMTLow4I5tbMNdw5OJR9O30VDGWVY\nhNNkSyUbwTBwQ5OcaLaVvoyVDe7m+uwX/POFlHgwqItcLsZl9dtdvPy01Lcw\n+KC4Uek1fajH5UcFn0BcEZOPJwhkVmoa/CByp9hJi6rCfe9uDBPdtBB5HB8M\n5mIFtG7TggqdDf2c9HHWigXc5mqK7cMmakwD2J7jr7qfVeLFllBcafVFR+/x\ncpgkJ6YSW5qS0ca74NRiNwMEhHnNjwChFO1OXMMT/Px0SHx2qYnOn4FNE5EC\n8/Pv00W9ZCOwOXG3cw/+hedKx5NnxXjVb9bVhXap27XdWpeDsuUT+ONS//0a\nTFel57ORzipuus1pWFpBN2pxrXq69g3jEUlj/147WFfFiKVz+AQLhbUsj0mD\nqcf8LazpSqfzun5WfFnjE3CfEo0cmPEPJS8hfkpnQFm3HFfvHMnfh4vA5Pt3\nk9QWo5Itmb1m8O0J/he6jQV7ZB0zvmcfuDZXOnT/ErPb1hOAS0NESjWztghX\nagewXSNLWwr3CTHgCQQpY/8JynLINBcRLynIVr1Su2MYHnnfY1UGNClVQ7e/\nTF33\r\n=/f5A\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGAiC8nr53GeEgIo2gjW1LB7xit7V9WUT7lDyAXWovc+AiEAhy3pUsviw7Frrv0ZFc+CVNX7R9qQdZutaUupTvfKkt4="}]},"maintainers":[{"name":"atomist","email":"npm@atomist.com"}],"_npmUser":{"name":"atomist","email":"npm@atomist.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdm-pack-jenkins_0.1.0-master.20190709172205_1562693028588_0.9026414136736824"},"_hasShrinkwrap":false},"0.1.0-master.20190726152626":{"name":"@atomist/sdm-pack-jenkins","version":"0.1.0-master.20190726152626","description":"Extension Pack for an Atomist SDM to integrate with Jenkins","author":{"name":"Atomist","email":"support@atomist.com","url":"https://atomist.com/"},"license":"Apache-2.0","homepage":"https://github.com/atomist/sdm-pack-jenkins#readme","repository":{"type":"git","url":"git+https://github.com/atomist/sdm-pack-jenkins.git"},"bugs":{"url":"https://github.com/atomist/sdm-pack-jenkins/issues"},"keywords":["atomist","automation","pack","sdm","jenkins"],"main":"./index.js","types":"./index.d.ts","dependencies":{"@atomist/slack-messages":"^1.1.1","jenkins":"^0.25.0","lodash":"^4.17.11"},"peerDependencies":{"@atomist/automation-client":"*","@atomist/sdm":"*","@atomist/sdm-core":"*"},"devDependencies":{"@atomist/automation-client":"^1.6.1","@atomist/sdm":"^1.6.0","@atomist/sdm-core":"^1.6.0","@types/mocha":"^5.2.7","@types/power-assert":"^1.5.0","espower-typescript":"^9.0.2","mocha":"^6.1.4","npm-run-all":"^4.1.5","power-assert":"^1.6.1","rimraf":"^2.6.3","supervisor":"^0.12.0","ts-node":"^8.2.0","tslint":"^5.17.0","typedoc":"^0.14.2","typescript":"^3.5.1"},"directories":{"test":"test"},"scripts":{"autotest":"supervisor --watch index.ts,lib,test --extensions ts --no-restart-on exit --quiet --exec npm -- test","build":"run-s compile test lint doc","clean":"run-p clean:compile clean:test clean:doc clean:run","clean:compile":"rimraf git-info.json \"index.{d.ts,js{,.map}}\" \"{lib,test}/**/*.{d.ts,js{,.map}}\" lib/typings/types.ts","clean:dist":"run-s clean clean:npm","clean:doc":"rimraf doc","clean:npm":"rimraf node_modules","clean:run":"rimraf *-v8.log profile.txt log","clean:test":"rimraf .nyc_output coverage","compile":"run-s gql:gen compile:ts","compile:ts":"tsc --project .","doc":"typedoc --mode modules --excludeExternals --ignoreCompilerErrors --exclude \"**/*.d.ts\" --out doc index.ts lib","gql:gen":"atm-gql-gen","lint":"tslint --config tslint.json --format verbose --project .","lint:fix":"npm run lint -- --fix","test":"mocha --require espower-typescript/guess \"test/**/*.test.ts\"","test:one":"mocha --require espower-typescript/guess \"test/**/${TEST:-*.test.ts}\"","typedoc":"npm run doc"},"engines":{"node":">=8.1.0","npm":">=5.0.0"},"readme":"# @atomist/sdm-pack-jenkins\n\n[![atomist sdm goals](https://badge.atomist.com/T29E48P34/atomist/sdm-pack-jenkins/2d680bec-366f-4818-a427-cc8b62280097)](https://app.atomist.com/workspace/T29E48P34)\n[![npm version](https://img.shields.io/npm/v/@atomist/sdm-pack-jenkins.svg)](https://www.npmjs.com/package/@atomist/sdm-pack-jenkins)\n\nAn extension Pack for an Atomist SDM to integrate with Jenkins for \nconverging Job definitions and triggering jobs/build/pipelines as part\nof an Atomist SDM goal set.\n\nThe following code sample shows the `Jenkins` goal being used in a simple \nSDM from our [samples](https://github.com/atomist/samples/blob/master/lib/sdm/jenkinsJob.ts):\n\n<!-- atomist:code-snippet:start=lib/sdm/jenkinsJob.ts#sdm -->\n```typescript\n/**\n * Main entry point into the SDM\n */\nexport const configuration = configure(async () => {\n\n    // The Jenkins goal needs access to the Jenkins master which\n    // can be configured below\n    const options: Pick<JenkinsRegistration, \"server\"> = {\n        server: {\n            url: process.env.JENKINS_URL || \"http://127.0.0.1:8080\",\n            user: process.env.JENKINS_USER || \"admin\",\n            password: process.env.JENKINS_PASSWORD || \"123456\",\n        },\n    };\n\n    // Jenkins goal that runs a job named <repo_name>-build which will be\n    // created or updated with a job definition returned by the mavenPipeline\n    // function\n    const build = jenkins(\"build\", {\n        ...options,\n        job: async gi => `${gi.goalEvent.repo.name}-build`,\n        definition: async gi => mavenPipeline(gi),\n    });\n\n    // Single push rule that runs the build goal when the push is material and the project\n    // has a pom.xml file\n    return {\n        \"ci/cd\": {\n            test: [\n                hasFile(\"pom.xml\"),\n                isMaterialChange({\n                    extensions: [\"java\", \"properties\", \"yaml\"],\n                    files: [\"pom.xml\"],\n                })],\n            goals: [\n                build,\n            ],\n        },\n    };\n}, { name: \"jenkins\" });\n\n/**\n * Load the job definition from a local XML template\n */\nasync function mavenPipeline(gi: GoalInvocation): Promise<string> {\n    const template = (await fs.readFile(path.join(__dirname, \"maven.pipeline.xml\"))).toString();\n    const hb = hbx.compile(template);\n    return hb({ gi });\n}\n```\n<!-- atomist:docs-sdm:codeSnippetInline: Snippet 'sdm' found in https://raw.githubusercontent.com/atomist/samples/master/lib/sdm/jenkinsJob.ts -->\n<div class=\"sample-code\"><a href=\"https://github.com/atomist/samples/tree/master/lib/sdm/jenkinsJob.ts#L45-L93\" target=\"_blank\">Source</a></div>\n<!-- atomist:code-snippet:end -->\n\nSoftware delivery machines enable you to control your delivery process\nin code.  Think of it as an API for your software delivery.  See the\n[Atomist documentation][atomist-doc] for more information on the\nconcept of a software delivery machine and how to create and develop\nan SDM.\n\n[atomist-doc]: https://docs.atomist.com/ (Atomist Documentation)\n\n## Getting started\n\nSee the [Developer Quick Start][atomist-quick] to jump straight to\ncreating an SDM.\n\n[atomist-quick]: https://docs.atomist.com/quick-start/ (Atomist - Developer Quick Start)\n\n## Contributing\n\nContributions to this project from community members are encouraged\nand appreciated. Please review the [Contributing\nGuidelines](CONTRIBUTING.md) for more information. Also see the\n[Development](#development) section in this document.\n\n## Code of conduct\n\nThis project is governed by the [Code of\nConduct](CODE_OF_CONDUCT.md). You are expected to act in accordance\nwith this code by participating. Please report any unacceptable\nbehavior to code-of-conduct@atomist.com.\n\n## Documentation\n\nPlease see [docs.atomist.com][atomist-doc] for\n[developer][atomist-doc-sdm] documentation.\n\n[atomist-doc-sdm]: https://docs.atomist.com/developer/sdm/ (Atomist Documentation - SDM Developer)\n\n## Connect\n\nFollow [@atomist][atomist-twitter] and [The Composition][atomist-blog]\nblog related to SDM.\n\n[atomist-twitter]: https://twitter.com/atomist (Atomist on Twitter)\n[atomist-blog]: https://the-composition.com/ (The Composition - The Official Atomist Blog)\n\n## Support\n\nGeneral support questions should be discussed in the `#support`\nchannel in the [Atomist community Slack workspace][slack].\n\nIf you find a problem, please create an [issue][].\n\n[issue]: https://github.com/atomist-seeds/sdm-pack/issues\n\n## Development\n\nYou will need to install [Node.js][node] to build and test this\nproject.\n\n[node]: https://nodejs.org/ (Node.js)\n\n### Build and test\n\nInstall dependencies.\n\n```\n$ npm install\n```\n\nUse the `build` package script to compile, test, lint, and build the\ndocumentation.\n\n```\n$ npm run build\n```\n\n### Release\n\nReleases are handled via the [Atomist SDM][atomist-sdm].  Just press\nthe 'Approve' button in the Atomist dashboard or Slack.\n\n[atomist-sdm]: https://github.com/atomist/atomist-sdm (Atomist Software Delivery Machine)\n\n---\n\nCreated by [Atomist][atomist].\nNeed Help?  [Join our Slack workspace][slack].\n\n[atomist]: https://atomist.com/ (Atomist - How Teams Deliver Software)\n[slack]: https://join.atomist.com/ (Atomist Community Slack)\n","readmeFilename":"README.md","gitHead":"0694ae40f48cb129cd38a205387a8db7d2c936a2","_id":"@atomist/sdm-pack-jenkins@0.1.0-master.20190726152626","_nodeVersion":"12.6.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-PuebWRIIjK6wvYWDYWy3GQRlb6FiHHnN9+cMoBkWIWQzWRs6SmpU8htTjye63zpzfApeyeCJcG/34bV8U2pEwA==","shasum":"d0f606d4a5d5541b6dac2a6cd2a0d6db26342992","tarball":"https://registry.npmjs.org/@atomist/sdm-pack-jenkins/-/sdm-pack-jenkins-0.1.0-master.20190726152626.tgz","fileCount":14,"unpackedSize":170243,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdOxwaCRA9TVsSAnZWagAAm1UP/1vMXxl5fQ24Na1apFPO\nuySNnwzHHhUCXntUBrqSdpsZesCij4ZTqPDHt9p5/fWLa9zFDyMDe+sHyV6T\nVGDxI4VOdOm4GNzoGoVvscQiNFzsdfLuhYOus506sU42UeRyQ3pOYrW3dLVj\nKfQd9B4wlriWt1AMFr69lfuBQ858h4QuswytiPnKFRQKhWe7VkGlc38Kva69\neiJ3HC2hFiWn2FMJnRwfTwEzSWx5Oind6zzUlaDY3yc2kXl+WmFiPJQHXwB8\ng3zhHQLfv0xLYuuWktMhjvVJ3gRfnuDlG6mn7A79rBNtnLszgUCZ/D0kCCqB\ni0dt7yBTzo9a5CXHdzl/Es+qq38MfiCP1Q+WhXF+onZkqaCnjgEIuH4QQA2c\nYL0ytrCBukgvv/12EAo1PetC0bD5r30FYfY3lqwubxxV11ePMCEZer+ymROK\n6w03zuPxByzMDw4h+4RGwYfvqX1xNHNmpwUUEAtK2b44xrIIubxXa+rn+zI4\nHQuRaa5QRzaVX9gvjCs6cLSnL+stBU8n1T4U9tUy0rwI1yGZJEE1Xmkh7zDn\nKJLc6TB7fPBgCGHP7CkxE45uiscfEf7LeCnv7LRni3Jnu2gOQH7SIkAoMuvG\nxmH158Qv5kOty7J+f4P8+K/DxhDnymdJMyt1oZY6/dcSfdB53/yNGPu40cF+\nDSbi\r\n=T4py\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDVakcwFs57xSzHBMENO7cBekK9hsesQYxE3e123INsIwIgI2iS0evhBte4deH/uRqL3SDptKswtVz/BWTpInKIay0="}]},"maintainers":[{"name":"atomist","email":"npm@atomist.com"}],"_npmUser":{"name":"atomist","email":"npm@atomist.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdm-pack-jenkins_0.1.0-master.20190726152626_1564154906063_0.16197637367476836"},"_hasShrinkwrap":false},"0.1.0-atomist.a260p86nh.sdm-deps.master.20190909195346":{"name":"@atomist/sdm-pack-jenkins","version":"0.1.0-atomist.a260p86nh.sdm-deps.master.20190909195346","description":"Extension Pack for an Atomist SDM to integrate with Jenkins","author":{"name":"Atomist","email":"support@atomist.com","url":"https://atomist.com/"},"license":"Apache-2.0","homepage":"https://github.com/atomist/sdm-pack-jenkins#readme","repository":{"type":"git","url":"git+https://github.com/atomist/sdm-pack-jenkins.git"},"bugs":{"url":"https://github.com/atomist/sdm-pack-jenkins/issues"},"keywords":["atomist","automation","pack","sdm","jenkins"],"main":"./index.js","types":"./index.d.ts","dependencies":{"@atomist/slack-messages":"^1.1.1","jenkins":"^0.25.0","lodash":"^4.17.11"},"peerDependencies":{"@atomist/automation-client":"^1.7.0","@atomist/sdm":"^1.7.0","@atomist/sdm-core":"^1.7.0"},"devDependencies":{"@atomist/automation-client":"^1.7.0","@atomist/sdm":"^1.7.0","@atomist/sdm-core":"^1.7.0","@types/mocha":"^5.2.7","@types/power-assert":"^1.5.0","espower-typescript":"^9.0.2","mocha":"^6.1.4","npm-run-all":"^4.1.5","power-assert":"^1.6.1","rimraf":"^2.6.3","supervisor":"^0.12.0","ts-node":"^8.3.0","tslint":"^5.19.0","typedoc":"^0.15.0","typescript":"^3.6.2"},"directories":{"test":"test"},"scripts":{"autotest":"supervisor --watch index.ts,lib,test --extensions ts --no-restart-on exit --quiet --exec npm -- test","build":"run-s compile test lint doc","clean":"run-p clean:compile clean:test clean:doc clean:run","clean:compile":"rimraf git-info.json \"index.{d.ts,js{,.map}}\" \"{lib,test}/**/*.{d.ts,js{,.map}}\" lib/typings/types.ts","clean:dist":"run-s clean clean:npm","clean:doc":"rimraf doc","clean:npm":"rimraf node_modules","clean:run":"rimraf *-v8.log profile.txt log","clean:test":"rimraf .nyc_output coverage","compile":"run-s gql:gen compile:ts","compile:ts":"tsc --project .","doc":"typedoc --mode modules --excludeExternals --ignoreCompilerErrors --exclude \"**/*.d.ts\" --out doc index.ts lib","gql:gen":"atm-gql-gen","lint":"tslint --config tslint.json --format verbose --project .","lint:fix":"npm run lint -- --fix","test":"mocha --require espower-typescript/guess \"test/**/*.test.ts\"","test:one":"mocha --require espower-typescript/guess \"test/**/${TEST:-*.test.ts}\"","typedoc":"npm run doc"},"engines":{"node":">=8.1.0","npm":">=5.0.0"},"readme":"# @atomist/sdm-pack-jenkins\n\n[![atomist sdm goals](https://badge.atomist.com/T29E48P34/atomist/sdm-pack-jenkins/2d680bec-366f-4818-a427-cc8b62280097)](https://app.atomist.com/workspace/T29E48P34)\n[![npm version](https://img.shields.io/npm/v/@atomist/sdm-pack-jenkins.svg)](https://www.npmjs.com/package/@atomist/sdm-pack-jenkins)\n\nAn extension Pack for an Atomist SDM to integrate with Jenkins for \nconverging Job definitions and triggering jobs/build/pipelines as part\nof an Atomist SDM goal set.\n\nThe following code sample shows the `Jenkins` goal being used in a simple \nSDM from our [samples](https://github.com/atomist/samples/blob/master/lib/sdm/jenkinsJob.ts):\n\n<!-- atomist:code-snippet:start=lib/sdm/jenkinsJob.ts#sdm -->\n```typescript\n/**\n * Main entry point into the SDM\n */\nexport const configuration = configure(async () => {\n\n    // The Jenkins goal needs access to the Jenkins master which\n    // can be configured below\n    const options: Pick<JenkinsRegistration, \"server\"> = {\n        server: {\n            url: process.env.JENKINS_URL || \"http://127.0.0.1:8080\",\n            user: process.env.JENKINS_USER || \"admin\",\n            password: process.env.JENKINS_PASSWORD || \"123456\",\n        },\n    };\n\n    // Jenkins goal that runs a job named <repo_name>-build which will be\n    // created or updated with a job definition returned by the mavenPipeline\n    // function\n    const build = jenkins(\"build\", {\n        ...options,\n        job: async gi => `${gi.goalEvent.repo.name}-build`,\n        definition: async gi => mavenPipeline(gi),\n    });\n\n    // Single push rule that runs the build goal when the push is material and the project\n    // has a pom.xml file\n    return {\n        \"ci/cd\": {\n            test: [\n                hasFile(\"pom.xml\"),\n                isMaterialChange({\n                    extensions: [\"java\", \"properties\", \"yaml\"],\n                    files: [\"pom.xml\"],\n                })],\n            goals: [\n                build,\n            ],\n        },\n    };\n}, { name: \"jenkins\" });\n\n/**\n * Load the job definition from a local XML template\n */\nasync function mavenPipeline(gi: GoalInvocation): Promise<string> {\n    const template = (await fs.readFile(path.join(__dirname, \"maven.pipeline.xml\"))).toString();\n    const hb = hbx.compile(template);\n    return hb({ gi });\n}\n```\n<!-- atomist:docs-sdm:codeSnippetInline: Snippet 'sdm' found in https://raw.githubusercontent.com/atomist/samples/master/lib/sdm/jenkinsJob.ts -->\n<div class=\"sample-code\"><a href=\"https://github.com/atomist/samples/tree/master/lib/sdm/jenkinsJob.ts#L45-L93\" target=\"_blank\">Source</a></div>\n<!-- atomist:code-snippet:end -->\n\nSoftware delivery machines enable you to control your delivery process\nin code.  Think of it as an API for your software delivery.  See the\n[Atomist documentation][atomist-doc] for more information on the\nconcept of a software delivery machine and how to create and develop\nan SDM.\n\n[atomist-doc]: https://docs.atomist.com/ (Atomist Documentation)\n\n## Getting started\n\nSee the [Developer Quick Start][atomist-quick] to jump straight to\ncreating an SDM.\n\n[atomist-quick]: https://docs.atomist.com/quick-start/ (Atomist - Developer Quick Start)\n\n## Contributing\n\nContributions to this project from community members are encouraged\nand appreciated. Please review the [Contributing\nGuidelines](CONTRIBUTING.md) for more information. Also see the\n[Development](#development) section in this document.\n\n## Code of conduct\n\nThis project is governed by the [Code of\nConduct](CODE_OF_CONDUCT.md). You are expected to act in accordance\nwith this code by participating. Please report any unacceptable\nbehavior to code-of-conduct@atomist.com.\n\n## Documentation\n\nPlease see [docs.atomist.com][atomist-doc] for\n[developer][atomist-doc-sdm] documentation.\n\n[atomist-doc-sdm]: https://docs.atomist.com/developer/sdm/ (Atomist Documentation - SDM Developer)\n\n## Connect\n\nFollow [@atomist][atomist-twitter] and [The Composition][atomist-blog]\nblog related to SDM.\n\n[atomist-twitter]: https://twitter.com/atomist (Atomist on Twitter)\n[atomist-blog]: https://the-composition.com/ (The Composition - The Official Atomist Blog)\n\n## Support\n\nGeneral support questions should be discussed in the `#support`\nchannel in the [Atomist community Slack workspace][slack].\n\nIf you find a problem, please create an [issue][].\n\n[issue]: https://github.com/atomist-seeds/sdm-pack/issues\n\n## Development\n\nYou will need to install [Node.js][node] to build and test this\nproject.\n\n[node]: https://nodejs.org/ (Node.js)\n\n### Build and test\n\nInstall dependencies.\n\n```\n$ npm install\n```\n\nUse the `build` package script to compile, test, lint, and build the\ndocumentation.\n\n```\n$ npm run build\n```\n\n### Release\n\nReleases are handled via the [Atomist SDM][atomist-sdm].  Just press\nthe 'Approve' button in the Atomist dashboard or Slack.\n\n[atomist-sdm]: https://github.com/atomist/atomist-sdm (Atomist Software Delivery Machine)\n\n---\n\nCreated by [Atomist][atomist].\nNeed Help?  [Join our Slack workspace][slack].\n\n[atomist]: https://atomist.com/ (Atomist - How Teams Deliver Software)\n[slack]: https://join.atomist.com/ (Atomist Community Slack)\n","readmeFilename":"README.md","gitHead":"836ac35547ca9ac989fd20a32c8db9043b45498d","_id":"@atomist/sdm-pack-jenkins@0.1.0-atomist.a260p86nh.sdm-deps.master.20190909195346","_nodeVersion":"12.8.0","_npmVersion":"6.10.2","dist":{"integrity":"sha512-XF0gTRWenKyugdm2LEkEgdiBMnyPV3oK0v29gSMurtMG6SXeKENTjRxEVNfb/KX/nZ08669dWR4HiXHzF6Ci8A==","shasum":"7fc4873639e7eaa9ebc380bd72ce14a405803ea2","tarball":"https://registry.npmjs.org/@atomist/sdm-pack-jenkins/-/sdm-pack-jenkins-0.1.0-atomist.a260p86nh.sdm-deps.master.20190909195346.tgz","fileCount":14,"unpackedSize":170366,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJddq6MCRA9TVsSAnZWagAAEyYP/j0eQCIXhBuCkBZLr7Xt\nW2jc8zCV83YN8zh1W2wu3d/HR2VHMHpuVFnoIh0wpaeonwPNXsaNCmTq+ykh\nb/Eakru5hHlSkkpA2JqV97q5xR6CE2komLhH+YTrojrS8X8zI5bJ3OJvXFEM\nQ5zaPoXY5ZnFy510gTRenG2XNuI577zDB/dqGblpjb5W8fLCLoc2q5kcKZ6p\nqbNzZp2p2Wo30sEctRkurf/AR+QyH85qBf9S7RWXRDWHvCIbE2WovekuP6TF\nnVluIP3dbGoZW07EYMvSSmg6VZ0szGMPlp8neXkYmGuhG9DMrVzdz+Xw3twu\nR6wrFoAFkeutUPpc5G7Dfkz+UmAj8lO2Sv8VbKYPNPo2hM8jRrzx3rvr+eqx\nhkQbP9JzLk0eRdZ7JsPiEbB3/dqcg0p4ieVglghY3kp/quyW1jpTYsXaTWrF\nmtHEsnkNvrJYbFf7K2x6Um5hD0+C/qbx4B7jiONwPTL8EonkVoD1OOLiXeJU\nU8nUxWdG8dlBX5FV4hQNbfYmV034uaFZn+69S6cndh2GUWtCn9uHkiqzZxWY\nOMLOjHO56ydbDifMomMpcDCbU0CB/kE6y6O7rwVTawy1wptYSMkcSmdaDA0m\nzaLSJWZ52wJDDO6XfqkjfeVBYOz/G39ozZEHDiSCCuk3b90FYZNxiKMPBD2Y\n4jlM\r\n=5+Wy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFp4NzBisMwXtXRO3RTZM+GHQ/TMnEf/rZy8JT89AA+FAiEAqjVrzbfIFC1ECgjFrjxhJUFKgrQlHoJMXYqRpW0VJLY="}]},"maintainers":[{"name":"atomist","email":"npm@atomist.com"}],"_npmUser":{"name":"atomist","email":"npm@atomist.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdm-pack-jenkins_0.1.0-atomist.a260p86nh.sdm-deps.master.20190909195346_1568059020295_0.84031434021017"},"_hasShrinkwrap":false},"0.1.0-master.20190910081927":{"name":"@atomist/sdm-pack-jenkins","version":"0.1.0-master.20190910081927","description":"Extension Pack for an Atomist SDM to integrate with Jenkins","author":{"name":"Atomist","email":"support@atomist.com","url":"https://atomist.com/"},"license":"Apache-2.0","homepage":"https://github.com/atomist/sdm-pack-jenkins#readme","repository":{"type":"git","url":"git+https://github.com/atomist/sdm-pack-jenkins.git"},"bugs":{"url":"https://github.com/atomist/sdm-pack-jenkins/issues"},"keywords":["atomist","automation","pack","sdm","jenkins"],"main":"./index.js","types":"./index.d.ts","dependencies":{"@atomist/slack-messages":"^1.1.1","jenkins":"^0.25.0","lodash":"^4.17.11"},"peerDependencies":{"@atomist/automation-client":"^1.7.0","@atomist/sdm":"^1.7.0","@atomist/sdm-core":"^1.7.0"},"devDependencies":{"@atomist/automation-client":"^1.7.0","@atomist/sdm":"^1.7.0","@atomist/sdm-core":"^1.7.0","@types/mocha":"^5.2.7","@types/power-assert":"^1.5.0","espower-typescript":"^9.0.2","mocha":"^6.1.4","npm-run-all":"^4.1.5","power-assert":"^1.6.1","rimraf":"^2.6.3","supervisor":"^0.12.0","ts-node":"^8.3.0","tslint":"^5.19.0","typedoc":"^0.15.0","typescript":"^3.6.2"},"directories":{"test":"test"},"scripts":{"autotest":"supervisor --watch index.ts,lib,test --extensions ts --no-restart-on exit --quiet --exec npm -- test","build":"run-s compile test lint doc","clean":"run-p clean:compile clean:test clean:doc clean:run","clean:compile":"rimraf git-info.json \"index.{d.ts,js{,.map}}\" \"{lib,test}/**/*.{d.ts,js{,.map}}\" lib/typings/types.ts","clean:dist":"run-s clean clean:npm","clean:doc":"rimraf doc","clean:npm":"rimraf node_modules","clean:run":"rimraf *-v8.log profile.txt log","clean:test":"rimraf .nyc_output coverage","compile":"run-s gql:gen compile:ts","compile:ts":"tsc --project .","doc":"typedoc --mode modules --excludeExternals --ignoreCompilerErrors --exclude \"**/*.d.ts\" --out doc index.ts lib","gql:gen":"atm-gql-gen","lint":"tslint --config tslint.json --format verbose --project .","lint:fix":"npm run lint -- --fix","test":"mocha --require espower-typescript/guess \"test/**/*.test.ts\"","test:one":"mocha --require espower-typescript/guess \"test/**/${TEST:-*.test.ts}\"","typedoc":"npm run doc"},"engines":{"node":">=8.1.0","npm":">=5.0.0"},"readme":"# @atomist/sdm-pack-jenkins\n\n[![atomist sdm goals](https://badge.atomist.com/T29E48P34/atomist/sdm-pack-jenkins/2d680bec-366f-4818-a427-cc8b62280097)](https://app.atomist.com/workspace/T29E48P34)\n[![npm version](https://img.shields.io/npm/v/@atomist/sdm-pack-jenkins.svg)](https://www.npmjs.com/package/@atomist/sdm-pack-jenkins)\n\nAn extension Pack for an Atomist SDM to integrate with Jenkins for \nconverging Job definitions and triggering jobs/build/pipelines as part\nof an Atomist SDM goal set.\n\nThe following code sample shows the `Jenkins` goal being used in a simple \nSDM from our [samples](https://github.com/atomist/samples/blob/master/lib/sdm/jenkinsJob.ts):\n\n<!-- atomist:code-snippet:start=lib/sdm/jenkinsJob.ts#sdm -->\n```typescript\n/**\n * Main entry point into the SDM\n */\nexport const configuration = configure(async () => {\n\n    // The Jenkins goal needs access to the Jenkins master which\n    // can be configured below\n    const options: Pick<JenkinsRegistration, \"server\"> = {\n        server: {\n            url: process.env.JENKINS_URL || \"http://127.0.0.1:8080\",\n            user: process.env.JENKINS_USER || \"admin\",\n            password: process.env.JENKINS_PASSWORD || \"123456\",\n        },\n    };\n\n    // Jenkins goal that runs a job named <repo_name>-build which will be\n    // created or updated with a job definition returned by the mavenPipeline\n    // function\n    const build = jenkins(\"build\", {\n        ...options,\n        job: async gi => process.env.JENKINS_JOB || `${gi.goalEvent.repo.name}-build`,\n        definition: !process.env.JENKINS_JOB ? async gi => mavenPipeline(gi) : undefined,\n    });\n\n    // Single push rule that runs the build goal when the push is material and the project\n    // has a pom.xml file\n    return {\n        \"ci/cd\": {\n            test: [\n                hasFile(\"pom.xml\"),\n                isMaterialChange({\n                    extensions: [\"java\", \"properties\", \"yaml\"],\n                    files: [\"pom.xml\"],\n                })],\n            goals: [\n                build,\n            ],\n        },\n    };\n}, { name: \"jenkins\" });\n\n/**\n * Load the job definition from a local XML template\n */\nasync function mavenPipeline(gi: GoalInvocation): Promise<string> {\n    const template = (await fs.readFile(path.join(__dirname, \"maven.pipeline.xml\"))).toString();\n    const hb = hbx.compile(template);\n    return hb({ gi });\n}\n```\n<!-- atomist:docs-sdm:codeSnippetInline: Snippet 'sdm' found in https://raw.githubusercontent.com/atomist/samples/master/lib/sdm/jenkinsJob.ts -->\n<div class=\"sample-code\"><a href=\"https://github.com/atomist/samples/tree/master/lib/sdm/jenkinsJob.ts#L45-L93\" target=\"_blank\">Source</a></div>\n<!-- atomist:code-snippet:end -->\n\nSoftware delivery machines enable you to control your delivery process\nin code.  Think of it as an API for your software delivery.  See the\n[Atomist documentation][atomist-doc] for more information on the\nconcept of a software delivery machine and how to create and develop\nan SDM.\n\n[atomist-doc]: https://docs.atomist.com/ (Atomist Documentation)\n\n## Getting started\n\nSee the [Developer Quick Start][atomist-quick] to jump straight to\ncreating an SDM.\n\n[atomist-quick]: https://docs.atomist.com/quick-start/ (Atomist - Developer Quick Start)\n\n## Contributing\n\nContributions to this project from community members are encouraged\nand appreciated. Please review the [Contributing\nGuidelines](CONTRIBUTING.md) for more information. Also see the\n[Development](#development) section in this document.\n\n## Code of conduct\n\nThis project is governed by the [Code of\nConduct](CODE_OF_CONDUCT.md). You are expected to act in accordance\nwith this code by participating. Please report any unacceptable\nbehavior to code-of-conduct@atomist.com.\n\n## Documentation\n\nPlease see [docs.atomist.com][atomist-doc] for\n[developer][atomist-doc-sdm] documentation.\n\n[atomist-doc-sdm]: https://docs.atomist.com/developer/sdm/ (Atomist Documentation - SDM Developer)\n\n## Connect\n\nFollow [@atomist][atomist-twitter] and [The Composition][atomist-blog]\nblog related to SDM.\n\n[atomist-twitter]: https://twitter.com/atomist (Atomist on Twitter)\n[atomist-blog]: https://the-composition.com/ (The Composition - The Official Atomist Blog)\n\n## Support\n\nGeneral support questions should be discussed in the `#support`\nchannel in the [Atomist community Slack workspace][slack].\n\nIf you find a problem, please create an [issue][].\n\n[issue]: https://github.com/atomist-seeds/sdm-pack/issues\n\n## Development\n\nYou will need to install [Node.js][node] to build and test this\nproject.\n\n[node]: https://nodejs.org/ (Node.js)\n\n### Build and test\n\nInstall dependencies.\n\n```\n$ npm install\n```\n\nUse the `build` package script to compile, test, lint, and build the\ndocumentation.\n\n```\n$ npm run build\n```\n\n### Release\n\nReleases are handled via the [Atomist SDM][atomist-sdm].  Just press\nthe 'Approve' button in the Atomist dashboard or Slack.\n\n[atomist-sdm]: https://github.com/atomist/atomist-sdm (Atomist Software Delivery Machine)\n\n---\n\nCreated by [Atomist][atomist].\nNeed Help?  [Join our Slack workspace][slack].\n\n[atomist]: https://atomist.com/ (Atomist - How Teams Deliver Software)\n[slack]: https://join.atomist.com/ (Atomist Community Slack)\n","readmeFilename":"README.md","gitHead":"47ff45e9805ac91f0ca899a3895ef79670998f24","_id":"@atomist/sdm-pack-jenkins@0.1.0-master.20190910081927","_nodeVersion":"12.8.0","_npmVersion":"6.10.2","dist":{"integrity":"sha512-o0ouF25J3WuEpQJ+AnvTNHLlEpwxpsJrgtUCLM16bwSO/tDx/JmhQNrJskElbH+nZZlANV3b0/iCuoP6buvq4A==","shasum":"911af307c5bf0b322b9286740a1c0a0d71b394e3","tarball":"https://registry.npmjs.org/@atomist/sdm-pack-jenkins/-/sdm-pack-jenkins-0.1.0-master.20190910081927.tgz","fileCount":14,"unpackedSize":157442,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdd13+CRA9TVsSAnZWagAA7hEQAJ+XAwMyNsP/YHmC8MfJ\ntfmYgn99y1JFw1j9zMyxx30XKzg8l8psqpk+09v/TtaxXnubVbOS55fx2jmT\nh22vVfJZCM2mlVqVk1NroknF2oXAAMEplyF13FR5IUos1KFxU5QZePqi3rhP\n5MfQv7AfA/9oEQHibocQtESQLqX+obRCij3+g4vusLIpbGvn/6GOHo5I7uHp\nbtQcIMhwCAEvpIlfY0207v3V9wpvM6In6gDtz233fDyWSWCIKySRigYC+rvQ\nkngRtQicl1jzGtYwOZXh5wlg/3k+GILAjTayd38z1Jf02eV6vC/g3BQbDAUi\nfCw0XY9EEH0psSR5lw4Qo/BTmSBGFnUWzlR2M4Dh05Q+uH7fb68YzjVVW1pg\nViIi/bq9OSYdC3sWOek0SATc1ZOfW7TYl4KQ5Lwb9S3VvDwlq+vc2wh0tvtt\nwqLgc7cuIq7oYL+6Y/wbog02iA82PgD3OmBtAVfUgN4sk4l4CRflRlAKHQ6B\nxTcceOVKHlFVSQYoSajNfsPMbBPsMjwdW6At5AVbZSkEr0axgno5JW6X3l6e\nTMhETLc6DFWNnlxd7ITCQgWcftokrSJuc4ThStWvwuAlS4xFfMV9ZcqiFiDS\n2+o99IfNq+OCCFV61p8Ze3sn+rQB7YzywP6Nm+FxmA/L8VxeL6NyWmtsrCoM\n9/Mf\r\n=4GIz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDkG9cBIoTiwQr8uTiet4m6yDL8bxLcCpZSdVemQYlyzQIhAKK+H4lRRM25jj6gKDcPyduC5oPEuuBg4CgHQ8uJ0dPW"}]},"maintainers":[{"name":"atomist","email":"npm@atomist.com"}],"_npmUser":{"name":"atomist","email":"npm@atomist.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdm-pack-jenkins_0.1.0-master.20190910081927_1568103934370_0.5479505958128215"},"_hasShrinkwrap":false},"0.1.0-master.20190911043912":{"name":"@atomist/sdm-pack-jenkins","version":"0.1.0-master.20190911043912","description":"Extension Pack for an Atomist SDM to integrate with Jenkins","author":{"name":"Atomist","email":"support@atomist.com","url":"https://atomist.com/"},"license":"Apache-2.0","homepage":"https://github.com/atomist/sdm-pack-jenkins#readme","repository":{"type":"git","url":"git+https://github.com/atomist/sdm-pack-jenkins.git"},"bugs":{"url":"https://github.com/atomist/sdm-pack-jenkins/issues"},"keywords":["atomist","automation","pack","sdm","jenkins"],"main":"./index.js","types":"./index.d.ts","dependencies":{"@atomist/slack-messages":"^1.1.1","jenkins":"^0.25.0","lodash":"^4.17.15"},"peerDependencies":{"@atomist/automation-client":"^1.7.0","@atomist/sdm":"^1.7.0","@atomist/sdm-core":"^1.7.0"},"devDependencies":{"@atomist/automation-client":"^1.7.0","@atomist/sdm":"^1.7.0","@atomist/sdm-core":"^1.7.0","@types/mocha":"^5.2.7","@types/power-assert":"^1.5.0","espower-typescript":"^9.0.2","mocha":"^6.1.4","npm-run-all":"^4.1.5","power-assert":"^1.6.1","rimraf":"^2.6.3","supervisor":"^0.12.0","ts-node":"^8.3.0","tslint":"^5.19.0","typedoc":"^0.15.0","typescript":"^3.6.2"},"directories":{"test":"test"},"scripts":{"autotest":"supervisor --watch index.ts,lib,test --extensions ts --no-restart-on exit --quiet --exec npm -- test","build":"run-s compile test lint doc","clean":"run-p clean:compile clean:test clean:doc clean:run","clean:compile":"rimraf git-info.json \"index.{d.ts,js{,.map}}\" \"{lib,test}/**/*.{d.ts,js{,.map}}\" lib/typings/types.ts","clean:dist":"run-s clean clean:npm","clean:doc":"rimraf doc","clean:npm":"rimraf node_modules","clean:run":"rimraf *-v8.log profile.txt log","clean:test":"rimraf .nyc_output coverage","compile":"run-s gql:gen compile:ts","compile:ts":"tsc --project .","doc":"typedoc --mode modules --excludeExternals --ignoreCompilerErrors --exclude \"**/*.d.ts\" --out doc index.ts lib","gql:gen":"atm-gql-gen","lint":"tslint --config tslint.json --format verbose --project .","lint:fix":"npm run lint -- --fix","test":"mocha --require espower-typescript/guess \"test/**/*.test.ts\"","test:one":"mocha --require espower-typescript/guess \"test/**/${TEST:-*.test.ts}\"","typedoc":"npm run doc"},"engines":{"node":">=8.1.0","npm":">=5.0.0"},"readme":"# @atomist/sdm-pack-jenkins\n\n[![atomist sdm goals](https://badge.atomist.com/T29E48P34/atomist/sdm-pack-jenkins/2d680bec-366f-4818-a427-cc8b62280097)](https://app.atomist.com/workspace/T29E48P34)\n[![npm version](https://img.shields.io/npm/v/@atomist/sdm-pack-jenkins.svg)](https://www.npmjs.com/package/@atomist/sdm-pack-jenkins)\n\nAn extension Pack for an Atomist SDM to integrate with Jenkins for \nconverging Job definitions and triggering jobs/build/pipelines as part\nof an Atomist SDM goal set.\n\nThe following code sample shows the `Jenkins` goal being used in a simple \nSDM from our [samples](https://github.com/atomist/samples/blob/master/lib/sdm/jenkinsJob.ts):\n\n<!-- atomist:code-snippet:start=lib/sdm/jenkinsJob.ts#sdm -->\n```typescript\n/**\n * Main entry point into the SDM\n */\nexport const configuration = configure(async () => {\n\n    // The Jenkins goal needs access to the Jenkins master which\n    // can be configured below\n    const options: Pick<JenkinsRegistration, \"server\"> = {\n        server: {\n            url: process.env.JENKINS_URL || \"http://127.0.0.1:8080\",\n            user: process.env.JENKINS_USER || \"admin\",\n            password: process.env.JENKINS_PASSWORD || \"123456\",\n        },\n    };\n\n    // Jenkins goal that runs a job named <repo_name>-build which will be\n    // created or updated with a job definition returned by the mavenPipeline\n    // function\n    const build = jenkins(\"build\", {\n        ...options,\n        job: async gi => process.env.JENKINS_JOB || `${gi.goalEvent.repo.name}-build`,\n        definition: !process.env.JENKINS_JOB ? async gi => mavenPipeline(gi) : undefined,\n    });\n\n    // Single push rule that runs the build goal when the push is material and the project\n    // has a pom.xml file\n    return {\n        \"ci/cd\": {\n            test: [\n                hasFile(\"pom.xml\"),\n                isMaterialChange({\n                    extensions: [\"java\", \"properties\", \"yaml\"],\n                    files: [\"pom.xml\"],\n                })],\n            goals: [\n                build,\n            ],\n        },\n    };\n}, { name: \"jenkins\" });\n\n/**\n * Load the job definition from a local XML template\n */\nasync function mavenPipeline(gi: GoalInvocation): Promise<string> {\n    const template = (await fs.readFile(path.join(__dirname, \"maven.pipeline.xml\"))).toString();\n    const hb = hbx.compile(template);\n    return hb({ gi });\n}\n```\n<!-- atomist:docs-sdm:codeSnippetInline: Snippet 'sdm' found in https://raw.githubusercontent.com/atomist/samples/master/lib/sdm/jenkinsJob.ts -->\n<div class=\"sample-code\"><a href=\"https://github.com/atomist/samples/tree/master/lib/sdm/jenkinsJob.ts#L45-L93\" target=\"_blank\">Source</a></div>\n<!-- atomist:code-snippet:end -->\n\nSoftware delivery machines enable you to control your delivery process\nin code.  Think of it as an API for your software delivery.  See the\n[Atomist documentation][atomist-doc] for more information on the\nconcept of a software delivery machine and how to create and develop\nan SDM.\n\n[atomist-doc]: https://docs.atomist.com/ (Atomist Documentation)\n\n## Getting started\n\nSee the [Developer Quick Start][atomist-quick] to jump straight to\ncreating an SDM.\n\n[atomist-quick]: https://docs.atomist.com/quick-start/ (Atomist - Developer Quick Start)\n\n## Contributing\n\nContributions to this project from community members are encouraged\nand appreciated. Please review the [Contributing\nGuidelines](CONTRIBUTING.md) for more information. Also see the\n[Development](#development) section in this document.\n\n## Code of conduct\n\nThis project is governed by the [Code of\nConduct](CODE_OF_CONDUCT.md). You are expected to act in accordance\nwith this code by participating. Please report any unacceptable\nbehavior to code-of-conduct@atomist.com.\n\n## Documentation\n\nPlease see [docs.atomist.com][atomist-doc] for\n[developer][atomist-doc-sdm] documentation.\n\n[atomist-doc-sdm]: https://docs.atomist.com/developer/sdm/ (Atomist Documentation - SDM Developer)\n\n## Connect\n\nFollow [@atomist][atomist-twitter] and [The Composition][atomist-blog]\nblog related to SDM.\n\n[atomist-twitter]: https://twitter.com/atomist (Atomist on Twitter)\n[atomist-blog]: https://the-composition.com/ (The Composition - The Official Atomist Blog)\n\n## Support\n\nGeneral support questions should be discussed in the `#support`\nchannel in the [Atomist community Slack workspace][slack].\n\nIf you find a problem, please create an [issue][].\n\n[issue]: https://github.com/atomist-seeds/sdm-pack/issues\n\n## Development\n\nYou will need to install [Node.js][node] to build and test this\nproject.\n\n[node]: https://nodejs.org/ (Node.js)\n\n### Build and test\n\nInstall dependencies.\n\n```\n$ npm install\n```\n\nUse the `build` package script to compile, test, lint, and build the\ndocumentation.\n\n```\n$ npm run build\n```\n\n### Release\n\nReleases are handled via the [Atomist SDM][atomist-sdm].  Just press\nthe 'Approve' button in the Atomist dashboard or Slack.\n\n[atomist-sdm]: https://github.com/atomist/atomist-sdm (Atomist Software Delivery Machine)\n\n---\n\nCreated by [Atomist][atomist].\nNeed Help?  [Join our Slack workspace][slack].\n\n[atomist]: https://atomist.com/ (Atomist - How Teams Deliver Software)\n[slack]: https://join.atomist.com/ (Atomist Community Slack)\n","readmeFilename":"README.md","gitHead":"cbd1dd0c9b1acd048677697cc0706dc3007dc6ad","_id":"@atomist/sdm-pack-jenkins@0.1.0-master.20190911043912","_nodeVersion":"12.8.0","_npmVersion":"6.10.2","dist":{"integrity":"sha512-5RJO5e3X7CpKs3kI+8pUjL7qGVmEtokO+Cr+fonU2TzjaPxfQ7GI2rnIH246q915DRp1TRsDz86qDO87ct3VNA==","shasum":"5941aa93126e6609ed7b2359ba6d314576a3c157","tarball":"https://registry.npmjs.org/@atomist/sdm-pack-jenkins/-/sdm-pack-jenkins-0.1.0-master.20190911043912.tgz","fileCount":14,"unpackedSize":157787,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdeHs8CRA9TVsSAnZWagAAd/YP/1liW7VTvbkhVq1w/oqH\n8LdCTd534i7/b98dAQx/mIHkc8DB5mZL/Yx62+V3dcKx01y6aksm3Sc9yZB4\nZzWS929rCVxLzjHjgwHTRRR9NSqQ7Rg2k0mxyyLVpsgoWnyCDrFcSK0nqdMS\nn1NlCyZyha/HzpBXmcr4g+eCv8woo2JAP4O0vPGc8He/9DEnRWKJoMewblKT\nLd033ovB7j6t4Ptc3c4m/84V/uLtMUfkTWq9zeFNMKMBlIVaj2APz+1Y7t1d\nkyzuSCjBpAdxLU/9EHM4lXwvGY2C3qsAsPlhWunDyqHrRV13qWkxIeB0AUri\nflcRI1HIX7gbgNnUIGAKDsdlG/YtJD9rNM7kFdZynIIeI3pkoi20zqDtov5g\n56FQ8r6OJ2FyFEWzhNUQh6Ej4urdi2W7aATQ/KcNkje5FjKyzSfwqMlQ9Nr5\n9DkQA0ZzNRqkV7VDe2ZZssOXwgjt6x4+p54QggozW9m4s2Ku4/F0Qt76jsMY\nzXraNuZsVoM5QmGERnHj2atzw/1DpRiG+X8IBmIMVHiAYkp3zYtU9e2ir0TO\nC7CDYPXcBC87i9OVFECgR7St7YxcTYQWvl2jUvrdGCa6GVgcD577rAzSZ3Au\nlRAsOaqiS4zYdDttskNNjdJ6XSqDIs4wdyMihjDWXs3APR3jWLY/J53HLIK7\nEdbG\r\n=jDRB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD9jhM0tolwjmpQ7z+lsik3fYrlR2kKY3kszukgr/PH4wIgfwG2bWKULreUOecVEgjPHcwajtIDP8VuIIw/9AJe7GQ="}]},"maintainers":[{"name":"atomist","email":"npm@atomist.com"}],"_npmUser":{"name":"atomist","email":"npm@atomist.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdm-pack-jenkins_0.1.0-master.20190911043912_1568176955543_0.3775224993341919"},"_hasShrinkwrap":false},"0.1.0-master.20190911043949":{"name":"@atomist/sdm-pack-jenkins","version":"0.1.0-master.20190911043949","description":"Extension Pack for an Atomist SDM to integrate with Jenkins","author":{"name":"Atomist","email":"support@atomist.com","url":"https://atomist.com/"},"license":"Apache-2.0","homepage":"https://github.com/atomist/sdm-pack-jenkins#readme","repository":{"type":"git","url":"git+https://github.com/atomist/sdm-pack-jenkins.git"},"bugs":{"url":"https://github.com/atomist/sdm-pack-jenkins/issues"},"keywords":["atomist","automation","pack","sdm","jenkins"],"main":"./index.js","types":"./index.d.ts","dependencies":{"@atomist/slack-messages":"^1.1.1","jenkins":"^0.25.0","lodash":"^4.17.15"},"peerDependencies":{"@atomist/automation-client":"^1.7.0","@atomist/sdm":"^1.7.0","@atomist/sdm-core":"^1.7.0"},"devDependencies":{"@atomist/automation-client":"^1.7.0","@atomist/sdm":"^1.7.0","@atomist/sdm-core":"^1.7.0","@types/mocha":"^5.2.7","@types/power-assert":"^1.5.0","espower-typescript":"^9.0.2","mocha":"^6.1.4","npm-run-all":"^4.1.5","power-assert":"^1.6.1","rimraf":"^2.6.3","supervisor":"^0.12.0","ts-node":"^8.3.0","tslint":"^5.19.0","typedoc":"^0.15.0","typescript":"^3.6.2"},"directories":{"test":"test"},"scripts":{"autotest":"supervisor --watch index.ts,lib,test --extensions ts --no-restart-on exit --quiet --exec npm -- test","build":"run-s compile test lint doc","clean":"run-p clean:compile clean:test clean:doc clean:run","clean:compile":"rimraf git-info.json \"index.{d.ts,js{,.map}}\" \"{lib,test}/**/*.{d.ts,js{,.map}}\" lib/typings/types.ts","clean:dist":"run-s clean clean:npm","clean:doc":"rimraf doc","clean:npm":"rimraf node_modules","clean:run":"rimraf *-v8.log profile.txt log","clean:test":"rimraf .nyc_output coverage","compile":"run-s gql:gen compile:ts","compile:ts":"tsc --project .","doc":"typedoc --mode modules --excludeExternals --ignoreCompilerErrors --exclude \"**/*.d.ts\" --out doc index.ts lib","gql:gen":"atm-gql-gen","lint":"tslint --config tslint.json --format verbose --project .","lint:fix":"npm run lint -- --fix","test":"mocha --require espower-typescript/guess \"test/**/*.test.ts\"","test:one":"mocha --require espower-typescript/guess \"test/**/${TEST:-*.test.ts}\"","typedoc":"npm run doc"},"engines":{"node":">=8.1.0","npm":">=5.0.0"},"readme":"# @atomist/sdm-pack-jenkins\n\n[![atomist sdm goals](https://badge.atomist.com/T29E48P34/atomist/sdm-pack-jenkins/2d680bec-366f-4818-a427-cc8b62280097)](https://app.atomist.com/workspace/T29E48P34)\n[![npm version](https://img.shields.io/npm/v/@atomist/sdm-pack-jenkins.svg)](https://www.npmjs.com/package/@atomist/sdm-pack-jenkins)\n\nAn extension Pack for an Atomist SDM to integrate with Jenkins for \nconverging Job definitions and triggering jobs/build/pipelines as part\nof an Atomist SDM goal set.\n\nThe following code sample shows the `Jenkins` goal being used in a simple \nSDM from our [samples](https://github.com/atomist/samples/blob/master/lib/sdm/jenkinsJob.ts):\n\n<!-- atomist:code-snippet:start=lib/sdm/jenkinsJob.ts#sdm -->\n```typescript\n/**\n * Main entry point into the SDM\n */\nexport const configuration = configure(async () => {\n\n    // The Jenkins goal needs access to the Jenkins master which\n    // can be configured below\n    const options: Pick<JenkinsRegistration, \"server\"> = {\n        server: {\n            url: process.env.JENKINS_URL || \"http://127.0.0.1:8080\",\n            user: process.env.JENKINS_USER || \"admin\",\n            password: process.env.JENKINS_PASSWORD || \"123456\",\n        },\n    };\n\n    // Jenkins goal that runs a job named <repo_name>-build which will be\n    // created or updated with a job definition returned by the mavenPipeline\n    // function\n    const build = jenkins(\"build\", {\n        ...options,\n        job: async gi => process.env.JENKINS_JOB || `${gi.goalEvent.repo.name}-build`,\n        definition: !process.env.JENKINS_JOB ? async gi => mavenPipeline(gi) : undefined,\n    });\n\n    // Single push rule that runs the build goal when the push is material and the project\n    // has a pom.xml file\n    return {\n        \"ci/cd\": {\n            test: [\n                hasFile(\"pom.xml\"),\n                isMaterialChange({\n                    extensions: [\"java\", \"properties\", \"yaml\"],\n                    files: [\"pom.xml\"],\n                })],\n            goals: [\n                build,\n            ],\n        },\n    };\n}, { name: \"jenkins\" });\n\n/**\n * Load the job definition from a local XML template\n */\nasync function mavenPipeline(gi: GoalInvocation): Promise<string> {\n    const template = (await fs.readFile(path.join(__dirname, \"maven.pipeline.xml\"))).toString();\n    const hb = hbx.compile(template);\n    return hb({ gi });\n}\n```\n<!-- atomist:docs-sdm:codeSnippetInline: Snippet 'sdm' found in https://raw.githubusercontent.com/atomist/samples/master/lib/sdm/jenkinsJob.ts -->\n<div class=\"sample-code\"><a href=\"https://github.com/atomist/samples/tree/master/lib/sdm/jenkinsJob.ts#L45-L93\" target=\"_blank\">Source</a></div>\n<!-- atomist:code-snippet:end -->\n\nSoftware delivery machines enable you to control your delivery process\nin code.  Think of it as an API for your software delivery.  See the\n[Atomist documentation][atomist-doc] for more information on the\nconcept of a software delivery machine and how to create and develop\nan SDM.\n\n[atomist-doc]: https://docs.atomist.com/ (Atomist Documentation)\n\n## Getting started\n\nSee the [Developer Quick Start][atomist-quick] to jump straight to\ncreating an SDM.\n\n[atomist-quick]: https://docs.atomist.com/quick-start/ (Atomist - Developer Quick Start)\n\n## Contributing\n\nContributions to this project from community members are encouraged\nand appreciated. Please review the [Contributing\nGuidelines](CONTRIBUTING.md) for more information. Also see the\n[Development](#development) section in this document.\n\n## Code of conduct\n\nThis project is governed by the [Code of\nConduct](CODE_OF_CONDUCT.md). You are expected to act in accordance\nwith this code by participating. Please report any unacceptable\nbehavior to code-of-conduct@atomist.com.\n\n## Documentation\n\nPlease see [docs.atomist.com][atomist-doc] for\n[developer][atomist-doc-sdm] documentation.\n\n[atomist-doc-sdm]: https://docs.atomist.com/developer/sdm/ (Atomist Documentation - SDM Developer)\n\n## Connect\n\nFollow [@atomist][atomist-twitter] and [The Composition][atomist-blog]\nblog related to SDM.\n\n[atomist-twitter]: https://twitter.com/atomist (Atomist on Twitter)\n[atomist-blog]: https://the-composition.com/ (The Composition - The Official Atomist Blog)\n\n## Support\n\nGeneral support questions should be discussed in the `#support`\nchannel in the [Atomist community Slack workspace][slack].\n\nIf you find a problem, please create an [issue][].\n\n[issue]: https://github.com/atomist-seeds/sdm-pack/issues\n\n## Development\n\nYou will need to install [Node.js][node] to build and test this\nproject.\n\n[node]: https://nodejs.org/ (Node.js)\n\n### Build and test\n\nInstall dependencies.\n\n```\n$ npm install\n```\n\nUse the `build` package script to compile, test, lint, and build the\ndocumentation.\n\n```\n$ npm run build\n```\n\n### Release\n\nReleases are handled via the [Atomist SDM][atomist-sdm].  Just press\nthe 'Approve' button in the Atomist dashboard or Slack.\n\n[atomist-sdm]: https://github.com/atomist/atomist-sdm (Atomist Software Delivery Machine)\n\n---\n\nCreated by [Atomist][atomist].\nNeed Help?  [Join our Slack workspace][slack].\n\n[atomist]: https://atomist.com/ (Atomist - How Teams Deliver Software)\n[slack]: https://join.atomist.com/ (Atomist Community Slack)\n","readmeFilename":"README.md","gitHead":"d7108b6afaff9289d058aecdced64aa47eb3fcb2","_id":"@atomist/sdm-pack-jenkins@0.1.0-master.20190911043949","_nodeVersion":"12.8.0","_npmVersion":"6.10.2","dist":{"integrity":"sha512-1qHGvwCjVi2t/ckq2NWV6Exhu3eg1alcR5imdEa0WQEshQL9qvBRACMCcsU9y9JQ+GybEM/Nvtn2HtSR3RES0A==","shasum":"66219a192fe7c27b91fa43d49771ed8e54aef161","tarball":"https://registry.npmjs.org/@atomist/sdm-pack-jenkins/-/sdm-pack-jenkins-0.1.0-master.20190911043949.tgz","fileCount":14,"unpackedSize":157679,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdeHwECRA9TVsSAnZWagAAjHcQAJbwViBYCw6zxRZabkq3\nsAoDG4hSruC/xHCZk9mzqEQwa414vP91suAwsyk7aMwYecZY4Xnt56sImcE1\ntnVWHyAo5PF2FFf4zOM7wh36yz9XpN/zcl5Gind5Nq/+QalsDb8/1ng9xCuk\nKLsPF50PKyB7xI/gqnzWg1mft90AmmN/1z1T1dXR0pWCqZME6lBUWydB3eRn\nRwBDk6gTY6z76SV7ikgMaI96ASy7MG/hmk5Wk3C/XitIUjCufAHMyHPZUFWp\nF5Xf3dE2YoOkROmXh8dBbMpUQlPUIpCmtL8OcNfEJIuE6sm/1CO1g+lNldGL\nTb+6a+WxO5GOISbMUqfE4ZWh3LQzlijI+1wObEMaMDIAEYF0wAFJd3WwJzh2\nHgvqDXXOC8v/Qnj6YmeBMzvf8AfUow3pdWmsj/vQ5LXBHJ30w3Xv0gWlBGTk\n7EJqFq7rDCDG6ODNYiBMyCBVemTAE/fvGmYLrVZzd9Th9U9ix8GF7uFSNNng\nKAuugYat5ZHz/mWtnGz6N7ms3mc3BiFPupYdVViUB6lcMdorsUPx+jf/Ore6\n9AUv6YDgAQoJ/I7/YddgwnJL6RqwF7/HPTyktIkAACc8zyEPhVrdrNRs4j45\n6m/heRTch26kzWREMYgLI9Ol85J3gKITwVKWwQtMdxBxiUXAHFH610CkuXol\nT+UG\r\n=FnUA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHUqFTY8KuGlxsaWpCz6UKbSJ9DvTgJdT6cwAVXett3HAiEA47tLtPagqks8YGWuK2NXLqxc7C+/gJ5mssITbtKy8yk="}]},"maintainers":[{"name":"atomist","email":"npm@atomist.com"}],"_npmUser":{"name":"atomist","email":"npm@atomist.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdm-pack-jenkins_0.1.0-master.20190911043949_1568177155741_0.45585645767513583"},"_hasShrinkwrap":false},"0.1.0-master.20190911044642":{"name":"@atomist/sdm-pack-jenkins","version":"0.1.0-master.20190911044642","description":"Extension Pack for an Atomist SDM to integrate with Jenkins","author":{"name":"Atomist","email":"support@atomist.com","url":"https://atomist.com/"},"license":"Apache-2.0","homepage":"https://github.com/atomist/sdm-pack-jenkins#readme","repository":{"type":"git","url":"git+https://github.com/atomist/sdm-pack-jenkins.git"},"bugs":{"url":"https://github.com/atomist/sdm-pack-jenkins/issues"},"keywords":["atomist","automation","pack","sdm","jenkins"],"main":"./index.js","types":"./index.d.ts","dependencies":{"@atomist/slack-messages":"^1.1.1","jenkins":"^0.25.0","lodash":"^4.17.15"},"peerDependencies":{"@atomist/automation-client":"^1.7.0","@atomist/sdm":"^1.7.0","@atomist/sdm-core":"^1.7.0"},"devDependencies":{"@atomist/automation-client":"^1.7.0","@atomist/sdm":"^1.7.0","@atomist/sdm-core":"^1.7.0","@types/mocha":"^5.2.7","@types/power-assert":"^1.5.0","espower-typescript":"^9.0.2","mocha":"^6.1.4","npm-run-all":"^4.1.5","power-assert":"^1.6.1","rimraf":"^2.6.3","supervisor":"^0.12.0","ts-node":"^8.3.0","tslint":"^5.19.0","typedoc":"^0.15.0","typescript":"^3.6.2"},"directories":{"test":"test"},"scripts":{"autotest":"supervisor --watch index.ts,lib,test --extensions ts --no-restart-on exit --quiet --exec npm -- test","build":"run-s compile test lint doc","clean":"run-p clean:compile clean:test clean:doc clean:run","clean:compile":"rimraf git-info.json \"index.{d.ts,js{,.map}}\" \"{lib,test}/**/*.{d.ts,js{,.map}}\" lib/typings/types.ts","clean:dist":"run-s clean clean:npm","clean:doc":"rimraf doc","clean:npm":"rimraf node_modules","clean:run":"rimraf *-v8.log profile.txt log","clean:test":"rimraf .nyc_output coverage","compile":"run-s gql:gen compile:ts","compile:ts":"tsc --project .","doc":"typedoc --mode modules --excludeExternals --ignoreCompilerErrors --exclude \"**/*.d.ts\" --out doc index.ts lib","gql:gen":"atm-gql-gen","lint":"tslint --config tslint.json --format verbose --project .","lint:fix":"npm run lint -- --fix","test":"mocha --require espower-typescript/guess \"test/**/*.test.ts\"","test:one":"mocha --require espower-typescript/guess \"test/**/${TEST:-*.test.ts}\"","typedoc":"npm run doc"},"engines":{"node":">=8.1.0","npm":">=5.0.0"},"readme":"# @atomist/sdm-pack-jenkins\n\n[![atomist sdm goals](https://badge.atomist.com/T29E48P34/atomist/sdm-pack-jenkins/2d680bec-366f-4818-a427-cc8b62280097)](https://app.atomist.com/workspace/T29E48P34)\n[![npm version](https://img.shields.io/npm/v/@atomist/sdm-pack-jenkins.svg)](https://www.npmjs.com/package/@atomist/sdm-pack-jenkins)\n\nAn extension Pack for an Atomist SDM to integrate with Jenkins for \nconverging Job definitions and triggering jobs/build/pipelines as part\nof an Atomist SDM goal set.\n\nThe following code sample shows the `Jenkins` goal being used in a simple \nSDM from our [samples](https://github.com/atomist/samples/blob/master/lib/sdm/jenkinsJob.ts):\n\n<!-- atomist:code-snippet:start=lib/sdm/jenkinsJob.ts#sdm -->\n```typescript\n/**\n * Main entry point into the SDM\n */\nexport const configuration = configure(async () => {\n\n    // The Jenkins goal needs access to the Jenkins master which\n    // can be configured below\n    const options: Pick<JenkinsRegistration, \"server\"> = {\n        server: {\n            url: process.env.JENKINS_URL || \"http://127.0.0.1:8080\",\n            user: process.env.JENKINS_USER || \"admin\",\n            password: process.env.JENKINS_PASSWORD || \"123456\",\n        },\n    };\n\n    // Jenkins goal that runs a job named <repo_name>-build which will be\n    // created or updated with a job definition returned by the mavenPipeline\n    // function\n    const build = jenkins(\"build\", {\n        ...options,\n        job: async gi => process.env.JENKINS_JOB || `${gi.goalEvent.repo.name}-build`,\n        definition: !process.env.JENKINS_JOB ? async gi => mavenPipeline(gi) : undefined,\n    });\n\n    // Single push rule that runs the build goal when the push is material and the project\n    // has a pom.xml file\n    return {\n        \"ci/cd\": {\n            test: [\n                hasFile(\"pom.xml\"),\n                isMaterialChange({\n                    extensions: [\"java\", \"properties\", \"yaml\"],\n                    files: [\"pom.xml\"],\n                })],\n            goals: [\n                build,\n            ],\n        },\n    };\n}, { name: \"jenkins\" });\n\n/**\n * Load the job definition from a local XML template\n */\nasync function mavenPipeline(gi: GoalInvocation): Promise<string> {\n    const template = (await fs.readFile(path.join(__dirname, \"maven.pipeline.xml\"))).toString();\n    const hb = hbx.compile(template);\n    return hb({ gi });\n}\n```\n<!-- atomist:docs-sdm:codeSnippetInline: Snippet 'sdm' found in https://raw.githubusercontent.com/atomist/samples/master/lib/sdm/jenkinsJob.ts -->\n<div class=\"sample-code\"><a href=\"https://github.com/atomist/samples/tree/master/lib/sdm/jenkinsJob.ts#L45-L93\" target=\"_blank\">Source</a></div>\n<!-- atomist:code-snippet:end -->\n\nSoftware delivery machines enable you to control your delivery process\nin code.  Think of it as an API for your software delivery.  See the\n[Atomist documentation][atomist-doc] for more information on the\nconcept of a software delivery machine and how to create and develop\nan SDM.\n\n[atomist-doc]: https://docs.atomist.com/ (Atomist Documentation)\n\n## Getting started\n\nSee the [Developer Quick Start][atomist-quick] to jump straight to\ncreating an SDM.\n\n[atomist-quick]: https://docs.atomist.com/quick-start/ (Atomist - Developer Quick Start)\n\n## Contributing\n\nContributions to this project from community members are encouraged\nand appreciated. Please review the [Contributing\nGuidelines](CONTRIBUTING.md) for more information. Also see the\n[Development](#development) section in this document.\n\n## Code of conduct\n\nThis project is governed by the [Code of\nConduct](CODE_OF_CONDUCT.md). You are expected to act in accordance\nwith this code by participating. Please report any unacceptable\nbehavior to code-of-conduct@atomist.com.\n\n## Documentation\n\nPlease see [docs.atomist.com][atomist-doc] for\n[developer][atomist-doc-sdm] documentation.\n\n[atomist-doc-sdm]: https://docs.atomist.com/developer/sdm/ (Atomist Documentation - SDM Developer)\n\n## Connect\n\nFollow [@atomist][atomist-twitter] and [The Composition][atomist-blog]\nblog related to SDM.\n\n[atomist-twitter]: https://twitter.com/atomist (Atomist on Twitter)\n[atomist-blog]: https://the-composition.com/ (The Composition - The Official Atomist Blog)\n\n## Support\n\nGeneral support questions should be discussed in the `#support`\nchannel in the [Atomist community Slack workspace][slack].\n\nIf you find a problem, please create an [issue][].\n\n[issue]: https://github.com/atomist-seeds/sdm-pack/issues\n\n## Development\n\nYou will need to install [Node.js][node] to build and test this\nproject.\n\n[node]: https://nodejs.org/ (Node.js)\n\n### Build and test\n\nInstall dependencies.\n\n```\n$ npm install\n```\n\nUse the `build` package script to compile, test, lint, and build the\ndocumentation.\n\n```\n$ npm run build\n```\n\n### Release\n\nReleases are handled via the [Atomist SDM][atomist-sdm].  Just press\nthe 'Approve' button in the Atomist dashboard or Slack.\n\n[atomist-sdm]: https://github.com/atomist/atomist-sdm (Atomist Software Delivery Machine)\n\n---\n\nCreated by [Atomist][atomist].\nNeed Help?  [Join our Slack workspace][slack].\n\n[atomist]: https://atomist.com/ (Atomist - How Teams Deliver Software)\n[slack]: https://join.atomist.com/ (Atomist Community Slack)\n","readmeFilename":"README.md","gitHead":"d7108b6afaff9289d058aecdced64aa47eb3fcb2","_id":"@atomist/sdm-pack-jenkins@0.1.0-master.20190911044642","_nodeVersion":"12.8.0","_npmVersion":"6.10.2","dist":{"integrity":"sha512-qLzGJeWG0YaS7u9CO12nwmoEY/6JS9XO2EcZ8E7+/cAXBNnncSQdVRHtGfHiuNvAP4Lf0z/axhjJaAWD52Rayw==","shasum":"700aaae0d14861c2888713bcf85e2c022c95f059","tarball":"https://registry.npmjs.org/@atomist/sdm-pack-jenkins/-/sdm-pack-jenkins-0.1.0-master.20190911044642.tgz","fileCount":14,"unpackedSize":157679,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdeHzACRA9TVsSAnZWagAAySMP/2/SD7WNVDqKdK5khsyQ\nXOzauZg5QZFh3s+6eL3LEMWiViPvTadIEr7FRvVnr7CpqYJFVUDj/d1kS6dN\n9v1OM9yUJ+INUnIMbWsdfU1A0zPomzE87I5Bp03JhLSpFcEsmAdF3dl4X+ri\nDLV0pCR6VU+cyQ4zy5/k14X9HNntBXoJ8NV0kuzD4t8F/rn9iFSUY9pW+DW4\n7SgYMVf9cqQF3UJ3u8QC0UnO6G6GXgCLOyUSMSNRhk4RHF2txBEqof5RK8Ft\nrKJwrQHiVjZqhwpHs23jE2blHcAbuaFS4oIr4/gUkmYWj1YRbS21Wg4bOZF3\nlervPTEM73vbEDmU+TAoRPrANf3Jwqijd5hoX6wtngVUjQMROkQUNivTGN3j\ngL5/UIQIhfFxHJCNLNLEu4J5GYxLJGVyBZl1cgdnQ0H60TY5nb3vA1dwPxwY\nAJT9N6tfz6LFNi7rFdsdrvVfEA/+CYwW1dce4UjVxvEX4xfHjT9mfOC0DRAd\nX/VWH0sXdMJDed5kSmYfGhbCJnyWC/nB0iCQ3M8G1Zr4VpwRaaJjfXNLq8Zn\nKknh0lSzfFcGeYar5d+jh2zv0LeiH7QPkj+NJQWUuNKtF0m9SDZqu86aLQdt\n7MpSGROZ+y4nU0C4pBKWEBc2lbnpgUDSt9z5KiIOh3CgVu7nYM62MaMJkSVg\nTVk0\r\n=kAT8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC3EIKisQEuNlsbu8FFLIp1ZIFWNxomJ5Gy4Hb9tNMo1AiEAhkdroG0eSooqqQhznmkCpw5Oq8qnNQ6ytq1XGY4gCxc="}]},"maintainers":[{"name":"atomist","email":"npm@atomist.com"}],"_npmUser":{"name":"atomist","email":"npm@atomist.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdm-pack-jenkins_0.1.0-master.20190911044642_1568177344248_0.10371459596375643"},"_hasShrinkwrap":false},"0.1.0-atomist.a260p86nh.typescript-version.master.20190915195903":{"name":"@atomist/sdm-pack-jenkins","version":"0.1.0-atomist.a260p86nh.typescript-version.master.20190915195903","description":"Extension Pack for an Atomist SDM to integrate with Jenkins","author":{"name":"Atomist","email":"support@atomist.com","url":"https://atomist.com/"},"license":"Apache-2.0","homepage":"https://github.com/atomist/sdm-pack-jenkins#readme","repository":{"type":"git","url":"git+https://github.com/atomist/sdm-pack-jenkins.git"},"bugs":{"url":"https://github.com/atomist/sdm-pack-jenkins/issues"},"keywords":["atomist","automation","pack","sdm","jenkins"],"main":"./index.js","types":"./index.d.ts","dependencies":{"@atomist/slack-messages":"^1.1.1","jenkins":"^0.25.0","lodash":"^4.17.15"},"peerDependencies":{"@atomist/automation-client":"^1.7.0","@atomist/sdm":"^1.7.0","@atomist/sdm-core":"^1.7.0"},"devDependencies":{"@atomist/automation-client":"^1.7.0","@atomist/sdm":"^1.7.0","@atomist/sdm-core":"^1.7.0","@types/mocha":"^5.2.7","@types/power-assert":"^1.5.0","espower-typescript":"^9.0.2","mocha":"^6.1.4","npm-run-all":"^4.1.5","power-assert":"^1.6.1","rimraf":"^2.6.3","supervisor":"^0.12.0","ts-node":"^8.3.0","tslint":"^5.19.0","typedoc":"^0.15.0","typescript":"^3.6.3"},"directories":{"test":"test"},"scripts":{"autotest":"supervisor --watch index.ts,lib,test --extensions ts --no-restart-on exit --quiet --exec npm -- test","build":"run-s compile test lint doc","clean":"run-p clean:compile clean:test clean:doc clean:run","clean:compile":"rimraf git-info.json \"index.{d.ts,js{,.map}}\" \"{lib,test}/**/*.{d.ts,js{,.map}}\" lib/typings/types.ts","clean:dist":"run-s clean clean:npm","clean:doc":"rimraf doc","clean:npm":"rimraf node_modules","clean:run":"rimraf *-v8.log profile.txt log","clean:test":"rimraf .nyc_output coverage","compile":"run-s gql:gen compile:ts","compile:ts":"tsc --project .","doc":"typedoc --mode modules --excludeExternals --ignoreCompilerErrors --exclude \"**/*.d.ts\" --out doc index.ts lib","gql:gen":"atm-gql-gen","lint":"tslint --config tslint.json --format verbose --project .","lint:fix":"npm run lint -- --fix","test":"mocha --require espower-typescript/guess \"test/**/*.test.ts\"","test:one":"mocha --require espower-typescript/guess \"test/**/${TEST:-*.test.ts}\"","typedoc":"npm run doc"},"engines":{"node":">=8.1.0","npm":">=5.0.0"},"readme":"# @atomist/sdm-pack-jenkins\n\n[![atomist sdm goals](https://badge.atomist.com/T29E48P34/atomist/sdm-pack-jenkins/2d680bec-366f-4818-a427-cc8b62280097)](https://app.atomist.com/workspace/T29E48P34)\n[![npm version](https://img.shields.io/npm/v/@atomist/sdm-pack-jenkins.svg)](https://www.npmjs.com/package/@atomist/sdm-pack-jenkins)\n\nAn extension Pack for an Atomist SDM to integrate with Jenkins for \nconverging Job definitions and triggering jobs/build/pipelines as part\nof an Atomist SDM goal set.\n\nThe following code sample shows the `Jenkins` goal being used in a simple \nSDM from our [samples](https://github.com/atomist/samples/blob/master/lib/sdm/jenkinsJob.ts):\n\n<!-- atomist:code-snippet:start=lib/sdm/jenkinsJob.ts#sdm -->\n```typescript\n/**\n * Main entry point into the SDM\n */\nexport const configuration = configure(async () => {\n\n    // The Jenkins goal needs access to the Jenkins master which\n    // can be configured below\n    const options: Pick<JenkinsRegistration, \"server\"> = {\n        server: {\n            url: process.env.JENKINS_URL || \"http://127.0.0.1:8080\",\n            user: process.env.JENKINS_USER || \"admin\",\n            password: process.env.JENKINS_PASSWORD || \"123456\",\n        },\n    };\n\n    // Jenkins goal that runs a job named <repo_name>-build which will be\n    // created or updated with a job definition returned by the mavenPipeline\n    // function\n    const build = jenkins(\"build\", {\n        ...options,\n        job: async gi => process.env.JENKINS_JOB || `${gi.goalEvent.repo.name}-build`,\n        definition: !process.env.JENKINS_JOB ? async gi => mavenPipeline(gi) : undefined,\n    });\n\n    // Single push rule that runs the build goal when the push is material and the project\n    // has a pom.xml file\n    return {\n        \"ci/cd\": {\n            test: [\n                hasFile(\"pom.xml\"),\n                isMaterialChange({\n                    extensions: [\"java\", \"properties\", \"yaml\"],\n                    files: [\"pom.xml\"],\n                })],\n            goals: [\n                build,\n            ],\n        },\n    };\n}, { name: \"jenkins\" });\n\n/**\n * Load the job definition from a local XML template\n */\nasync function mavenPipeline(gi: GoalInvocation): Promise<string> {\n    const template = (await fs.readFile(path.join(__dirname, \"maven.pipeline.xml\"))).toString();\n    const hb = hbx.compile(template);\n    return hb({ gi });\n}\n```\n<!-- atomist:docs-sdm:codeSnippetInline: Snippet 'sdm' found in https://raw.githubusercontent.com/atomist/samples/master/lib/sdm/jenkinsJob.ts -->\n<div class=\"sample-code\"><a href=\"https://github.com/atomist/samples/tree/master/lib/sdm/jenkinsJob.ts#L45-L93\" target=\"_blank\">Source</a></div>\n<!-- atomist:code-snippet:end -->\n\nSoftware delivery machines enable you to control your delivery process\nin code.  Think of it as an API for your software delivery.  See the\n[Atomist documentation][atomist-doc] for more information on the\nconcept of a software delivery machine and how to create and develop\nan SDM.\n\n[atomist-doc]: https://docs.atomist.com/ (Atomist Documentation)\n\n## Getting started\n\nSee the [Developer Quick Start][atomist-quick] to jump straight to\ncreating an SDM.\n\n[atomist-quick]: https://docs.atomist.com/quick-start/ (Atomist - Developer Quick Start)\n\n## Contributing\n\nContributions to this project from community members are encouraged\nand appreciated. Please review the [Contributing\nGuidelines](CONTRIBUTING.md) for more information. Also see the\n[Development](#development) section in this document.\n\n## Code of conduct\n\nThis project is governed by the [Code of\nConduct](CODE_OF_CONDUCT.md). You are expected to act in accordance\nwith this code by participating. Please report any unacceptable\nbehavior to code-of-conduct@atomist.com.\n\n## Documentation\n\nPlease see [docs.atomist.com][atomist-doc] for\n[developer][atomist-doc-sdm] documentation.\n\n[atomist-doc-sdm]: https://docs.atomist.com/developer/sdm/ (Atomist Documentation - SDM Developer)\n\n## Connect\n\nFollow [@atomist][atomist-twitter] and [The Composition][atomist-blog]\nblog related to SDM.\n\n[atomist-twitter]: https://twitter.com/atomist (Atomist on Twitter)\n[atomist-blog]: https://the-composition.com/ (The Composition - The Official Atomist Blog)\n\n## Support\n\nGeneral support questions should be discussed in the `#support`\nchannel in the [Atomist community Slack workspace][slack].\n\nIf you find a problem, please create an [issue][].\n\n[issue]: https://github.com/atomist-seeds/sdm-pack/issues\n\n## Development\n\nYou will need to install [Node.js][node] to build and test this\nproject.\n\n[node]: https://nodejs.org/ (Node.js)\n\n### Build and test\n\nInstall dependencies.\n\n```\n$ npm install\n```\n\nUse the `build` package script to compile, test, lint, and build the\ndocumentation.\n\n```\n$ npm run build\n```\n\n### Release\n\nReleases are handled via the [Atomist SDM][atomist-sdm].  Just press\nthe 'Approve' button in the Atomist dashboard or Slack.\n\n[atomist-sdm]: https://github.com/atomist/atomist-sdm (Atomist Software Delivery Machine)\n\n---\n\nCreated by [Atomist][atomist].\nNeed Help?  [Join our Slack workspace][slack].\n\n[atomist]: https://atomist.com/ (Atomist - How Teams Deliver Software)\n[slack]: https://join.atomist.com/ (Atomist Community Slack)\n","readmeFilename":"README.md","gitHead":"ebfff917141446b550ff2a5236d1548dc6261760","_id":"@atomist/sdm-pack-jenkins@0.1.0-atomist.a260p86nh.typescript-version.master.20190915195903","_nodeVersion":"12.8.0","_npmVersion":"6.10.2","dist":{"integrity":"sha512-DpJowyS9n03iPQyBkchj9cN8IaYr77gU0c3O6Xt1swTdzn+AaAFU7OhQv2ytg+y1Yk640RX9TmFu5q+WXTo98Q==","shasum":"994fb092128c7172a556e85626fdc7856b7fa15a","tarball":"https://registry.npmjs.org/@atomist/sdm-pack-jenkins/-/sdm-pack-jenkins-0.1.0-atomist.a260p86nh.typescript-version.master.20190915195903.tgz","fileCount":14,"unpackedSize":157716,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdfpinCRA9TVsSAnZWagAApS4P/jA854gtzCuhCdgTA0O/\nM0LpLElEEGlVWMarNxg5TO5YHmuanYDjQeT0Ey49Twbd+HFmfW1F8O3hIznM\ngvwDaiSan2nhaQdry1i/L9/eBwWaUbaZkVECkAnoVX3E42c32+Cy/7ES4voH\nRWeHp3XexcSolo0WFhsIbOroMV0eF+eW3aVo/WY7yR3CnbiuztJCTSOu3IMj\nE7mDa2KFDMnQVht/vKtCSo7KtHwlH2x0KLK/tFVmIcq1h2hbyFj0+9SHucar\ntiqfd4OvBs1EV7UbCNyqZryi1+nUkKDC2txyFaDn7RDokZ2WH9TrfEunRffa\nr56hS21K/LFWYSco5LxqbXX5rk3m3Bi8A4pXsCW57jj5a7OBLO7l8qstR8SM\nLNQAUPE5UiA+T02/u7sTrNRIez4SHtPAt5OswXb2myxb08cLpXRPzxWjFr0V\nmeCJ9ZobL6Bc0LrpuB24SHk0mYWIQeNRnDYIQ+TJzvt18PP+ow27RQWqF5gM\nPFxDFa3c6C36XSgu7UV68AJLC8C9RVzjhbnc1IpFYsS4COITegjW+/SAMxnw\npKobp1BAlzXAePgKBHn6+D/8pFLqTPQnsC961dgpKGPypYY0mmnjCFQjYIGW\n524o/GHgUGxqTKZwrEPLRrnuSml2Q0jQVM20L2x723Zbjep20YCyLYVTWNxW\nFAzJ\r\n=qDt6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCZGS/zZE/uvHwHTt+L+AASLK4PvvKjGLX68D+vTEkqjwIgZGIIidzRx9GhOKboYmWEy5K4owBP0G6XZ7okgaEMJhc="}]},"maintainers":[{"name":"atomist","email":"npm@atomist.com"}],"_npmUser":{"name":"atomist","email":"npm@atomist.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdm-pack-jenkins_0.1.0-atomist.a260p86nh.typescript-version.master.20190915195903_1568577702862_0.04311394081831277"},"_hasShrinkwrap":false},"0.1.0-master.20190916023824":{"name":"@atomist/sdm-pack-jenkins","version":"0.1.0-master.20190916023824","description":"Extension Pack for an Atomist SDM to integrate with Jenkins","author":{"name":"Atomist","email":"support@atomist.com","url":"https://atomist.com/"},"license":"Apache-2.0","homepage":"https://github.com/atomist/sdm-pack-jenkins#readme","repository":{"type":"git","url":"git+https://github.com/atomist/sdm-pack-jenkins.git"},"bugs":{"url":"https://github.com/atomist/sdm-pack-jenkins/issues"},"keywords":["atomist","automation","pack","sdm","jenkins"],"main":"./index.js","types":"./index.d.ts","dependencies":{"@atomist/slack-messages":"^1.1.1","jenkins":"^0.25.0","lodash":"^4.17.15"},"peerDependencies":{"@atomist/automation-client":"^1.7.0","@atomist/sdm":"^1.7.0","@atomist/sdm-core":"^1.7.0"},"devDependencies":{"@atomist/automation-client":"^1.7.0","@atomist/sdm":"^1.7.0","@atomist/sdm-core":"^1.7.0","@types/mocha":"^5.2.7","@types/power-assert":"^1.5.0","espower-typescript":"^9.0.2","mocha":"^6.1.4","npm-run-all":"^4.1.5","power-assert":"^1.6.1","rimraf":"^2.6.3","supervisor":"^0.12.0","ts-node":"^8.3.0","tslint":"^5.19.0","typedoc":"^0.15.0","typescript":"^3.6.3"},"directories":{"test":"test"},"scripts":{"autotest":"supervisor --watch index.ts,lib,test --extensions ts --no-restart-on exit --quiet --exec npm -- test","build":"run-s compile test lint doc","clean":"run-p clean:compile clean:test clean:doc clean:run","clean:compile":"rimraf git-info.json \"index.{d.ts,js{,.map}}\" \"{lib,test}/**/*.{d.ts,js{,.map}}\" lib/typings/types.ts","clean:dist":"run-s clean clean:npm","clean:doc":"rimraf doc","clean:npm":"rimraf node_modules","clean:run":"rimraf *-v8.log profile.txt log","clean:test":"rimraf .nyc_output coverage","compile":"run-s gql:gen compile:ts","compile:ts":"tsc --project .","doc":"typedoc --mode modules --excludeExternals --ignoreCompilerErrors --exclude \"**/*.d.ts\" --out doc index.ts lib","gql:gen":"atm-gql-gen","lint":"tslint --config tslint.json --format verbose --project .","lint:fix":"npm run lint -- --fix","test":"mocha --require espower-typescript/guess \"test/**/*.test.ts\"","test:one":"mocha --require espower-typescript/guess \"test/**/${TEST:-*.test.ts}\"","typedoc":"npm run doc"},"engines":{"node":">=8.1.0","npm":">=5.0.0"},"readme":"# @atomist/sdm-pack-jenkins\n\n[![atomist sdm goals](https://badge.atomist.com/T29E48P34/atomist/sdm-pack-jenkins/2d680bec-366f-4818-a427-cc8b62280097)](https://app.atomist.com/workspace/T29E48P34)\n[![npm version](https://img.shields.io/npm/v/@atomist/sdm-pack-jenkins.svg)](https://www.npmjs.com/package/@atomist/sdm-pack-jenkins)\n\nAn extension Pack for an Atomist SDM to integrate with Jenkins for \nconverging Job definitions and triggering jobs/build/pipelines as part\nof an Atomist SDM goal set.\n\nThe following code sample shows the `Jenkins` goal being used in a simple \nSDM from our [samples](https://github.com/atomist/samples/blob/master/lib/sdm/jenkinsJob.ts):\n\n<!-- atomist:code-snippet:start=lib/sdm/jenkinsJob.ts#sdm -->\n```typescript\n/**\n * Main entry point into the SDM\n */\nexport const configuration = configure(async () => {\n\n    // The Jenkins goal needs access to the Jenkins master which\n    // can be configured below\n    const options: Pick<JenkinsRegistration, \"server\"> = {\n        server: {\n            url: process.env.JENKINS_URL || \"http://127.0.0.1:8080\",\n            user: process.env.JENKINS_USER || \"admin\",\n            password: process.env.JENKINS_PASSWORD || \"123456\",\n        },\n    };\n\n    // Jenkins goal that runs a job named <repo_name>-build which will be\n    // created or updated with a job definition returned by the mavenPipeline\n    // function\n    const build = jenkins(\"build\", {\n        ...options,\n        job: async gi => process.env.JENKINS_JOB || `${gi.goalEvent.repo.name}-build`,\n        definition: !process.env.JENKINS_JOB ? async gi => mavenPipeline(gi) : undefined,\n    });\n\n    // Single push rule that runs the build goal when the push is material and the project\n    // has a pom.xml file\n    return {\n        \"ci/cd\": {\n            test: [\n                hasFile(\"pom.xml\"),\n                isMaterialChange({\n                    extensions: [\"java\", \"properties\", \"yaml\"],\n                    files: [\"pom.xml\"],\n                })],\n            goals: [\n                build,\n            ],\n        },\n    };\n}, { name: \"jenkins\" });\n\n/**\n * Load the job definition from a local XML template\n */\nasync function mavenPipeline(gi: GoalInvocation): Promise<string> {\n    const template = (await fs.readFile(path.join(__dirname, \"maven.pipeline.xml\"))).toString();\n    const hb = hbx.compile(template);\n    return hb({ gi });\n}\n```\n<!-- atomist:docs-sdm:codeSnippetInline: Snippet 'sdm' found in https://raw.githubusercontent.com/atomist/samples/master/lib/sdm/jenkinsJob.ts -->\n<div class=\"sample-code\"><a href=\"https://github.com/atomist/samples/tree/master/lib/sdm/jenkinsJob.ts#L45-L93\" target=\"_blank\">Source</a></div>\n<!-- atomist:code-snippet:end -->\n\nSoftware delivery machines enable you to control your delivery process\nin code.  Think of it as an API for your software delivery.  See the\n[Atomist documentation][atomist-doc] for more information on the\nconcept of a software delivery machine and how to create and develop\nan SDM.\n\n[atomist-doc]: https://docs.atomist.com/ (Atomist Documentation)\n\n## Getting started\n\nSee the [Developer Quick Start][atomist-quick] to jump straight to\ncreating an SDM.\n\n[atomist-quick]: https://docs.atomist.com/quick-start/ (Atomist - Developer Quick Start)\n\n## Contributing\n\nContributions to this project from community members are encouraged\nand appreciated. Please review the [Contributing\nGuidelines](CONTRIBUTING.md) for more information. Also see the\n[Development](#development) section in this document.\n\n## Code of conduct\n\nThis project is governed by the [Code of\nConduct](CODE_OF_CONDUCT.md). You are expected to act in accordance\nwith this code by participating. Please report any unacceptable\nbehavior to code-of-conduct@atomist.com.\n\n## Documentation\n\nPlease see [docs.atomist.com][atomist-doc] for\n[developer][atomist-doc-sdm] documentation.\n\n[atomist-doc-sdm]: https://docs.atomist.com/developer/sdm/ (Atomist Documentation - SDM Developer)\n\n## Connect\n\nFollow [@atomist][atomist-twitter] and [The Composition][atomist-blog]\nblog related to SDM.\n\n[atomist-twitter]: https://twitter.com/atomist (Atomist on Twitter)\n[atomist-blog]: https://the-composition.com/ (The Composition - The Official Atomist Blog)\n\n## Support\n\nGeneral support questions should be discussed in the `#support`\nchannel in the [Atomist community Slack workspace][slack].\n\nIf you find a problem, please create an [issue][].\n\n[issue]: https://github.com/atomist-seeds/sdm-pack/issues\n\n## Development\n\nYou will need to install [Node.js][node] to build and test this\nproject.\n\n[node]: https://nodejs.org/ (Node.js)\n\n### Build and test\n\nInstall dependencies.\n\n```\n$ npm install\n```\n\nUse the `build` package script to compile, test, lint, and build the\ndocumentation.\n\n```\n$ npm run build\n```\n\n### Release\n\nReleases are handled via the [Atomist SDM][atomist-sdm].  Just press\nthe 'Approve' button in the Atomist dashboard or Slack.\n\n[atomist-sdm]: https://github.com/atomist/atomist-sdm (Atomist Software Delivery Machine)\n\n---\n\nCreated by [Atomist][atomist].\nNeed Help?  [Join our Slack workspace][slack].\n\n[atomist]: https://atomist.com/ (Atomist - How Teams Deliver Software)\n[slack]: https://join.atomist.com/ (Atomist Community Slack)\n","readmeFilename":"README.md","gitHead":"7b5310f3e2dadf692b10c9395fb6f230c04485ee","_id":"@atomist/sdm-pack-jenkins@0.1.0-master.20190916023824","_nodeVersion":"12.8.0","_npmVersion":"6.10.2","dist":{"integrity":"sha512-/B6G5h93PLpd5EVAL7q2pRZYKEVak/RL8soe0nPHGqQ3kOlhxVxVjbdyHflcHVA4V28Ti4tNKCQhU7JxhMVyuw==","shasum":"fa127be5286694cee717a872472f5a65f5cdaea6","tarball":"https://registry.npmjs.org/@atomist/sdm-pack-jenkins/-/sdm-pack-jenkins-0.1.0-master.20190916023824.tgz","fileCount":14,"unpackedSize":157679,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdfvZwCRA9TVsSAnZWagAAH/MP/i62PjrBl80oznMs2fmc\nQnDARZaW9fu4l/bpVuPPt0nN24UpYgMe5PHXunWLJXs4KP29rNSey2MaCXGX\n/9wiEz4cFSvdKsVVVhUc/YoTaGIUyrr1XRjn//7FdQ4AYCy3CL/Rg4L7OtmA\nnMmEx9wnKn8gccEbIvO7AAr28N/rRm6jD5SCdFr/u+0nzfN7N3hnrD9D4wzd\n4mvOt7fyteEG1BXRlNXVlErlIl1Jr5nWNX8K+iaYmk0nMWeuj4x0AtsYbejg\ncOTvFm5ta1I3io0PMiVSH1sZqjnRaCg/oBUxlaGRFdobTfNr7h0YVJgN0hIM\nKgRzFuxdE3MCSBsTGMB5pC9cpTCG0FkGJDMMRaXNxMmkSnBfQyQafrBakNPb\nDHfxktQ4WiD/gnvldLci58waX7ahsgF+UwfspuPZmj9/bdcLokfZxzd9gb2y\nmx4n+9Jwrt3O4+3R+8VXdzIjIRYPnZfZvhxKv5W3hE0vlbQf3si58v4r47Ka\n6fr7gSEM8VX1t2nwEgiOSEAd4XolzWo0/oAixSjmTL+qnPklekMApadapJIH\no6w4NL5vpzjyGdieY3uoW/d2u1jha18xM7paZhSRZtccUTkgr0BFhUKYNnUK\n8J/mQVbPjje4CR3zpsutBtjXyoTa0e7HUzJOUepSJuvrcxs61NBfe0RHP9fg\nRLIf\r\n=js5g\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEBgVnjtcJ9U+chxGin8r9a2OkVtg7bfwzz9KD6/ddgAAiEAnlIaytHDQLwyHOhm4yvJgsRSz8SubKbYHGi0w20fdyw="}]},"maintainers":[{"name":"atomist","email":"npm@atomist.com"}],"_npmUser":{"name":"atomist","email":"npm@atomist.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sdm-pack-jenkins_0.1.0-master.20190916023824_1568601712314_0.4500134186383038"},"_hasShrinkwrap":false}},"time":{"created":"2019-06-04T19:56:34.380Z","0.1.0-master.20190604195525":"2019-06-04T19:56:34.549Z","modified":"2023-02-23T17:59:51.227Z","0.1.0-master.20190623193923":"2019-06-23T19:40:33.830Z","0.1.0-atomist-update-latest-20190708194659.20190708194945":"2019-07-08T19:56:20.563Z","0.1.0-master.20190708200703":"2019-07-08T20:10:04.340Z","0.1.0-master.20190708200913":"2019-07-08T20:14:17.514Z","0.1.0-atomist-update-latest-20190709164118.20190709165641":"2019-07-09T17:00:14.953Z","0.1.0-master.20190709172205":"2019-07-09T17:23:48.684Z","0.1.0-master.20190726152626":"2019-07-26T15:28:26.216Z","0.1.0-atomist.a260p86nh.sdm-deps.master.20190909195346":"2019-09-09T19:57:00.465Z","0.1.0-master.20190910081927":"2019-09-10T08:25:34.474Z","0.1.0-master.20190911043912":"2019-09-11T04:42:35.675Z","0.1.0-master.20190911043949":"2019-09-11T04:45:55.898Z","0.1.0-master.20190911044642":"2019-09-11T04:49:04.391Z","0.1.0-atomist.a260p86nh.typescript-version.master.20190915195903":"2019-09-15T20:01:43.051Z","0.1.0-master.20190916023824":"2019-09-16T02:41:52.496Z"},"maintainers":[{"email":"neil.prosser+npmjs@gmail.com","name":"neilprosser"},{"email":"npm@atomist.com","name":"atomist-bot"},{"email":"cd@atomist.com","name":"cdupuis"},{"email":"slimslenderslacks@gmail.com","name":"slimslenderslacks"}],"description":"Extension Pack for an Atomist SDM to integrate with Jenkins","homepage":"https://github.com/atomist/sdm-pack-jenkins#readme","keywords":["atomist","automation","pack","sdm","jenkins"],"repository":{"type":"git","url":"git+https://github.com/atomist/sdm-pack-jenkins.git"},"author":{"name":"Atomist","email":"support@atomist.com","url":"https://atomist.com/"},"bugs":{"url":"https://github.com/atomist/sdm-pack-jenkins/issues"},"license":"Apache-2.0","readme":"","readmeFilename":""}