Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-57810

Pipeline build succeeded but the file was not sent to the ssh target host

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • ssh-credentials-plugin

      I am learning jenkins, there is a problem that has not been resolved for several weeks, as follows:
      My environment

      Note: My configuration is basically configured with reference to the contents of jenkins.io/doc, so I found that the latest file does not have a lot of configuration parameters configured, basically solved with pipeline syntax.
      Host: docker in host: 192.168.9.16 (node: master)
      Target host host:192.168.9.23(lable: prod.9.23)
      task:
          Use nodejs npm build (has been successful, success will generate dist/* under path)
          Send the successful result to the specified path /data/www/mytest on the target host
          
      problem:
          The display is successful, but the target host does not get the file.
          How to execute the host command in the docker environment, or execute the remote host command?

       

      my jenkinsfile:

      pipeline {
          agent {
              docker {
                  image 'node_cnpm:8.0.1'
                  args '-p 3000:3000'
              }
          }
          environment {
              CI = 'true'
          }
          stages {
              stage('Build') {
                  steps {
                      sh 'node -v'
                      sh 'npm -v'
                      sh 'cnpm -v'
                      sh 'pwd'
                      sh 'ls'
                      sh 'chmod -R 777 ./'
                      sh 'rm -rf node_modules/'
                      sh 'ls'
                      sh 'npm cache clean -f'
                      sh 'cnpm install '
                      sh 'npm run test'
                  }
              }
             stage('deploy') {
                  steps {
                      sshPublisher(publishers: [sshPublisherDesc(configName: 'prod.9.23', transfers: [sshTransfer(cleanRemote: false, excludes: '', execCommand: '', execTimeout: 120000, flatten: false, makeEmptyDirs: false, noDefaultExcludes: false, patternSeparator: '[, ]+', remoteDirectory: '/data/www/test.erp.ui.pc', remoteDirectorySDF: false, removePrefix: 'dist', sourceFiles: 'dist/*.*')], usePromotionTimestamp: false, useWorkspaceInPromotion: false, verbose: false)])
                  }
              }
          }
      }
      

       

          [JENKINS-57810] Pipeline build succeeded but the file was not sent to the ssh target host

          joss.ji joss added a comment -

          joss.ji joss added a comment -

          joss.ji joss added a comment -

          log:

          Started by user norway.admin
           > git rev-parse --is-inside-work-tree # timeout=10
          Setting origin to http://git.inorway.cn/norwayERP/norway_ui_pc.git
           > git config remote.origin.url http://git.inorway.cn/norwayERP/norway_ui_pc.git # timeout=10
          Fetching origin...
          Fetching upstream changes from origin
           > git --version # timeout=10
           > git config --get remote.origin.url # timeout=10
          using GIT_ASKPASS to set credentials Git username/password for http://git.inorway.cn/gogs/wherecar_common_v2.git
           > git fetch --tags --force --progress origin +refs/heads/*:refs/remotes/origin/*
          Seen branch in repository origin/develop
          Seen branch in repository origin/hotfix
          Seen branch in repository origin/master
          Seen 3 remote branches
          Obtained Jenkinsfile from e03421f32b29b16ce096923f2b92ec4f76c77a43
          Running in Durability level: MAX_SURVIVABILITY
          [Pipeline] Start of Pipeline
          [Pipeline] node
          Running on Jenkins in /var/jenkins_home/workspace/norway_ui_pc_develop
          [Pipeline] {
          [Pipeline] stage
          [Pipeline] { (Declarative: Checkout SCM)
          [Pipeline] checkout
          using credential git:bc02b36ff5a6e631fe243c0f30104683a745ce242b7e69cddfa79f26a69db1bf
           > git rev-parse --is-inside-work-tree # timeout=10
          Fetching changes from the remote Git repository
           > git config remote.origin.url http://git.inorway.cn/norwayERP/norway_ui_pc.git # timeout=10
          Cleaning workspace
           > git rev-parse --verify HEAD # timeout=10
          Resetting working tree
           > git reset --hard # timeout=10
           > git clean -fdx # timeout=10
          Fetching without tags
          Fetching upstream changes from http://git.inorway.cn/norwayERP/norway_ui_pc.git
           > git --version # timeout=10
          using GIT_ASKPASS to set credentials Git username/password for http://git.inorway.cn/gogs/wherecar_common_v2.git
           > git fetch --no-tags --force --progress http://git.inorway.cn/norwayERP/norway_ui_pc.git +refs/heads/*:refs/remotes/origin/*
          Checking out Revision e03421f32b29b16ce096923f2b92ec4f76c77a43 (develop)
           > git config core.sparsecheckout # timeout=10
           > git checkout -f e03421f32b29b16ce096923f2b92ec4f76c77a43
           > git branch -a -v --no-abbrev # timeout=10
           > git branch -D develop # timeout=10
           > git checkout -b develop e03421f32b29b16ce096923f2b92ec4f76c77a43
          Commit message: "jenkins config: ssh"
           > git rev-list --no-walk e03421f32b29b16ce096923f2b92ec4f76c77a43 # timeout=10
          Cleaning workspace
           > git rev-parse --verify HEAD # timeout=10
          Resetting working tree
           > git reset --hard # timeout=10
           > git clean -fdx # timeout=10
          [Pipeline] }
          [Pipeline] // stage
          [Pipeline] withEnv
          [Pipeline] {
          [Pipeline] sh
          + docker inspect -f . node_cnpm:8.0.1
          .
          [Pipeline] withDockerContainer
          Jenkins seems to be running inside container 5c9cd7c9f6d6c43857db56b06164983ab199a7b0208fc2b34feecbd1848348a3
          $ docker run -t -d -u 0:0 -p 3000:3000 -w /var/jenkins_home/workspace/norway_ui_pc_develop --volumes-from 5c9cd7c9f6d6c43857db56b06164983ab199a7b0208fc2b34feecbd1848348a3 -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** node_cnpm:8.0.1 cat
          $ docker top 6b4fc4c52c127c7645a1a4459fb5332c8a9af00fe15bc5db939c8e42c4aa56d2 -eo pid,comm
          [Pipeline] {
          [Pipeline] withEnv
          [Pipeline] {
          [Pipeline] stage
          [Pipeline] { (Build)
          [Pipeline] sh
          + node -v
          v8.16.0
          [Pipeline] sh
          + npm -v
          6.4.1
          [Pipeline] sh
          + cnpm -v
          cnpm@6.1.0 (/usr/local/lib/node_modules/cnpm/lib/parse_argv.js)
          npm@6.9.0 (/usr/local/lib/node_modules/cnpm/node_modules/npm/lib/npm.js)
          node@8.16.0 (/usr/local/bin/node)
          npminstall@3.22.0 (/usr/local/lib/node_modules/cnpm/node_modules/npminstall/lib/index.js)
          prefix=/usr/local 
          linux x64 3.10.0-957.10.1.el7.x86_64 
          registry=https://r.npm.taobao.org
          [Pipeline] sh
          + pwd
          /var/jenkins_home/workspace/norway_ui_pc_develop
          [Pipeline] sh
          + ls
          1.png
          Jenkinsfile
          LICENSE
          README.md
          build
          config
          favicon.ico
          favicon.png
          index.html
          jenkins
          package.json
          pen.png
          run_dev.bat
          src
          static
          test
          [Pipeline] sh
          + chmod -R 777 ./
          [Pipeline] sh
          + rm -rf node_modules/
          [Pipeline] sh
          + ls
          1.png
          Jenkinsfile
          LICENSE
          README.md
          build
          config
          favicon.ico
          favicon.png
          index.html
          jenkins
          package.json
          pen.png
          run_dev.bat
          src
          static
          test
          [Pipeline] sh
          + npm cache clean -f
          npm WARN using --force I sure hope you know what you are doing.
          [Pipeline] sh
          + cnpm install
          platform unsupported babel-loader@7.1.2 › webpack@3.10.0 › watchpack@1.6.0 › chokidar@2.1.6 › fsevents@^1.2.7 Package require os(darwin) not compatible with your platform(linux)
          [fsevents@^1.2.7] optional install error: Package require os(darwin) not compatible with your platform(linux)
          ✔ Installed 65 packages
          ✔ Linked 850 latest versions
          [1/3] scripts.postinstall babel-core@6.26.0 › babel-register@6.26.0 › core-js@^2.5.0 run "node scripts/postinstall || echo \"ignore\"", root: "/var/jenkins_home/workspace/norway_ui_pc_develop/node_modules/_core-js@2.6.9@core-js"
          [1/3] scripts.postinstall babel-core@6.26.0 › babel-register@6.26.0 › core-js@^2.5.0 finished in 52ms
          [2/3] scripts.postinstall babel-loader@7.1.2 › webpack@3.10.0 › uglifyjs-webpack-plugin@^0.4.6 run "node lib/post_install.js", root: "/var/jenkins_home/workspace/norway_ui_pc_develop/node_modules/_uglifyjs-webpack-plugin@0.4.6@uglifyjs-webpack-plugin"
          [2/3] scripts.postinstall babel-loader@7.1.2 › webpack@3.10.0 › uglifyjs-webpack-plugin@^0.4.6 finished in 57ms
          [3/3] scripts.install node-sass@^4.7.2 run "node scripts/install.js", root: "/var/jenkins_home/workspace/norway_ui_pc_develop/node_modules/_node-sass@4.12.0@node-sass"
          Downloading binary from https://cdn.npm.taobao.org/dist/node-sass/v4.12.0/linux_musl-x64-57_binding.node
          Download complete
          Binary saved to /var/jenkins_home/workspace/norway_ui_pc_develop/node_modules/_node-sass@4.12.0@node-sass/vendor/linux_musl-x64-57/binding.node
          Caching binary to /root/.npminstall_tarball/node-sass/4.12.0/linux_musl-x64-57_binding.node
          [3/3] scripts.install node-sass@^4.7.2 finished in 1s
          [3/3] scripts.postinstall node-sass@^4.7.2 run "node scripts/build.js", root: "/var/jenkins_home/workspace/norway_ui_pc_develop/node_modules/_node-sass@4.12.0@node-sass"
          Binary found at /var/jenkins_home/workspace/norway_ui_pc_develop/node_modules/_node-sass@4.12.0@node-sass/vendor/linux_musl-x64-57/binding.node
          Testing binary
          Binary is fine
          [3/3] scripts.postinstall node-sass@^4.7.2 finished in 202ms
          ✔ Run 3 scripts
          peerDependencies link ajv@5.5.2 in /var/jenkins_home/workspace/norway_ui_pc_develop/node_modules/_ajv-keywords@2.1.1@ajv-keywords unmet with /var/jenkins_home/workspace/norway_ui_pc_develop/node_modules/ajv(6.10.0)
          peerDependencies WARNING element-ui@^2.4.1 requires a peer of vue@^2.5.16 but vue@2.5.10 was installed
          deprecate autoprefixer@7.2.3 › browserslist@^2.10.0 Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
          deprecate babel-preset-es2015@^6.24.1 ????  Thanks for using Babel: we recommend using babel-preset-env now: please read https://babeljs.io/env to update!
          deprecate css-loader@0.28.7 › cssnano@3.10.0 › autoprefixer@6.7.7 › browserslist@^1.7.6 Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
          deprecate eslint@4.13.1 › file-entry-cache@2.0.0 › flat-cache@1.3.4 › circular-json@^0.3.1 CircularJSON is in maintenance only, flatted is its successor.
          Recently updated (since 2019-05-20): 7 packages (detail see file /var/jenkins_home/workspace/norway_ui_pc_develop/node_modules/.recently_updates.txt)
            Today:
              → babel-core@6.26.0 › babel-register@6.26.0 › core-js@^2.5.0(2.6.9) (12:54:28)
          ✔ All packages installed (1047 packages installed from npm registry, used 13s(network 11s), speed 3.56MB/s, json 915(2MB), tarball 37.36MB)
          [Pipeline] sh
          + npm run test
          
          > vue-admin-template@3.6.0 test /var/jenkins_home/workspace/norway_ui_pc_develop
          > node build/test.js
          
          { parser: "babylon" } is deprecated; we now treat it as { parser: "babel" }.
          Hash: 57eafe63bbb8ba7c8069
          Version: webpack 3.10.0
          Time: 41221ms
                                                           Asset       Size  Chunks                    Chunk Names
                            static/js/59.14fb15bed24c6fba27d5.js    1.38 kB      59  [emitted]         
                         static/fonts/element-icons.535877f.woff    28.2 kB          [emitted]         
                                    static/images/bg.43f449d.jpg     155 kB          [emitted]         
                              static/images/login_03.c9e4b0b.jpg    3.62 MB          [emitted]  [big]  
                                   static/images/404.a57b6f3.png    98.1 kB          [emitted]         
                              static/images/login_02.b66d716.jpg    5.81 MB          [emitted]  [big]  
                             static/js/0.6888632bae28d4c55c3f.js     271 kB       0  [emitted]  [big]  vendor-async
                             static/js/1.dab97db71fd69d958fd6.js  353 bytes       1  [emitted]         
                             static/js/2.ba011597684b2600754e.js    3.15 kB       2  [emitted]         
                             static/js/3.e209a8da7a4c31500fff.js    1.36 kB       3  [emitted]         
                             static/js/4.850a465fa321b826a016.js    1.39 kB       4  [emitted]         
                             static/js/5.2b38126d3b3cb10e7913.js     823 kB       5  [emitted]  [big]  
                             static/js/6.40e11d97daa9842e0354.js    7.49 kB       6  [emitted]         
                             static/js/7.b333ff394daa87821ffb.js    7.75 kB       7  [emitted]         
                             static/js/8.4f04fb44ee199cc19430.js    6.04 kB       8  [emitted]         
                             static/js/9.7450a01e1d5ff2d59421.js    15.3 kB       9  [emitted]         
                            static/js/10.032db2a094b15ad1a472.js    1.37 kB      10☃001B[39m  [emitted]         
                            static/js/11.7f54963145a9b8d126ba.js    1.39 kB      11  [emitted]         
                            static/js/12.027d02ab4dda35279bfc.js    1.39 kB      12  [emitted]         
                            static/js/13.7f0124cc0418d03b001c.js    1.39 kB      13  [emitted]         
                            static/js/14.9a8d1fb0c762cfca1d2d.js    1.42 kB      14  [emitted]         
                            static/js/15.27379500a29e13ca79c4.js    1.39 kB      15  [emitted]         
                            static/js/16.1097369b0f31b018efbb.js    1.39 kB      16  [emitted]         
                            static/js/17.927bf017ee933e09790f.js    1.39 kB      17  [emitted]         
                            static/js/18.446828125ff8a46cd04d.js    1.42 kB      18  [emitted]         
                            static/js/19.674b28e1c04f8209e352.js     1.4 kB      19  [emitted]         
                            static/js/20.74dbcf6ea29ca1356497.js    1.39 kB      20  [emitted]         
                            static/js/21.c9e6c5ce7360e252a99e.js     1.4 kB      21  [emitted]         
                            static/js/22.68860a88f2bf21cd4be1.js    2.03 kB      22  [emitted]         
                            static/js/23.2bf1f3d7d8f861b8e5fa.js    1.39 kB      23  [emitted]         
                            static/js/24.23eb9f218ebea8e61e08.js    1.41 kB      24  [emitted]         
                            static/js/25.ea58ac9655e7550d3721.js    1.38 kB      25  [emitted]         
                            static/js/26.7f13f746f84474c2139c.js    1.38 kB      26  [emitted]         
                            static/js/27.a5f0cb296e57fd1bce59.js     1.4 kB      27  [emitted]         
                            static/js/28.da0605dd623019f4c009.js    1.56 kB      28  [emitted]         
                            static/js/29.7a0b55f65fa130d2ab50.js  629 bytes      29  [emitted]         
                            static/js/30.993c13600e0e497c6907.js     1.4 kB      30  [emitted]         
                            static/js/31.bfc87af764651dfa1011.js     1.4 kB      31  [emitted]         
                            static/js/32.5af773c9dba60d78d3f8.js     1.4 kB      32  [emitted]         
                            static/js/33.1d504f9bcbafb721dce7.js    2.16 kB      33  [emitted]         
                            static/js/34.dc9ba689d4d185a0d2cd.js    1.39 kB      34  [emitted]         
                            static/js/35.b4d671c54bc0588171ba.js     1.4 kB      35  [emitted]         
                            static/js/36.c0f7584e30b305089f24.js    1.98 kB      36  [emitted]         
                            static/js/37.c763ab1ec518dfec1b68.js    1.39 kB      37  [emitted]         
                            static/js/38.264d01087fb5b08a118f.js    1.39 kB      38  [emitted]         
                            static/js/39.2f0bfa1d554571d5f9b0.js    1.39 kB      39  [emitted]         
                            static/js/40.fe003d6f2975a8184d68.js    2.62 kB      40  [emitted]         
                            static/js/41.4fac27a45665862665f1.js    1.41 kB      41  [emitted]         
                            static/js/42.45bb580a2bd2503d1da6.js    1.37 kB      42  [emitted]         
                            static/js/43.eb5d347f2c043b6c7c49.js     1.4 kB      43  [emitted]         
                            static/js/44.9850cab4e6d1bbe3d23a.js    1.38 kB      44  [emitted]         
                            static/js/45.34067aad47105c174494.js    1.39 kB      45  [emitted]         
                            static/js/46.3a4ceb7666bc4f54ec5c.js    1.39 kB      46  [emitted]         
                            static/js/47.53687d726d6c7439fde4.js    1.94 kB      47  [emitted]         
                            static/js/48.16d1d624cfffb47e6b8d.js    1.39 kB      48  [emitted]         
                            static/js/49.6dae33d5db1b1be0bf45.js    2.62 kB      49  [emitted]         
                            static/js/50.6582a3df823a61e3e4aa.js    1.39 kB      50  [emitted]         
                            static/js/51.5a3db442acdada75f9e8.js     1.4 kB      51  [emitted]         
                            static/js/52.3feb3c128a88176fad47.js    1.39 kB      52  [emitted]         
                            static/js/53.363d5ec48a5777edf892.js     1.4 kB      53  [emitted]         
                            static/js/54.298902d8793b9dbaad75.js    1.39 kB      54  [emitted]         
                            static/js/55.334360687b4325704df9.js    1.39 kB      55  [emitted]         
                            static/js/56.b05ff7664ec84bb58a64.js     1.4 kB      56  [emitted]         
                            static/js/57.782a02c577919ca332dd.js    1.41 kB      57  [emitted]         
                            static/js/58.1b307754f09e840722a3.js    1.38 kB      58  [emitted]         
                          static/fonts/element-icons.732389d.ttf      56 kB          [emitted]         
                            static/js/60.0c521191c3fb9e219902.js    1.39 kB      60  [emitted]         
                            static/js/61.86dece7abe324fefccc6.js     1.4 kB      61  [emitted]         
                            static/js/62.c226b95d1d3a5652a082.js    1.38 kB      62  [emitted]         
                            static/js/63.a899b5dbd8430c666bb4.js    1.41 kB      63  [emitted]         
                            static/js/64.d4ef69bc0ee7ade8acce.js    1.38 kB      64  [emitted]         
                            static/js/65.905766f5613c95dde316.js    1.39 kB      65  [emitted]         
                            static/js/66.1ce7c0752bcfed79e496.js    1.39 kB      66  [emitted]         
                            static/js/67.efd08ae7b760f965e931.js    1.39 kB      67  [emitted]         
                            static/js/68.e6dab273adf80e9454e5.js    1.38 kB      68  [emitted]         
                            static/js/69.6c120088361c90feb6f8.js    1.18 kB      69  [emitted]         
                            static/js/70.c58e55a5b5ee2b240fa3.js    1.42 kB      70  [emitted]         
                            static/js/71.86028d0f758beceedb7d.js    2.16 kB      71  [emitted]         
                            static/js/72.eb94ba8dd6c026f66747.js    1.39 kB      72  [emitted]         
                            static/js/73.e7d6e5d6ca612fdb09c0.js     1.4 kB      73  [emitted]         
                            static/js/74.9984d0c72920e75bf7f4.js  746 bytes      74  [emitted]         
                            static/js/75.0f026690f41772f36ee3.js     1.4 kB      75  [emitted]         
                            static/js/76.c15deb70de9737967f15.js    1.39 kB      76  [emitted]         
                            static/js/77.cebbd9c0636c82579c2a.js    2.62 kB      77  [emitted]         
                            static/js/78.19c5b8419c6486579841.js    1.39 kB      78  [emitted]         
                            static/js/79.15f4ebfc4d81dc64ffa1.js     1.5 kB      79  [emitted]         
                            static/js/80.6d7cad8b386ec4beb27f.js    1.41 kB      80  [emitted]         
                            static/js/81.5baac082938ceed6b533.js     1.4 kB      81  [emitted]         
                            static/js/82.559f2dfd996f98d9439b.js    1.38 kB      82  [emitted]         
                            static/js/83.b08c3c62012a24ab0ef9.js     1.4 kB      83  [emitted]         
                            static/js/84.dff1c059fbc90e2b2013.js    1.39 kB      84  [emitted]         
                            static/js/85.16af8fac5bebd86680b9.js     1.4 kB      85  [emitted]         
                            static/js/86.ccad13559d04c426bc6e.js    2.62 kB      86  [emitted]         
                            static/js/87.811553e2477a1e9e9f2d.js    2.08 kB      87  [emitted]         
                            static/js/88.6c124e86f9efa949f063.js    2.24 kB      88  [emitted]         
                            static/js/89.1f57b490b0e3521691ee.js    1.38 kB      89  [emitted]         
                            static/js/90.c2c803a3fbe4bc2323db.js    1.38 kB      90  [emitted]         
                            static/js/91.883d3d4d8203dd9fd533.js     1.4 kB      91  [emitted]         
                            static/js/92.0b5a6348d24882de2970.js    1.39 kB      92  [emitted]         
                            static/js/93.ce5dc0b823a68696aa9e.js    2.16 kB      93  [emitted]         
                            static/js/94.dc1348edd8b7cb705f4c.js    1.19 kB      94  [emitted]         
                            static/js/95.5c4e025b3eff06dd91c5.js    1.38 kB      95  [emitted]         
                            static/js/96.48a6cda8c3cfeb506ed0.js     1.4 kB      96  [emitted]         
                            static/js/97.e3a550cc706d4669629a.js    1.42 kB      97  [emitted]         
                            static/js/98.aa8e0b3a9554286dc576.js    5.22 kB      98  [emitted]         
                            static/js/99.89052dcad58156ec6b17.js    1.38 kB      99  [emitted]         
                           static/js/100.8ba0242378eb86a098d4.js    1.38 kB     100  [emitted]         
                           static/js/101.b0917a272f811e230208.js     1.4 kB     101  [emitted]         
                           static/js/102.23f861dafce5519fb713.js     1.4 kB     102  [emitted]         
                           static/js/103.451ea19429d92ac9a04f.js     1.4 kB     103  [emitted]         
                           static/js/104.8e639200014d989de62c.js    1.38 kB     104  [emitted]         
                           static/js/105.9d1e0e474e90f5c7245f.js    1.38 kB     105  [emitted]         
                           static/js/106.46f154c69c7e5484d349.js    1.38 kB     106  [emitted]         
                           static/js/107.e0f0732bd3c6e78c7524.js     1.4 kB     107  [emitted]         
                           static/js/108.c3c73c603e6e910a526f.js    1.39 kB     108  [emitted]         
                           static/js/109.be199adad3bf954e2c4f.js     1.4 kB     109  [emitted]         
                           static/js/110.e3d7ccc5681425cd2e76.js    1.38 kB     110  [emitted]         
                           static/js/111.132ac1715ef4abc89140.js     1.4 kB     111  [emitted]         
                           static/js/112.be2d3d50aad2e1c1c4f0.js    1.42 kB     112  [emitted]         
                           static/js/113.4fba617b231251817717.js    1.38 kB     113  [emitted]         
                           static/js/114.cfafc190d6761e263a3d.js    1.39 kB     114  [emitted]         
                           static/js/115.536d217e6146b5000bf9.js    1.38 kB     115  [emitted]         
                           static/js/116.bec67983620a15f71ef9.js    1.39 kB     116  [emitted]         
                           static/js/117.d89e557396b42dfbdd64.js  851 bytes     117  [emitted]☃001B[39m         
                        static/js/vendor.c0510378caa4cee184da.js    1.14 MB     118  [emitted]  [big]  vendor
                           static/js/app.cc19bf7daedb92abedfc.js     147 kB     119  [emitted]         app
                           static/js/120.01e6cbf508914a445e76.js     669 kB     120  [emitted]  [big]  
                      static/js/manifest.d3b4e441115e2989e34e.js    4.54 kB     121  [emitted]         manifest
          static/styles/app.cb4aba3cdc20b788d4a06d43397ff6cf.css     204 kB     119  [emitted]         app
                                                     favicon.png    3.48 kB          [emitted]         
                                                      index.html  558 bytes          [emitted]         
          
            Build complete.
          
            Tip: built files are meant to be served over an HTTP server.
            Opening index.html over file:// won't work.
          
          [Pipeline] }
          [Pipeline] // stage
          [Pipeline] stage
          [Pipeline] { (deploy)
          [Pipeline] sh
          + pwd
          /var/jenkins_home/workspace/norway_ui_pc_develop
          [Pipeline] sh
          + ls
          1.png
          Jenkinsfile
          LICENSE
          README.md
          build
          config
          dist
          favicon.ico
          favicon.png
          index.html
          jenkins
          node_modules
          package.json
          pen.png
          run_dev.bat
          src
          static
          test
          [Pipeline] sshPublisher
          SSH: Connecting from host [5c9cd7c9f6d6]
          SSH: Connecting with configuration [prod.9.23] ...
          SSH: Disconnecting configuration [prod.9.23] ...
          SSH: Transferred 2 file(s)
          [Pipeline] }
          [Pipeline] // stage
          [Pipeline] }
          [Pipeline] // withEnv
          [Pipeline] }
          $ docker stop --time=1 6b4fc4c52c127c7645a1a4459fb5332c8a9af00fe15bc5db939c8e42c4aa56d2
          $ docker rm -f 6b4fc4c52c127c7645a1a4459fb5332c8a9af00fe15bc5db939c8e42c4aa56d2
          [Pipeline] // withDockerContainer
          [Pipeline] }
          [Pipeline] // withEnv
          [Pipeline] }
          [Pipeline] // node
          [Pipeline] End of Pipeline
          Finished: SUCCESS
          

          joss.ji joss added a comment - log: Started by user norway.admin > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to http: //git.inorway.cn/norwayERP/norway_ui_pc.git > git config remote.origin.url http: //git.inorway.cn/norwayERP/norway_ui_pc.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_ASKPASS to set credentials Git username/password for http: //git.inorway.cn/gogs/wherecar_common_v2.git > git fetch --tags --force --progress origin +refs/heads/*:refs/remotes/origin/* Seen branch in repository origin/develop Seen branch in repository origin/hotfix Seen branch in repository origin/master Seen 3 remote branches Obtained Jenkinsfile from e03421f32b29b16ce096923f2b92ec4f76c77a43 Running in Durability level: MAX_SURVIVABILITY [Pipeline] Start of Pipeline [Pipeline] node Running on Jenkins in / var /jenkins_home/workspace/norway_ui_pc_develop [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential git:bc02b36ff5a6e631fe243c0f30104683a745ce242b7e69cddfa79f26a69db1bf > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url http: //git.inorway.cn/norwayERP/norway_ui_pc.git # timeout=10 Cleaning workspace > git rev-parse --verify HEAD # timeout=10 Resetting working tree > git reset --hard # timeout=10 > git clean -fdx # timeout=10 Fetching without tags Fetching upstream changes from http: //git.inorway.cn/norwayERP/norway_ui_pc.git > git --version # timeout=10 using GIT_ASKPASS to set credentials Git username/password for http: //git.inorway.cn/gogs/wherecar_common_v2.git > git fetch --no-tags --force --progress http: //git.inorway.cn/norwayERP/norway_ui_pc.git +refs/heads/*:refs/remotes/origin/* Checking out Revision e03421f32b29b16ce096923f2b92ec4f76c77a43 (develop) > git config core.sparsecheckout # timeout=10 > git checkout -f e03421f32b29b16ce096923f2b92ec4f76c77a43 > git branch -a -v --no-abbrev # timeout=10 > git branch -D develop # timeout=10 > git checkout -b develop e03421f32b29b16ce096923f2b92ec4f76c77a43 Commit message: "jenkins config: ssh" > git rev-list --no-walk e03421f32b29b16ce096923f2b92ec4f76c77a43 # timeout=10 Cleaning workspace > git rev-parse --verify HEAD # timeout=10 Resetting working tree > git reset --hard # timeout=10 > git clean -fdx # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] sh + docker inspect -f . node_cnpm:8.0.1 . [Pipeline] withDockerContainer Jenkins seems to be running inside container 5c9cd7c9f6d6c43857db56b06164983ab199a7b0208fc2b34feecbd1848348a3 $ docker run -t -d -u 0:0 -p 3000:3000 -w / var /jenkins_home/workspace/norway_ui_pc_develop --volumes-from 5c9cd7c9f6d6c43857db56b06164983ab199a7b0208fc2b34feecbd1848348a3 -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** node_cnpm:8.0.1 cat $ docker top 6b4fc4c52c127c7645a1a4459fb5332c8a9af00fe15bc5db939c8e42c4aa56d2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh + node -v v8.16.0 [Pipeline] sh + npm -v 6.4.1 [Pipeline] sh + cnpm -v cnpm@6.1.0 (/usr/local/lib/node_modules/cnpm/lib/parse_argv.js) npm@6.9.0 (/usr/local/lib/node_modules/cnpm/node_modules/npm/lib/npm.js) node@8.16.0 (/usr/local/bin/node) npminstall@3.22.0 (/usr/local/lib/node_modules/cnpm/node_modules/npminstall/lib/index.js) prefix=/usr/local linux x64 3.10.0-957.10.1.el7.x86_64 registry=https: //r.npm.taobao.org [Pipeline] sh + pwd / var /jenkins_home/workspace/norway_ui_pc_develop [Pipeline] sh + ls 1.png Jenkinsfile LICENSE README.md build config favicon.ico favicon.png index.html jenkins package .json pen.png run_dev.bat src static test [Pipeline] sh + chmod -R 777 ./ [Pipeline] sh + rm -rf node_modules/ [Pipeline] sh + ls 1.png Jenkinsfile LICENSE README.md build config favicon.ico favicon.png index.html jenkins package .json pen.png run_dev.bat src static test [Pipeline] sh + npm cache clean -f npm WARN using --force I sure hope you know what you are doing. [Pipeline] sh + cnpm install platform unsupported babel-loader@7.1.2 › webpack@3.10.0 › watchpack@1.6.0 › chokidar@2.1.6 › fsevents@^1.2.7 Package require os(darwin) not compatible with your platform(linux) [fsevents@^1.2.7] optional install error: Package require os(darwin) not compatible with your platform(linux) ✔ Installed 65 packages ✔ Linked 850 latest versions [1/3] scripts.postinstall babel-core@6.26.0 › babel-register@6.26.0 › core-js@^2.5.0 run "node scripts/postinstall || echo \" ignore\ "", root: " / var /jenkins_home/workspace/norway_ui_pc_develop/node_modules/_core-js@2.6.9@core-js" [1/3] scripts.postinstall babel-core@6.26.0 › babel-register@6.26.0 › core-js@^2.5.0 finished in 52ms [2/3] scripts.postinstall babel-loader@7.1.2 › webpack@3.10.0 › uglifyjs-webpack-plugin@^0.4.6 run "node lib/post_install.js" , root: "/ var /jenkins_home/workspace/norway_ui_pc_develop/node_modules/_uglifyjs-webpack-plugin@0.4.6@uglifyjs-webpack-plugin" [2/3] scripts.postinstall babel-loader@7.1.2 › webpack@3.10.0 › uglifyjs-webpack-plugin@^0.4.6 finished in 57ms [3/3] scripts.install node-sass@^4.7.2 run "node scripts/install.js" , root: "/ var /jenkins_home/workspace/norway_ui_pc_develop/node_modules/_node-sass@4.12.0@node-sass" Downloading binary from https: //cdn.npm.taobao.org/dist/node-sass/v4.12.0/linux_musl-x64-57_binding.node Download complete Binary saved to / var /jenkins_home/workspace/norway_ui_pc_develop/node_modules/_node-sass@4.12.0@node-sass/vendor/linux_musl-x64-57/binding.node Caching binary to /root/.npminstall_tarball/node-sass/4.12.0/linux_musl-x64-57_binding.node [3/3] scripts.install node-sass@^4.7.2 finished in 1s [3/3] scripts.postinstall node-sass@^4.7.2 run "node scripts/build.js" , root: "/ var /jenkins_home/workspace/norway_ui_pc_develop/node_modules/_node-sass@4.12.0@node-sass" Binary found at / var /jenkins_home/workspace/norway_ui_pc_develop/node_modules/_node-sass@4.12.0@node-sass/vendor/linux_musl-x64-57/binding.node Testing binary Binary is fine [3/3] scripts.postinstall node-sass@^4.7.2 finished in 202ms ✔ Run 3 scripts peerDependencies link ajv@5.5.2 in / var /jenkins_home/workspace/norway_ui_pc_develop/node_modules/_ajv-keywords@2.1.1@ajv-keywords unmet with / var /jenkins_home/workspace/norway_ui_pc_develop/node_modules/ajv(6.10.0) peerDependencies WARNING element-ui@^2.4.1 requires a peer of vue@^2.5.16 but vue@2.5.10 was installed deprecate autoprefixer@7.2.3 › browserslist@^2.10.0 Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools. deprecate babel-preset-es2015@^6.24.1 ???? Thanks for using Babel: we recommend using babel-preset-env now: please read https: //babeljs.io/env to update! deprecate css-loader@0.28.7 › cssnano@3.10.0 › autoprefixer@6.7.7 › browserslist@^1.7.6 Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools. deprecate eslint@4.13.1 › file-entry-cache@2.0.0 › flat-cache@1.3.4 › circular-json@^0.3.1 CircularJSON is in maintenance only, flatted is its successor. Recently updated (since 2019-05-20): 7 packages (detail see file / var /jenkins_home/workspace/norway_ui_pc_develop/node_modules/.recently_updates.txt) Today: → babel-core@6.26.0 › babel-register@6.26.0 › core-js@^2.5.0(2.6.9) (12:54:28) ✔ All packages installed (1047 packages installed from npm registry, used 13s(network 11s), speed 3.56MB/s, json 915(2MB), tarball 37.36MB) [Pipeline] sh + npm run test > vue-admin-template@3.6.0 test / var /jenkins_home/workspace/norway_ui_pc_develop > node build/test.js { parser: "babylon" } is deprecated; we now treat it as { parser: "babel" }. Hash: 57eafe63bbb8ba7c8069 Version: webpack 3.10.0 Time: 41221ms Asset Size Chunks   Chunk Names static/js/59.14fb15bed24c6fba27d5.js 1.38 kB 59 [emitted] static/fonts/element-icons.535877f.woff 28.2 kB  [emitted] static/images/bg.43f449d.jpg 155 kB  [emitted] static/images/login_03.c9e4b0b.jpg 3.62 MB  [emitted] [big] static/images/404.a57b6f3.png 98.1 kB  [emitted] static/images/login_02.b66d716.jpg 5.81 MB  [emitted] [big] static/js/0.6888632bae28d4c55c3f.js 271 kB 0 [emitted] [big] vendor-async static/js/1.dab97db71fd69d958fd6.js 353 bytes 1 [emitted] static/js/2.ba011597684b2600754e.js 3.15 kB 2 [emitted] static/js/3.e209a8da7a4c31500fff.js 1.36 kB 3 [emitted] static/js/4.850a465fa321b826a016.js 1.39 kB 4 [emitted] static/js/5.2b38126d3b3cb10e7913.js 823 kB 5 [emitted] [big] static/js/6.40e11d97daa9842e0354.js 7.49 kB 6 [emitted] static/js/7.b333ff394daa87821ffb.js 7.75 kB 7 [emitted] static/js/8.4f04fb44ee199cc19430.js 6.04 kB 8 [emitted] static/js/9.7450a01e1d5ff2d59421.js 15.3 kB 9 [emitted] static/js/10.032db2a094b15ad1a472.js 1.37 kB 10☃001B[39m [emitted] static/js/11.7f54963145a9b8d126ba.js 1.39 kB 11 [emitted] static/js/12.027d02ab4dda35279bfc.js 1.39 kB 12 [emitted] static/js/13.7f0124cc0418d03b001c.js 1.39 kB 13 [emitted] static/js/14.9a8d1fb0c762cfca1d2d.js 1.42 kB 14 [emitted] static/js/15.27379500a29e13ca79c4.js 1.39 kB 15 [emitted] static/js/16.1097369b0f31b018efbb.js 1.39 kB 16 [emitted] static/js/17.927bf017ee933e09790f.js 1.39 kB 17 [emitted] static/js/18.446828125ff8a46cd04d.js 1.42 kB 18 [emitted] static/js/19.674b28e1c04f8209e352.js 1.4 kB 19 [emitted] static/js/20.74dbcf6ea29ca1356497.js 1.39 kB 20 [emitted] static/js/21.c9e6c5ce7360e252a99e.js 1.4 kB 21 [emitted] static/js/22.68860a88f2bf21cd4be1.js 2.03 kB 22 [emitted] static/js/23.2bf1f3d7d8f861b8e5fa.js 1.39 kB 23 [emitted] static/js/24.23eb9f218ebea8e61e08.js 1.41 kB 24 [emitted] static/js/25.ea58ac9655e7550d3721.js 1.38 kB 25 [emitted] static/js/26.7f13f746f84474c2139c.js 1.38 kB 26 [emitted] static/js/27.a5f0cb296e57fd1bce59.js 1.4 kB 27 [emitted] static/js/28.da0605dd623019f4c009.js 1.56 kB 28 [emitted] static/js/29.7a0b55f65fa130d2ab50.js 629 bytes 29 [emitted] static/js/30.993c13600e0e497c6907.js 1.4 kB 30 [emitted] static/js/31.bfc87af764651dfa1011.js 1.4 kB 31 [emitted] static/js/32.5af773c9dba60d78d3f8.js 1.4 kB 32 [emitted] static/js/33.1d504f9bcbafb721dce7.js 2.16 kB 33 [emitted] static/js/34.dc9ba689d4d185a0d2cd.js 1.39 kB 34 [emitted] static/js/35.b4d671c54bc0588171ba.js 1.4 kB 35 [emitted] static/js/36.c0f7584e30b305089f24.js 1.98 kB 36 [emitted] static/js/37.c763ab1ec518dfec1b68.js 1.39 kB 37 [emitted] static/js/38.264d01087fb5b08a118f.js 1.39 kB 38 [emitted] static/js/39.2f0bfa1d554571d5f9b0.js 1.39 kB 39 [emitted] static/js/40.fe003d6f2975a8184d68.js 2.62 kB 40 [emitted] static/js/41.4fac27a45665862665f1.js 1.41 kB 41 [emitted] static/js/42.45bb580a2bd2503d1da6.js 1.37 kB 42 [emitted] static/js/43.eb5d347f2c043b6c7c49.js 1.4 kB 43 [emitted] static/js/44.9850cab4e6d1bbe3d23a.js 1.38 kB 44 [emitted] static/js/45.34067aad47105c174494.js 1.39 kB 45 [emitted] static/js/46.3a4ceb7666bc4f54ec5c.js 1.39 kB 46 [emitted] static/js/47.53687d726d6c7439fde4.js 1.94 kB 47 [emitted] static/js/48.16d1d624cfffb47e6b8d.js 1.39 kB 48 [emitted] static/js/49.6dae33d5db1b1be0bf45.js 2.62 kB 49 [emitted] static/js/50.6582a3df823a61e3e4aa.js 1.39 kB 50 [emitted] static/js/51.5a3db442acdada75f9e8.js 1.4 kB 51 [emitted] static/js/52.3feb3c128a88176fad47.js 1.39 kB 52 [emitted] static/js/53.363d5ec48a5777edf892.js 1.4 kB 53 [emitted] static/js/54.298902d8793b9dbaad75.js 1.39 kB 54 [emitted] static/js/55.334360687b4325704df9.js 1.39 kB 55 [emitted] static/js/56.b05ff7664ec84bb58a64.js 1.4 kB 56 [emitted] static/js/57.782a02c577919ca332dd.js 1.41 kB 57 [emitted] static/js/58.1b307754f09e840722a3.js 1.38 kB 58 [emitted] static/fonts/element-icons.732389d.ttf 56 kB  [emitted] static/js/60.0c521191c3fb9e219902.js 1.39 kB 60 [emitted] static/js/61.86dece7abe324fefccc6.js 1.4 kB 61 [emitted] static/js/62.c226b95d1d3a5652a082.js 1.38 kB 62 [emitted] static/js/63.a899b5dbd8430c666bb4.js 1.41 kB 63 [emitted] static/js/64.d4ef69bc0ee7ade8acce.js 1.38 kB 64 [emitted] static/js/65.905766f5613c95dde316.js 1.39 kB 65 [emitted] static/js/66.1ce7c0752bcfed79e496.js 1.39 kB 66 [emitted] static/js/67.efd08ae7b760f965e931.js 1.39 kB 67 [emitted] static/js/68.e6dab273adf80e9454e5.js 1.38 kB 68 [emitted] static/js/69.6c120088361c90feb6f8.js 1.18 kB 69 [emitted] static/js/70.c58e55a5b5ee2b240fa3.js 1.42 kB 70 [emitted] static/js/71.86028d0f758beceedb7d.js 2.16 kB 71 [emitted] static/js/72.eb94ba8dd6c026f66747.js 1.39 kB 72 [emitted] static/js/73.e7d6e5d6ca612fdb09c0.js 1.4 kB 73 [emitted] static/js/74.9984d0c72920e75bf7f4.js 746 bytes 74 [emitted] static/js/75.0f026690f41772f36ee3.js 1.4 kB 75 [emitted] static/js/76.c15deb70de9737967f15.js 1.39 kB 76 [emitted] static/js/77.cebbd9c0636c82579c2a.js 2.62 kB 77 [emitted] static/js/78.19c5b8419c6486579841.js 1.39 kB 78 [emitted] static/js/79.15f4ebfc4d81dc64ffa1.js 1.5 kB 79 [emitted] static/js/80.6d7cad8b386ec4beb27f.js 1.41 kB 80 [emitted] static/js/81.5baac082938ceed6b533.js 1.4 kB 81 [emitted] static/js/82.559f2dfd996f98d9439b.js 1.38 kB 82 [emitted] static/js/83.b08c3c62012a24ab0ef9.js 1.4 kB 83 [emitted] static/js/84.dff1c059fbc90e2b2013.js 1.39 kB 84 [emitted] static/js/85.16af8fac5bebd86680b9.js 1.4 kB 85 [emitted] static/js/86.ccad13559d04c426bc6e.js 2.62 kB 86 [emitted] static/js/87.811553e2477a1e9e9f2d.js 2.08 kB 87 [emitted] static/js/88.6c124e86f9efa949f063.js 2.24 kB 88 [emitted] static/js/89.1f57b490b0e3521691ee.js 1.38 kB 89 [emitted] static/js/90.c2c803a3fbe4bc2323db.js 1.38 kB 90 [emitted] static/js/91.883d3d4d8203dd9fd533.js 1.4 kB 91 [emitted] static/js/92.0b5a6348d24882de2970.js 1.39 kB 92 [emitted] static/js/93.ce5dc0b823a68696aa9e.js 2.16 kB 93 [emitted] static/js/94.dc1348edd8b7cb705f4c.js 1.19 kB 94 [emitted] static/js/95.5c4e025b3eff06dd91c5.js 1.38 kB 95 [emitted] static/js/96.48a6cda8c3cfeb506ed0.js 1.4 kB 96 [emitted] static/js/97.e3a550cc706d4669629a.js 1.42 kB 97 [emitted] static/js/98.aa8e0b3a9554286dc576.js 5.22 kB 98 [emitted] static/js/99.89052dcad58156ec6b17.js 1.38 kB 99 [emitted] static/js/100.8ba0242378eb86a098d4.js 1.38 kB 100 [emitted] static/js/101.b0917a272f811e230208.js 1.4 kB 101 [emitted] static/js/102.23f861dafce5519fb713.js 1.4 kB 102 [emitted] static/js/103.451ea19429d92ac9a04f.js 1.4 kB 103 [emitted] static/js/104.8e639200014d989de62c.js 1.38 kB 104 [emitted] static/js/105.9d1e0e474e90f5c7245f.js 1.38 kB 105 [emitted] static/js/106.46f154c69c7e5484d349.js 1.38 kB 106 [emitted] static/js/107.e0f0732bd3c6e78c7524.js 1.4 kB 107 [emitted] static/js/108.c3c73c603e6e910a526f.js 1.39 kB 108 [emitted] static/js/109.be199adad3bf954e2c4f.js 1.4 kB 109 [emitted] static/js/110.e3d7ccc5681425cd2e76.js 1.38 kB 110 [emitted] static/js/111.132ac1715ef4abc89140.js 1.4 kB 111 [emitted] static/js/112.be2d3d50aad2e1c1c4f0.js 1.42 kB 112 [emitted] static/js/113.4fba617b231251817717.js 1.38 kB 113 [emitted] static/js/114.cfafc190d6761e263a3d.js 1.39 kB 114 [emitted] static/js/115.536d217e6146b5000bf9.js 1.38 kB 115 [emitted] static/js/116.bec67983620a15f71ef9.js 1.39 kB 116 [emitted] static/js/117.d89e557396b42dfbdd64.js 851 bytes 117 [emitted]☃001B[39m static/js/vendor.c0510378caa4cee184da.js 1.14 MB 118 [emitted] [big] vendor static/js/app.cc19bf7daedb92abedfc.js 147 kB 119 [emitted] app static/js/120.01e6cbf508914a445e76.js 669 kB 120 [emitted] [big] static/js/manifest.d3b4e441115e2989e34e.js 4.54 kB 121 [emitted] manifest static/styles/app.cb4aba3cdc20b788d4a06d43397ff6cf.css 204 kB 119 [emitted] app favicon.png 3.48 kB  [emitted] index.html 558 bytes  [emitted] Build complete. Tip: built files are meant to be served over an HTTP server. Opening index.html over file: // won't work. [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (deploy) [Pipeline] sh + pwd / var /jenkins_home/workspace/norway_ui_pc_develop [Pipeline] sh + ls 1.png Jenkinsfile LICENSE README.md build config dist favicon.ico favicon.png index.html jenkins node_modules package .json pen.png run_dev.bat src static test [Pipeline] sshPublisher SSH: Connecting from host [5c9cd7c9f6d6] SSH: Connecting with configuration [prod.9.23] ... SSH: Disconnecting configuration [prod.9.23] ... SSH: Transferred 2 file(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } $ docker stop --time=1 6b4fc4c52c127c7645a1a4459fb5332c8a9af00fe15bc5db939c8e42c4aa56d2 $ docker rm -f 6b4fc4c52c127c7645a1a4459fb5332c8a9af00fe15bc5db939c8e42c4aa56d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline Finished: SUCCESS

          joss.ji joss added a comment -

          My analysis should be my environment configuration problem
          I followed the steps of docker.io/doc.
          At present, the environment configuration of jenkins in the documentation seems to be basically not mentioned (for example, maven, git and other content configuration, can be directly called by wizard or docker, it is actually very convenient)
          Therefore, my configuration can be understood as blank (only a few places in ssh configuration, including jdk are not configured with global tools, will there be problems in this place)
          But if there is a problem with the configuration, how to build successfully, I call docker image nodejs to construct a successful one, indicating that the build part of the previous stage is normal.
          All I am confused

          joss.ji joss added a comment - My analysis should be my environment configuration problem I followed the steps of docker.io/doc. At present, the environment configuration of jenkins in the documentation seems to be basically not mentioned (for example, maven, git and other content configuration, can be directly called by wizard or docker, it is actually very convenient) Therefore, my configuration can be understood as blank (only a few places in ssh configuration, including jdk are not configured with global tools, will there be problems in this place) But if there is a problem with the configuration, how to build successfully, I call docker image nodejs to construct a successful one, indicating that the build part of the previous stage is normal. All I am confused

            jvz Matt Sicker
            jxy_joss joss.ji joss
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: