Push event to branch development
11:03:59 Connecting to https://api.github.com using eclipse-che4z-bot/****** (GitHub bot)
Obtained Jenkinsfile from d93558dff16b69d92a2bbb817efd2d44b08c060c
Running in Durability level: PERFORMANCE_OPTIMIZED
[Pipeline] Start of Pipeline
[Pipeline] podTemplate
[Pipeline] {
[Pipeline] node
Still waiting to schedule task
All nodes of label ‘explorer-for-zos-pod_development_13’ are offline
Agent explorer-for-zos-pod-development-13-8x5h6-dsr6m is provisioned from template Kubernetes Pod Template
---
apiVersion: "v1"
kind: "Pod"
metadata:
annotations:
buildUrl: "http://jenkins-ui.che4z.svc.cluster.local/che4z/job/che-che4z-explorer-for-zos/job/development/13/"
labels:
jenkins: "slave"
jenkins/explorer-for-zos-pod_development_13: "true"
name: "explorer-for-zos-pod-development-13-8x5h6-dsr6m"
spec:
containers:
- image: "node:12.10.0-alpine"
name: "node"
tty: true
volumeMounts:
- mountPath: "/home/jenkins/agent"
name: "workspace-volume"
readOnly: false
- env:
- name: "JENKINS_SECRET"
value: "********"
- name: "JENKINS_TUNNEL"
value: "jenkins-discovery.che4z.svc.cluster.local:50000"
- name: "JENKINS_AGENT_NAME"
value: "explorer-for-zos-pod-development-13-8x5h6-dsr6m"
- name: "JENKINS_NAME"
value: "explorer-for-zos-pod-development-13-8x5h6-dsr6m"
- name: "JENKINS_AGENT_WORKDIR"
value: "/home/jenkins/agent"
- name: "JENKINS_URL"
value: "http://jenkins-ui.che4z.svc.cluster.local/che4z/"
- name: "HOME"
value: "/home/jenkins"
image: "eclipsecbijenkins/jenkins-agent:3.29@sha256:3dbc231fbe975b5e9ce83f5ea55d0456963e4cc1b21fb4e63e742eabcf16a807"
name: "jnlp"
volumeMounts:
- mountPath: "/home/jenkins/.ssh"
name: "volume-known-hosts"
- mountPath: "/home/jenkins/agent"
name: "workspace-volume"
readOnly: false
nodeSelector: {}
restartPolicy: "Never"
volumes:
- emptyDir: {}
name: "workspace-volume"
- configMap:
name: "known-hosts"
name: "volume-known-hosts"
Running on explorer-for-zos-pod-development-13-8x5h6-dsr6m in /home/jenkins/agent/workspace/e4z-explorer-for-zos_development
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Checkout SCM)
[Pipeline] checkout
using credential d2420725-a9c8-4baa-b65f-2e6c0c84e22d
Cloning the remote Git repository
Cloning with configured refspecs honoured and without tags
Cloning repository https://github.com/eclipse/che-che4z-zos-resource-explorer.git
> git init /home/jenkins/agent/workspace/e4z-explorer-for-zos_development # timeout=10
Fetching upstream changes from https://github.com/eclipse/che-che4z-zos-resource-explorer.git
> git --version # timeout=10
using GIT_ASKPASS to set credentials GitHub bot
> git fetch --no-tags --force --progress https://github.com/eclipse/che-che4z-zos-resource-explorer.git +refs/heads/development:refs/remotes/origin/development
Fetching without tags
Checking out Revision d93558dff16b69d92a2bbb817efd2d44b08c060c (development)
> git config remote.origin.url https://github.com/eclipse/che-che4z-zos-resource-explorer.git # timeout=10
> git config --add remote.origin.fetch +refs/heads/development:refs/remotes/origin/development # timeout=10
> git config remote.origin.url https://github.com/eclipse/che-che4z-zos-resource-explorer.git # timeout=10
Fetching upstream changes from https://github.com/eclipse/che-che4z-zos-resource-explorer.git
using GIT_ASKPASS to set credentials GitHub bot
> git fetch --no-tags --force --progress https://github.com/eclipse/che-che4z-zos-resource-explorer.git +refs/heads/development:refs/remotes/origin/development
> git config core.sparsecheckout # timeout=10
> git checkout -f d93558dff16b69d92a2bbb817efd2d44b08c060c
Commit message: "Cicd (#115)"
> git rev-list --no-walk bd122e3c1ae3b4482475d58f1168a28f1fd1523e # timeout=10
[Pipeline] }
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
[Pipeline] withEnv
[Pipeline] {
[Pipeline] timestamps
[Pipeline] {
[Pipeline] timeout
11:11:26 [2019-09-30T15:11:26.066Z] Timeout set to expire in 3 hr 0 min
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Install & Test)
[Pipeline] withEnv
[Pipeline] {
[Pipeline] container
[Pipeline] {
[Pipeline] sh
+ npm ci
> fsevents@1.2.9 install /home/jenkins/agent/workspace/e4z-explorer-for-zos_development/node_modules/fsevents
> node install
> zosexplorer@0.8.0 postinstall /home/jenkins/agent/workspace/e4z-explorer-for-zos_development
> node ./node_modules/vscode/bin/install
Detected VS Code engine version: ^1.32.0
Found minimal version that qualifies engine range: 1.32.0
Fetching vscode.d.ts from: https://raw.githubusercontent.com/Microsoft/vscode/507312a3e3b34b084b467dfd983263bc7c9d87e0/src/vs/vscode.d.ts
vscode.d.ts successfully installed!
added 788 packages in 104.094s
[Pipeline] sh
+ npm test
> zosexplorer@0.8.0 test /home/jenkins/agent/workspace/e4z-explorer-for-zos_development
> jest -w 1
PASS src/__tests__/DatasetDataProvider.test.ts (49.897s)
PASS src/__tests__/utils.test.ts (9.1s)
PASS src/__tests__/datasetEditManager.test.ts
PASS src/__tests__/DatasetCache.test.ts
PASS src/__tests__/DeleteMember.test.ts
PASS src/__tests__/AllocateLikeCmd.test.ts
PASS src/__tests__/PasteMember.test.ts
PASS src/__tests__/DatasetService.test.ts
PASS src/__tests__/SettingsFacade.test.ts
PASS src/__tests__/BrowseMember.test.ts
PASS src/__tests__/CopyPasteService.test.ts
PASS src/__tests__/EditConnection.test.ts
PASS src/__tests__/createMember.test.ts
PASS src/__tests__/EditFilter.test.ts
PASS src/__tests__/CopyMember.test.ts
PASS src/__tests__/CreateConnection.test.ts
PASS src/__tests__/DeleteFilterCmd.test.ts
PASS src/__tests__/extension.test.ts (5.905s)
PASS src/__tests__/DeleteConnection.test.ts
PASS src/__tests__/RefreshConnection.test.ts
PASS src/__tests__/CreateFilter.test.ts
-------------------------|----------|----------|----------|----------|-------------------|
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s |
-------------------------|----------|----------|----------|----------|-------------------|
All files | 78.14 | 60.41 | 64.18 | 77.87 | |
src | 77.95 | 76.12 | 27.27 | 77.84 | |
constants.ts | 100 | 100 | 100 | 100 | |
extension.ts | 62.5 | 0 | 6.25 | 62.5 |... 57,158,162,163 |
utils.ts | 88.07 | 78.46 | 83.33 | 87.96 |... 25,227,228,229 |
src/commands | 90.09 | 74.6 | 77.14 | 90.09 | |
AllocateLikeDataset.ts | 84.38 | 87.5 | 85.71 | 84.38 | 56,64,65,91,112 |
BrowseMember.ts | 100 | 100 | 100 | 100 | |
CopyMember.ts | 100 | 100 | 100 | 100 | |
CreateConnection.ts | 76.19 | 50 | 33.33 | 76.19 | 23,24,26,28,35 |
CreateFilter.ts | 88.89 | 50 | 50 | 88.89 | 26 |
CreateMember.ts | 84 | 50 | 80 | 84 | 32,37,38,77 |
DeleteConnection.ts | 87.5 | 50 | 100 | 87.5 | 20 |
DeleteFilter.ts | 100 | 75 | 100 | 100 | 23 |
DeleteMember.ts | 95.45 | 83.33 | 100 | 95.45 | 40 |
EditConnection.ts | 94.74 | 62.5 | 50 | 94.74 | 24 |
EditFilter.ts | 92.31 | 100 | 50 | 92.31 | 33 |
PasteMember.ts | 90.91 | 83.33 | 66.67 | 90.91 | 37,59 |
RefreshConnection.ts | 100 | 100 | 100 | 100 | |
src/model | 100 | 100 | 100 | 100 | |
DSEntities.ts | 100 | 100 | 100 | 100 | |
src/service | 66.22 | 43.62 | 69.23 | 65.85 | |
CopyPasteService.ts | 95 | 100 | 85.71 | 94.74 | 63 |
CredentialsService.ts | 50 | 100 | 0 | 50 | 29,33,36 |
DatasetCache.ts | 72.97 | 52.83 | 81.25 | 72.97 |... 46,147,148,171 |
DatasetEditManager.ts | 63.56 | 33.9 | 73.91 | 63.56 |... 39,344,348,352 |
DatasetService.ts | 95.24 | 50 | 100 | 95 | 72 |
SettingsFacade.ts | 93.51 | 65.79 | 100 | 93.33 |69,114,134,155,169 |
ZoweRestClient.ts | 7.02 | 0 | 6.25 | 7.02 |... 78,192,193,195 |
src/ui/tree | 87.19 | 76.81 | 86.67 | 86.73 | |
DatasetDataProvider.ts | 82.43 | 76.12 | 76.47 | 82.43 |... 97,304,305,306 |
DatasetTreeModel.ts | 100 | 100 | 100 | 100 | |
-------------------------|----------|----------|----------|----------|-------------------|
Test Suites: 21 passed, 21 total
Tests: 120 passed, 120 total
Snapshots: 0 total
Time: 114.108s
Ran all test suites.
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Package)
[Pipeline] withEnv
[Pipeline] {
[Pipeline] container
[Pipeline] {
[Pipeline] sh
+ npm run webpack-production
> zosexplorer@0.8.0 webpack-production /home/jenkins/agent/workspace/e4z-explorer-for-zos_development
> webpack --mode production
Hash: 38a54f2d8405bc241d59
Version: webpack 4.39.2
Time: 447298ms
Built at: 09/30/2019 3:23:01 PM
Asset Size Chunks Chunk Names
extension.js 737 KiB 0 [emitted] main
extension.js.map 1.62 MiB 0 [emitted] main
Entrypoint main = extension.js extension.js.map
[4] external "vscode" 42 bytes {0} [built]
[9] ./src/service/SettingsFacade.ts 6.16 KiB {0} [built]
[52] ./src/service/DatasetEditManager.ts 10.3 KiB {0} [built]
[53] ./src/service/DatasetCache.ts 5.92 KiB {0} [built]
[89] ./src/extension.ts 7.06 KiB {0} [built]
[90] ./src/commands/AllocateLikeDataset.ts 4.25 KiB {0} [built]
[92] ./src/commands/BrowseMember.ts 2.49 KiB {0} [built]
[93] ./src/commands/CopyMember.ts 1.97 KiB {0} [built]
[94] ./src/commands/CreateConnection.ts 2.52 KiB {0} [built]
[95] ./src/commands/CreateFilter.ts 1.83 KiB {0} [built]
[96] ./src/commands/CreateMember.ts 3.09 KiB {0} [built]
[97] ./src/commands/DeleteConnection.ts 1.6 KiB {0} [built]
[98] ./src/commands/DeleteFilter.ts 1.76 KiB {0} [built]
[99] ./src/commands/DeleteMember.ts 2.59 KiB {0} [built]
[100] ./src/commands/EditConnection.ts 2.48 KiB {0} [built]
+ 206 hidden modules
[Pipeline] sh
+ npm i vsce -prefix /home/jenkins/agent/workspace/che-che4z-explorer-for-zos_cicd/tools
npm WARN saveError ENOENT: no such file or directory, open '/home/jenkins/agent/workspace/che-che4z-explorer-for-zos_cicd/tools/package.json'
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN enoent ENOENT: no such file or directory, open '/home/jenkins/agent/workspace/che-che4z-explorer-for-zos_cicd/tools/package.json'
npm WARN tools No description
npm WARN tools No repository field.
npm WARN tools No README data
npm WARN tools No license field.
+ vsce@1.66.0
added 66 packages from 77 contributors and audited 100 packages in 29.617s
found 0 vulnerabilities
[Pipeline] sh
+ /home/jenkins/agent/workspace/che-che4z-explorer-for-zos_cicd/tools/node_modules/vsce/out/vsce package
This extension consists of 1689 separate files. For performance reasons, you should bundle your extension: https://aka.ms/vscode-bundle-extension. You should also exclude unnecessary files by adding them to your .vscodeignore: https://aka.ms/vscode-vscodeignore
DONE Packaged: /home/jenkins/agent/workspace/e4z-explorer-for-zos_development/zosexplorer-0.8.0.vsix (1689 files, 23.49MB)
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Deploy)
[Pipeline] script
[Pipeline] {
[Pipeline] container
[Pipeline] {
[Pipeline] sshagent
[ssh-agent] Using credentials genie.che4z (ssh://genie.che4z@projects-storage.eclipse.org)
[ssh-agent] Looking for ssh-agent implementation...
[ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine)
Executing shell script inside container [jnlp] of pod [explorer-for-zos-pod-development-13-8x5h6-dsr6m]
Executing command: "ssh-agent"
exit
SSH_AUTH_SOCK=/tmp/ssh-aBFkXmST1VKc/agent.469; export SSH_AUTH_SOCK;
SSH_AGENT_PID=470; export SSH_AGENT_PID;
echo Agent pid 470;
SSH_AUTH_SOCK=/tmp/ssh-aBFkXmST1VKc/agent.469
SSH_AGENT_PID=470
Running ssh-add (command line suppressed)
Identity added: /home/jenkins/agent/workspace/e4z-explorer-for-zos_development@tmp/private_key_4695432212288470420.key (/home/jenkins/agent/workspace/e4z-explorer-for-zos_development@tmp/private_key_4695432212288470420.key)
[ssh-agent] Started.
[Pipeline] {
[Pipeline] sh
+ ssh genie.che4z@projects-storage.eclipse.org rm -rf /home/data/httpd/download.eclipse.org/che4z/snapshots/development
+ ssh genie.che4z@projects-storage.eclipse.org mkdir -p /home/data/httpd/download.eclipse.org/che4z/snapshots/development
+ scp -r /home/jenkins/agent/workspace/e4z-explorer-for-zos_development/zosexplorer-0.8.0.vsix genie.che4z@projects-storage.eclipse.org:/home/data/httpd/download.eclipse.org/che4z/snapshots/development
[Pipeline] }
Executing shell script inside container [jnlp] of pod [explorer-for-zos-pod-development-13-8x5h6-dsr6m]
Executing command: "ssh-agent" "-k"
exit
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 470 killed;
[ssh-agent] Stopped.
[Pipeline] // sshagent
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // timeout
[Pipeline] }
[Pipeline] // timestamps
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // podTemplate
[Pipeline] End of Pipeline
GitHub has been notified of this commit’s build result
Finished: SUCCESS