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

Regarding aws device farm error

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      publishers

      { archiveArtifacts { // If set, does not fail the build if archiving returns nothing. allowEmpty(true) // Uses default excludes. defaultExcludes(true) // Specifies files that will not be archived. exclude(null) // Fingerprints all archived artifacts. fingerprint(false) // Archives artifacts only if the build is successful. onlyIfSuccessful(false) // Specifies the files to archive. pattern(archiveArtifactPattern) }

      androidApkUpload {
      // Specifies filenames or patterns matching one or more APKs that should be uploaded to Google Play.
      apkFilesPattern(googlePlayApkPattern)
      // Specifies filenames or patterns matching zero or more expansion files that should be associated with the APK files being uploaded to Google Play.
      expansionFilesPattern(null)
      googleCredentialsId(googlePlayCredentialId)
      // You can optionally apply "What's new" text to the uploaded APK(s), in order to inform your user of changes contained in the new app version.
      recentChangeList{}
      // The percentage of existing production users to which the uploaded APK(s) should be rolled out.
      rolloutPercentage(null)
      // The release track to which the given APK file(s) will be assigned.
      trackName(googlePlayReleaseTrack)
      usePreviousExpansionFilesIfMissing(false)
      }
      awsDeviceFarmRecorder

      { projectName('BoilerPlate') devicePoolName('Test') appArtifact('example') runName('$ {BUILD_TAG}

      ')
      testToRun('example')
      storeResults(true)
      isRunUnmetered(true)
      eventCount('example')
      eventThrottle('example')
      seed('example')
      username('example')
      password('example')
      appiumJavaJUnitTest('example')
      appiumJavaTestNGTest('example')
      appiumPythonTest('example')
      calabashFeatures('example')
      calabashTags('example')
      calabashProfile('example')
      junitArtifact('example')
      junitFilter('example')
      uiautomatorArtifact('example')
      uiautomatorFilter('example')
      uiautomationArtifact('example')
      xctestArtifact('example')
      xctestUiArtifact('example')
      ignoreRunError(true)
      }
      mailer(emailList, false, true)
      }
      wrappers {
      maskPasswords()
      }
      }
      When I include below script in the dsl job configuration and try to build, I'm getting below error and There exists 'BoilerPlate' project , 'Test' device pool in aws device farm as I'm getting them in manual selection
      Building in workspace /var/jenkins_home/workspace/jobDSL
      Processing provided DSL script
      ERROR: (script, line 79) No signature of method: java.lang.String.call() is applicable for argument types: (java.lang.String) values: [BoilerPlate]
      Possible solutions: wait(), any(), wait(long), split(java.lang.String), take(int), each(groovy.lang.Closure)
      Finished: FAILURE

        Attachments

          Activity

          Hide
          daspilker Daniel Spilker added a comment -

          Provide a minimal script that reproduced the problem. Use markup to properly format the script so that it's human readable.

          Show
          daspilker Daniel Spilker added a comment - Provide a minimal script that reproduced the problem. Use markup to properly format the script so that it's human readable.

            People

            Assignee:
            daspilker Daniel Spilker
            Reporter:
            sunny Sanyasirao Mopada
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: