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

iOS slave # of executor error in pipeline as code

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • None

      Slave settings:

      • The # of executor set as 2.
      • The Launch Method is: Launch agent via execution of command on the master:
      ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null devops@my.macmini.com java -jar /Users/devops/slave.jar

      Cannot use launch slave agent via SSH, due to issue: https://issues.jenkins-ci.org/browse/JENKINS-26495

      • Details as below: 

       

      Job execution

      • multiple builds executed at the same time on same node:
      • Jenkins file:
      node ('ios') {
          stage ("Preparation") {
              // repo checkout
          }
          stage ("Build") {
              // npm install
              // npm run my-command
          }
      ...
      }

          [JENKINS-44267] iOS slave # of executor error in pipeline as code

          Marslo Jiao created issue -
          Marslo Jiao made changes -
          Description Original: h2. Slave settings:
           * The *# of executor* set as {{2}}.
           * The Launch Method is: *Launch agent via execution of command on the master*: {{ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null devops@my.macmini.com java -jar /Users/devops/slave.jar}}
          Cannot use *launch slave agent via SSH*, due to issue: https://issues.jenkins-ci.org/browse/JENKINS-26495

           * Details as below:  !pipeline-executor-2.png!

           
          h2. Job execution

          multiple builds executed at the same time on same nod

          !pipeline.png!
          New: h2. Slave settings:
           * The *# of executor* set as {{2}}.
           * The Launch Method is: *Launch agent via execution of command on the master*: +_{{ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null devops@my.macmini.com java -jar /Users/devops/slave.jar}}_+
           Cannot use *launch slave agent via SSH*, due to issue: https://issues.jenkins-ci.org/browse/JENKINS-26495

           * Details as below:  !pipeline-executor-2.png!

           
          h2. Job execution
           * multiple builds executed at the same time on same node:
           * !pipeline.png!
          Marslo Jiao made changes -
          Description Original: h2. Slave settings:
           * The *# of executor* set as {{2}}.
           * The Launch Method is: *Launch agent via execution of command on the master*: +_{{ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null devops@my.macmini.com java -jar /Users/devops/slave.jar}}_+
           Cannot use *launch slave agent via SSH*, due to issue: https://issues.jenkins-ci.org/browse/JENKINS-26495

           * Details as below:  !pipeline-executor-2.png!

           
          h2. Job execution
           * multiple builds executed at the same time on same node:
           * !pipeline.png!
          New: h2. Slave settings:
           * The *# of executor* set as {{2}}.
           * The Launch Method is: *Launch agent via execution of command on the master*:

          {code:java}
          ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null devops@my.macmini.com java -jar /Users/devops/slave.jar{code}
          Cannot use *launch slave agent via SSH*, due to issue: https://issues.jenkins-ci.org/browse/JENKINS-26495

           * Details as below:  !pipeline-executor-2.png!

           
          h2. Job execution
           * multiple builds executed at the same time on same node:
          !pipeline.png!
           * Jenkins file:

          {code:java}
          node ('ios') {
              stage ("Preparation") {

                 
                  // repo checkout

              }
              stage ("Build") {
                  // npm install
                  // npm run my-command

              }
          ...
          }{code}
          Marslo Jiao made changes -
          Description Original: h2. Slave settings:
           * The *# of executor* set as {{2}}.
           * The Launch Method is: *Launch agent via execution of command on the master*:

          {code:java}
          ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null devops@my.macmini.com java -jar /Users/devops/slave.jar{code}
          Cannot use *launch slave agent via SSH*, due to issue: https://issues.jenkins-ci.org/browse/JENKINS-26495

           * Details as below:  !pipeline-executor-2.png!

           
          h2. Job execution
           * multiple builds executed at the same time on same node:
          !pipeline.png!
           * Jenkins file:

          {code:java}
          node ('ios') {
              stage ("Preparation") {

                 
                  // repo checkout

              }
              stage ("Build") {
                  // npm install
                  // npm run my-command

              }
          ...
          }{code}
          New: h2. Slave settings:
           * The *# of executor* set as {{2}}.
           * The Launch Method is: *Launch agent via execution of command on the master*:

          {code:java}
          ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null devops@my.macmini.com java -jar /Users/devops/slave.jar{code}
          Cannot use *launch slave agent via SSH*, due to issue: https://issues.jenkins-ci.org/browse/JENKINS-26495
           * Details as below:  !pipeline-executor-2.png!

           
          h2. Job execution
           * multiple builds executed at the same time on same node:
           !pipeline.png!
           * Jenkins file:

          {code:java}
          node ('ios') {
              stage ("Preparation") {
                  // repo checkout
              }
              stage ("Build") {
                  // npm install
                  // npm run my-command
              }
          ...
          }{code}
          Oleg Nenashev made changes -
          Summary Original: iOS salve # of executor error in pipeline as code New: iOS slave # of executor error in pipeline as code
          Oleg Nenashev made changes -
          Component/s New: command-launcher-plugin [ 23169 ]
          Component/s Original: slave-utilization-plugin [ 17575 ]
          Oleg Nenashev made changes -
          Component/s New: core [ 15593 ]

            Unassigned Unassigned
            marslo Marslo Jiao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: