{"action":"created","issue":{"url":"https://api.github.com/repos/jenkinsci/azure-app-service-plugin/issues/43","repository_url":"https://api.github.com/repos/jenkinsci/azure-app-service-plugin","labels_url":"https://api.github.com/repos/jenkinsci/azure-app-service-plugin/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/jenkinsci/azure-app-service-plugin/issues/43/comments","events_url":"https://api.github.com/repos/jenkinsci/azure-app-service-plugin/issues/43/events","html_url":"https://github.com/jenkinsci/azure-app-service-plugin/issues/43","id":358401477,"node_id":"MDU6SXNzdWUzNTg0MDE0Nzc=","number":43,"title":"Parameterizing is giving error message","user":{"login":"tanvirahmed2707","id":6347928,"node_id":"MDQ6VXNlcjYzNDc5Mjg=","avatar_url":"https://avatars3.githubusercontent.com/u/6347928?v=4","gravatar_id":"","url":"https://api.github.com/users/tanvirahmed2707","html_url":"https://github.com/tanvirahmed2707","followers_url":"https://api.github.com/users/tanvirahmed2707/followers","following_url":"https://api.github.com/users/tanvirahmed2707/following{/other_user}","gists_url":"https://api.github.com/users/tanvirahmed2707/gists{/gist_id}","starred_url":"https://api.github.com/users/tanvirahmed2707/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tanvirahmed2707/subscriptions","organizations_url":"https://api.github.com/users/tanvirahmed2707/orgs","repos_url":"https://api.github.com/users/tanvirahmed2707/repos","events_url":"https://api.github.com/users/tanvirahmed2707/events{/privacy}","received_events_url":"https://api.github.com/users/tanvirahmed2707/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-09-09T18:52:18Z","updated_at":"2018-09-11T01:29:31Z","closed_at":null,"author_association":"NONE","body":"I keep on getting the following error message whenever I'm trying to use this in the pipeline and with a Jenkinsfile variable.  This works just fine when hardcode the values.  I'm using Jenkins version 2.138, app service plugin version 0.3.1 on a Windows machine. \r\n\r\n--- MY CODE-\r\n\r\nazureWebAppPublish appName: \"${appName}\", azureCredentialsId: \"SOMEID\", resourceGroup: \"${rgName}\", slotName: \"${slotName}\"\r\n\r\n--- ERROR — \r\n\r\njava.util.NoSuchElementException: Sequence contains no elements\r\n\tat rx.internal.operators.OperatorSingle$ParentSubscriber.onCompleted(OperatorSingle.java:115)\r\n\tat rx.internal.operators.DeferredScalarSubscriber.complete(DeferredScalarSubscriber.java:83)\r\n\tat rx.internal.operators.OnSubscribeTakeLastOne$TakeLastOneSubscriber.onCompleted(OnSubscribeTakeLastOne.java:55)\r\n\tat rx.internal.operators.OperatorMerge$MergeSubscriber.emitLoop(OperatorMerge.java:656)\r\n\tat rx.internal.operators.OperatorMerge$MergeSubscriber.emit(OperatorMerge.java:568)\r\n\tat rx.internal.operators.OperatorMerge$MergeSubscriber.onCompleted(OperatorMerge.java:281)\r\n\tat rx.internal.operators.OnSubscribeMap$MapSubscriber.onCompleted(OnSubscribeMap.java:97)\r\n\tat rx.internal.operators.OnSubscribeMap$MapSubscriber.onCompleted(OnSubscribeMap.java:97)\r\n\tat rx.internal.operators.OperatorMerge$MergeSubscriber.emitLoop(OperatorMerge.java:656)\r\n\tat rx.internal.operators.OperatorMerge$MergeSubscriber.emit(OperatorMerge.java:568)\r\n\tat rx.internal.operators.OperatorMerge$MergeSubscriber.onCompleted(OperatorMerge.java:281)\r\n\tat rx.internal.operators.OnSubscribeMap$MapSubscriber.onCompleted(OnSubscribeMap.java:97)\r\n\tat retrofit2.adapter.rxjava.RxJavaCallAdapterFactory$RequestArbiter.request(RxJavaCallAdapterFactory.java:184)\r\n\tat rx.Subscriber.setProducer(Subscriber.java:211)\r\n\tat rx.internal.operators.OnSubscribeMap$MapSubscriber.setProducer(OnSubscribeMap.java:102)\r\n\tat retrofit2.adapter.rxjava.RxJavaCallAdapterFactory$CallOnSubscribe.call(RxJavaCallAdapterFactory.java:152)\r\n\tat retrofit2.adapter.rxjava.RxJavaCallAdapterFactory$CallOnSubscribe.call(RxJavaCallAdapterFactory.java:138)\r\n\tat rx.Observable.unsafeSubscribe(Observable.java:10142)\r\n\tat rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:48)\r\n\tat rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:33)\r\n\tat rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48)\r\n\tat rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)\r\n\tat rx.Observable.unsafeSubscribe(Observable.java:10142)\r\n\tat rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:48)\r\n\tat rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:33)\r\n\tat rx.Observable.unsafeSubscribe(Observable.java:10142)\r\n\tat rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:48)\r\n\tat rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:33)\r\n\tat rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48)\r\n\tat rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)\r\n\tat rx.Observable.unsafeSubscribe(Observable.java:10142)\r\n\tat rx.internal.operators.DeferredScalarSubscriber.subscribeTo(DeferredScalarSubscriber.java:153)\r\n\tat rx.internal.operators.OnSubscribeTakeLastOne.call(OnSubscribeTakeLastOne.java:32)\r\n\tat rx.internal.operators.OnSubscribeTakeLastOne.call(OnSubscribeTakeLastOne.java:22)\r\n\tat rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48)\r\n\tat rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)\r\n\tat rx.Observable.subscribe(Observable.java:10238)\r\n\tat rx.Observable.subscribe(Observable.java:10205)\r\n\tat rx.observables.BlockingObservable.blockForSingle(BlockingObservable.java:444)\r\n\tat rx.observables.BlockingObservable.last(BlockingObservable.java:227)\r\n\tat com.microsoft.azure.management.resources.fluentcore.arm.collection.implementation.GroupableResourcesImpl.getByResourceGroup(GroupableResourcesImpl.java:110)\r\n\tat com.microsoft.azure.management.resources.fluentcore.arm.collection.implementation.GroupableResourcesImpl.getByResourceGroup(GroupableResourcesImpl.java:34)\r\n\tat com.microsoft.jenkins.appservice.WebAppDeploymentRecorder.perform(WebAppDeploymentRecorder.java:171)\r\n\tat org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:80)\r\n\tat org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:67)\r\n\tat org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution$1$1.call(SynchronousNonBlockingStepExecution.java:50)\r\n\tat hudson.security.ACL.impersonate(ACL.java:290)\r\n\tat org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution$1.run(SynchronousNonBlockingStepExecution.java:47)\r\n\tat java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)\r\n\tat java.util.concurrent.FutureTask.run(Unknown Source)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)\r\n\tat java.lang.Thread.run(Unknown Source)\r\nFinished: FAILURE"},"comment":{"url":"https://api.github.com/repos/jenkinsci/azure-app-service-plugin/issues/comments/420115208","html_url":"https://github.com/jenkinsci/azure-app-service-plugin/issues/43#issuecomment-420115208","issue_url":"https://api.github.com/repos/jenkinsci/azure-app-service-plugin/issues/43","id":420115208,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMDExNTIwOA==","user":{"login":"gavinfish","id":6169722,"node_id":"MDQ6VXNlcjYxNjk3MjI=","avatar_url":"https://avatars2.githubusercontent.com/u/6169722?v=4","gravatar_id":"","url":"https://api.github.com/users/gavinfish","html_url":"https://github.com/gavinfish","followers_url":"https://api.github.com/users/gavinfish/followers","following_url":"https://api.github.com/users/gavinfish/following{/other_user}","gists_url":"https://api.github.com/users/gavinfish/gists{/gist_id}","starred_url":"https://api.github.com/users/gavinfish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gavinfish/subscriptions","organizations_url":"https://api.github.com/users/gavinfish/orgs","repos_url":"https://api.github.com/users/gavinfish/repos","events_url":"https://api.github.com/users/gavinfish/events{/privacy}","received_events_url":"https://api.github.com/users/gavinfish/received_events","type":"User","site_admin":false},"created_at":"2018-09-11T01:29:31Z","updated_at":"2018-09-11T01:29:31Z","author_association":"COLLABORATOR","body":"The error indicates that the client cannot find the web app by your provided parameters. Please check if there is a web app named `appName` in `rgName`, and whether it is under the same subscription with the `azureCredentialsId`."}}
{"actor":{"display_login":"gavinfish"}}