• Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Critical Critical
    • amazon-ecs-plugin
    • None

      When my jnlp-slave terminated, I got the following error while the whole process was successful.

       
      Completed 282.4 MiB/282.4 MiB (6.2 MiB/s) with 1 file(s) remaining
      Completed 282.4 MiB/282.4 MiB (5.5 MiB/s) with 1 file(s) remaining
      upload: ../../../../var/jenkins_home/war/images/32x32/disabled_anime.gif to s3://jenkins-home.nl.com/war/images/32x32/disabled_anime.gif
      [Pipeline] }
      [Pipeline] // stage
      [Pipeline] }
      [Pipeline] // node
      [Pipeline] End of Pipeline
      ERROR: script returned exit code 2
      Finished
      : FAILURE

          [JENKINS-43558] cannot detach volume automatically

          Fei Yao added a comment -

          In the ECS Slave template I defined the following at Advanced/Container Mount Points:

          Name: efs-jenkins

          Source Path: /mnt/efs

          Container Path: /var/jenkins_home

          Fei Yao added a comment - In the ECS Slave template I defined the following at Advanced/Container Mount Points: Name: efs-jenkins Source Path: /mnt/efs Container Path: /var/jenkins_home

          Jae Choi added a comment -

          fei75 how did you manage to get Jenkins Pipeline and ECS Plugin working? Are you able to share a DSL example?

           

          Thanks,

          Jae

          Jae Choi added a comment - fei75 how did you manage to get Jenkins Pipeline and ECS Plugin working? Are you able to share a DSL example?   Thanks, Jae

          Fei Yao added a comment -

          Jae,
          I guess it less of Pipeline and more of ECS setup. I imagine it shouldn't be any different than stand-alone instead of container. Are you running your Jenkins in AWS as EC2 or ECS?

          Fei Yao added a comment - Jae, I guess it less of Pipeline and more of ECS setup. I imagine it shouldn't be any different than stand-alone instead of container. Are you running your Jenkins in AWS as EC2 or ECS?

          Jae Choi added a comment -

          Hi fei75 I'm running Jenkins master on ECS

          Jae Choi added a comment - Hi fei75 I'm running Jenkins master on ECS

            roehrijn2 Jan Roehrich
            fei75 Fei Yao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: